Skip to content

Commit

Permalink
Cleaning Predictions into one Folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrojlazevedo committed Feb 24, 2020
1 parent 7a84b15 commit 525e50d
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

nlp = spacy.load('en_core_web_lg')

test_file = "data/shared_task_dev_public_relevant_docs.jsonl"
results_file = "predictions_dev.jsonl"
test_file = "data/dev.jsonl"
results_file = "predictions/predictions_dev_sanity.jsonl"

wiki_dir = 'data/wiki-pages/wiki-pages'
wiki_split_docs_dir = "data/wiki-pages/wiki-pages-split"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion read_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
train_file = "data/train.jsonl"
test_file = "data/shared_task_dev_public.jsonl"
dev_file = "data/dev.jsonl"
results_file = "predictions.jsonl"
results_file = "predictions/predictions.jsonl"

wiki_dir = 'data/wiki-pages/wiki-pages'
wiki_split_docs_dir = "data/wiki-pages/wiki-pages-split"
Expand Down
2 changes: 1 addition & 1 deletion train_label_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def predict_test(predictions_test,entailment_predictions_test,new_predictions_fi

predictions_train = "predictions_train.jsonl"
predictions_test = "predictions.jsonl"
new_predictions_file = "new_predictions.jsonl"
new_predictions_file = "predictions/new_predictions.jsonl"

gold_train = "data/subsample_train_relevant_docs.jsonl"
entailment_predictions_train = "rte/entailment_predictions_train"
Expand Down

0 comments on commit 525e50d

Please sign in to comment.