Text Classification
Transformers
PyTorch
bert
Issue_fixed
textattack
textclassification
entailment
text-embeddings-inference
Instructions to use chromeNLP/textattack_bert_base_MNLI_fixed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chromeNLP/textattack_bert_base_MNLI_fixed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chromeNLP/textattack_bert_base_MNLI_fixed")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("chromeNLP/textattack_bert_base_MNLI_fixed") model = AutoModelForSequenceClassification.from_pretrained("chromeNLP/textattack_bert_base_MNLI_fixed") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- Issue_fixed
|
| 4 |
+
- textattack
|
| 5 |
+
- textclassification
|
| 6 |
+
- entailment
|
| 7 |
+
license: mit
|
| 8 |
+
datasets:
|
| 9 |
+
- mnli
|
| 10 |
+
|
| 11 |
+
metrics:
|
| 12 |
+
- accuracy
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
Fixed label mapping issue for textattack/bert-base-uncased-MNLI, if using the original model, the predicted label has systematic confusion with the huggingface MNLI dataset. See the Github issue: https://github.com/QData/TextAttack/issues/684
|