Skip to content

Commit

Permalink
Merge pull request #57 from wri-dssg/#49-set-up-a-binary-classifier
Browse files Browse the repository at this point in the history
Binary classifier using SBERT and other classifiers
  • Loading branch information
Jordi Planas committed Feb 11, 2021
2 parents 2c8c856 + 22ea9b3 commit 1aeffc0
Show file tree
Hide file tree
Showing 161 changed files with 2,412 additions and 7,249 deletions.

Large diffs are not rendered by default.

577 changes: 577 additions & 0 deletions tasks/evaluate_model/notebooks/Plot_F1.ipynb

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions tasks/evaluate_model/notebooks/avg-f1-results-compilation.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
,Experiment number,model,f1-score,epochs,test_perc
0,13,paraphrase-xlm-r-multilingual-v1,0.5,6,0.15
1,14,paraphrase-xlm-r-multilingual-v1,0.52,8,0.3
2,15,paraphrase-xlm-r-multilingual-v1,0.58,10,0.2
3,12,paraphrase-xlm-r-multilingual-v1,0.72,6,0.2
4,10,paraphrase-xlm-r-multilingual-v1,0.75,10,0.3
5,11,paraphrase-xlm-r-multilingual-v1,0.67,8,0.25
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
,Experiment number,model,f1-score,epochs,test_perc
0,13,paraphrase-xlm-r-multilingual-v1,0.4,6,0.15
1,14,paraphrase-xlm-r-multilingual-v1,0.48,8,0.3
2,15,paraphrase-xlm-r-multilingual-v1,0.65,10,0.2
3,12,paraphrase-xlm-r-multilingual-v1,0.71,8,0.2
4,10,paraphrase-xlm-r-multilingual-v1,0.82,10,0.3
5,11,paraphrase-xlm-r-multilingual-v1,0.66,8,0.25
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions tasks/evaluate_model/output/avg-f1-results-compilation.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
,Experiment number,model,f1-score,epochs,test_perc
0,0,paraphrase-xlm-r-multilingual-v1,0.59,8,0.15
1,1,paraphrase-xlm-r-multilingual-v1,0.57,4,0.15
2,3,paraphrase-xlm-r-multilingual-v1,0.55,6,0.3
3,4,stsb-xlm-r-multilingual,0.72,4,0.3
4,5,paraphrase-xlm-r-multilingual-v1,0.51,8,0.15
5,2,paraphrase-xlm-r-multilingual-v1,0.79,10,0.25
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
,Experiment number,model,f1-score,epochs,test_perc
0,13,paraphrase-xlm-r-multilingual-v1,0.4,6,0.15
1,14,paraphrase-xlm-r-multilingual-v1,0.48,8,0.3
2,15,paraphrase-xlm-r-multilingual-v1,0.65,10,0.2
3,12,paraphrase-xlm-r-multilingual-v1,0.71,8,0.2
4,10,paraphrase-xlm-r-multilingual-v1,0.82,10,0.3
5,11,paraphrase-xlm-r-multilingual-v1,0.66,8,0.25
1 change: 1 addition & 0 deletions tasks/fine-tuning BERT/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Empty file.
Empty file.
1,128 changes: 1,128 additions & 0 deletions tasks/incentive_classifier/notebooks/BinaryClassifierGoogleColab.ipynb

Large diffs are not rendered by default.

Empty file.

0 comments on commit 1aeffc0

Please sign in to comment.