Skip to content

Commit

Permalink
add pred result
Browse files Browse the repository at this point in the history
  • Loading branch information
truonghm committed Sep 21, 2023
1 parent fe4b294 commit 47b1c36
Show file tree
Hide file tree
Showing 2 changed files with 2,058 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/codebert-bimodal/inference.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
python lib/codebert-bimodal/run_classifier.py \
--model_type roberta \
--do_predict \
--test_file test_set_new.jsonl \
--max_seq_length 200 \
--per_gpu_eval_batch_size 2 \
--data_dir ./data/exp \
--output_dir ./models/checkpoint-best-aver/ \
--encoder_name_or_path microsoft/codebert-base \
--pred_model_dir ./models/checkpoint-last/ \
--prediction_file .logs/predictions_codebert_bimodal.txt
Loading

0 comments on commit 47b1c36

Please sign in to comment.