Text Classification
Transformers
PyTorch
Catalan
roberta
catalan
paraphrase
textual entailment
Eval Results (legacy)
text-embeddings-inference
Instructions to use projecte-aina/roberta-large-ca-paraphrase with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use projecte-aina/roberta-large-ca-paraphrase with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="projecte-aina/roberta-large-ca-paraphrase")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("projecte-aina/roberta-large-ca-paraphrase") model = AutoModelForSequenceClassification.from_pretrained("projecte-aina/roberta-large-ca-paraphrase") - Notebooks
- Google Colab
- Kaggle
Commit ·
7453d3b
1
Parent(s): 76a0219
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 1024,
|
| 14 |
"id2label": {
|
| 15 |
-
|
| 16 |
-
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"intermediate_size": 4096,
|
|
|
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 1024,
|
| 14 |
"id2label": {
|
| 15 |
+
0: "No Parafrasis",
|
| 16 |
+
1: "Parafrasis"
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"intermediate_size": 4096,
|