google/xtreme
Viewer β’ Updated β’ 2.77M β’ 29.7k β’ 119
How to use BK-V/xlm-roberta-base-finetuned-arman-fa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="BK-V/xlm-roberta-base-finetuned-arman-fa") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("BK-V/xlm-roberta-base-finetuned-arman-fa")
model = AutoModelForTokenClassification.from_pretrained("BK-V/xlm-roberta-base-finetuned-arman-fa", device_map="auto")This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| 0.1054 | 1.0 | 2305 | 0.0497 | 0.8548 |
| 0.0419 | 2.0 | 4610 | 0.0339 | 0.8834 |
| 0.0185 | 3.0 | 6915 | 0.0159 | 0.9626 |
| 0.0068 | 4.0 | 9220 | 0.0103 | 0.9789 |
| 0.0025 | 5.0 | 11525 | 0.0077 | 0.9855 |