Instructions to use Uriath/xphonebert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Uriath/xphonebert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Uriath/xphonebert")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Uriath/xphonebert") model = AutoModelForTokenClassification.from_pretrained("Uriath/xphonebert") - Notebooks
- Google Colab
- Kaggle
XPHONEBERT-NER
This model is a fine-tuned version of vinai/xphonebert-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.5400
- Precision: 0.5557
- Recall: 0.5523
- F1: 0.5540
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: 5e-05
- train_batch_size: 16
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- 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
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
|---|---|---|---|---|---|---|
| 1.9216 | 1.0 | 604 | 0.6687 | 0.4939 | 0.3019 | 0.3747 |
| 1.4178 | 2.0 | 1208 | 0.5555 | 0.4973 | 0.4494 | 0.4721 |
| 1.1165 | 3.0 | 1812 | 0.5013 | 0.5371 | 0.5024 | 0.5192 |
| 0.9225 | 4.0 | 2416 | 0.4869 | 0.5656 | 0.5171 | 0.5403 |
| 0.7698 | 5.0 | 3020 | 0.5324 | 0.5504 | 0.5383 | 0.5443 |
| 0.6454 | 6.0 | 3624 | 0.5081 | 0.5705 | 0.5366 | 0.5530 |
| 0.5456 | 7.0 | 4228 | 0.5395 | 0.5593 | 0.5455 | 0.5523 |
| 0.4819 | 8.0 | 4832 | 0.5400 | 0.5557 | 0.5523 | 0.5540 |
Framework versions
- Transformers 5.10.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 20
Model tree for Uriath/xphonebert
Base model
vinai/xphonebert-base