Instructions to use Prompsit/paraphrase-roberta-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Prompsit/paraphrase-roberta-es with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Prompsit/paraphrase-roberta-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Prompsit/paraphrase-roberta-es") model = AutoModelForSequenceClassification.from_pretrained("Prompsit/paraphrase-roberta-es") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -61,6 +61,16 @@ We have used as test dataset 16500 pairs of phrases human tagged.
|
|
| 61 |
Metrics obtained are:
|
| 62 |
|
| 63 |
```
|
| 64 |
-
metrics={
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
```
|
|
|
|
| 61 |
Metrics obtained are:
|
| 62 |
|
| 63 |
```
|
| 64 |
+
metrics={
|
| 65 |
+
'test_loss': 0.4869941473007202,
|
| 66 |
+
'test_accuracy': 0.8003636363636364,
|
| 67 |
+
'test_precision': 0.6692456479690522,
|
| 68 |
+
'test_recall': 0.5896889646357052,
|
| 69 |
+
'test_f1': 0.6269535673839184,
|
| 70 |
+
'test_matthews_correlation': 0.49324489316659575,
|
| 71 |
+
'test_runtime': 27.1537,
|
| 72 |
+
'test_samples_per_second': 607.652,
|
| 73 |
+
'test_steps_per_second': 19.003
|
| 74 |
+
}
|
| 75 |
|
| 76 |
```
|