This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update RoBERTa SNLI/MNLI models (#102)
* update RoBERTa SNLI/MNLI models * fix names * update training configs * update CHANGELOG * more doc fixes * rename textual entailment predictor, add load_predictor method * update pretrained test * move 'load_predictor' to pretrained * remove that
- Loading branch information
Showing
12 changed files
with
90 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
allennlp_models/modelcards/pair-classification-decomposable-attention-roberta-mnli.json
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
allennlp_models/modelcards/pair-classification-decomposable-attention-roberta-snli.json
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
allennlp_models/modelcards/pair-classification-roberta-mnli.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "pair-classification-roberta-mnli", | ||
"registered_model_name": "basic_classifier", | ||
"registered_predictor_name": "textual_entailment", | ||
"display_name": "RoBERTa MNLI", | ||
"archive_file": "mnli-roberta-2020-07-29.tar.gz", | ||
"model_details": { | ||
"paper": "https://www.semanticscholar.org/paper/RoBERTa%3A-A-Robustly-Optimized-BERT-Pretraining-Liu-Ott/077f8329a7b6fa3b7c877a57b81eb6c18b5f87de#paper-header" | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
allennlp_models/modelcards/pair-classification-roberta-snli.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "pair-classification-roberta-snli", | ||
"registered_model_name": "basic_classifier", | ||
"registered_predictor_name": "textual_entailment", | ||
"display_name": "RoBERTa SNLI", | ||
"archive_file": "snli-roberta-2020-07-29.tar.gz", | ||
"model_details": { | ||
"paper": "https://www.semanticscholar.org/paper/RoBERTa%3A-A-Robustly-Optimized-BERT-Pretraining-Liu-Ott/077f8329a7b6fa3b7c877a57b81eb6c18b5f87de#paper-header" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from allennlp_models.pair_classification.predictors.decomposable_attention import ( | ||
DecomposableAttentionPredictor, | ||
from allennlp_models.pair_classification.predictors.textual_entailment import ( | ||
TextualEntailmentPredictor, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters