Instructions to use MM2157/BERT_token_classification_AraEval24_aug800 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MM2157/BERT_token_classification_AraEval24_aug800 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="MM2157/BERT_token_classification_AraEval24_aug800")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("MM2157/BERT_token_classification_AraEval24_aug800") model = AutoModelForTokenClassification.from_pretrained("MM2157/BERT_token_classification_AraEval24_aug800", device_map="auto") - Notebooks
- Google Colab
- Kaggle
BERT_token_classification_AraEval24_aug800
This model is a fine-tuned version of bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.5875
- Precision: 0.0410
- Recall: 0.0528
- F1: 0.0462
- Accuracy: 0.7097
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: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.6808 | 1.0 | 1839 | 1.0655 | 0.0257 | 0.0169 | 0.0204 | 0.7448 |
| 0.3777 | 2.0 | 3678 | 1.2309 | 0.0273 | 0.0234 | 0.0252 | 0.7075 |
| 0.2877 | 3.0 | 5517 | 1.2290 | 0.0383 | 0.0383 | 0.0383 | 0.7303 |
| 0.2232 | 4.0 | 7356 | 1.2724 | 0.0454 | 0.0458 | 0.0456 | 0.7317 |
| 0.19 | 5.0 | 9195 | 1.2874 | 0.0422 | 0.0448 | 0.0435 | 0.7337 |
| 0.1594 | 6.0 | 11034 | 1.3996 | 0.0412 | 0.0413 | 0.0413 | 0.7146 |
| 0.1438 | 7.0 | 12873 | 1.4436 | 0.0376 | 0.0403 | 0.0389 | 0.7128 |
| 0.131 | 8.0 | 14712 | 1.5348 | 0.0410 | 0.0528 | 0.0462 | 0.7001 |
| 0.1177 | 9.0 | 16551 | 1.5470 | 0.0407 | 0.0513 | 0.0454 | 0.7066 |
| 0.0935 | 10.0 | 18390 | 1.5875 | 0.0410 | 0.0528 | 0.0462 | 0.7097 |
Framework versions
- Transformers 4.30.2
- Pytorch 1.12.1
- Datasets 2.13.2
- Tokenizers 0.13.3
- Downloads last month
- 8