Instructions to use aluha501/xlm-roberta-product-extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aluha501/xlm-roberta-product-extractor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="aluha501/xlm-roberta-product-extractor")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("aluha501/xlm-roberta-product-extractor") model = AutoModelForTokenClassification.from_pretrained("aluha501/xlm-roberta-product-extractor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlm-roberta-product-extractor
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.1909
- Precision: 0.4565
- Recall: 0.6495
- F1: 0.5362
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 3e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 8
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
|---|---|---|---|---|---|---|
| 0.297 | 1.0 | 53 | 0.1842 | 0.0 | 0.0 | 0.0 |
| 0.1518 | 2.0 | 106 | 0.1840 | 0.1545 | 0.3918 | 0.2216 |
| 0.1313 | 3.0 | 159 | 0.1439 | 0.224 | 0.2887 | 0.2523 |
| 0.0979 | 4.0 | 212 | 0.1384 | 0.2857 | 0.4948 | 0.3623 |
| 0.0842 | 5.0 | 265 | 0.1641 | 0.3119 | 0.6495 | 0.4214 |
| 0.0671 | 6.0 | 318 | 0.1660 | 0.3797 | 0.6186 | 0.4706 |
| 0.0576 | 7.0 | 371 | 0.1786 | 0.4388 | 0.6289 | 0.5169 |
| 0.0461 | 8.0 | 424 | 0.1909 | 0.4565 | 0.6495 | 0.5362 |
Framework versions
- Transformers 4.57.3
- Pytorch 2.8.0+cu128
- Datasets 4.3.0
- Tokenizers 0.22.1
- Downloads last month
- 10
Model tree for aluha501/xlm-roberta-product-extractor
Base model
FacebookAI/xlm-roberta-base