Text Classification
Transformers
PyTorch
TensorFlow
JAX
Safetensors
English
roberta
autogenerated-modelcard
text-embeddings-inference
Instructions to use FacebookAI/roberta-large-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FacebookAI/roberta-large-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FacebookAI/roberta-large-mnli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("FacebookAI/roberta-large-mnli") model = AutoModelForSequenceClassification.from_pretrained("FacebookAI/roberta-large-mnli") - Inference
- Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -0
config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"attention_probs_dropout_prob": 0.1,
|
| 3 |
"finetuning_task": null,
|
| 4 |
"hidden_act": "gelu",
|
|
|
|
| 1 |
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"RobertaForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"finetuning_task": null,
|
| 7 |
"hidden_act": "gelu",
|