yoruba-english-code-switching-lid
Browse files- README.md +74 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: afl-3.0
|
| 4 |
+
base_model: masakhane/afroxlmr-large-ner-masakhaner-1.0_2.0
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
- accuracy
|
| 12 |
+
model-index:
|
| 13 |
+
- name: yoruba-en-ner-model
|
| 14 |
+
results: []
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 18 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 19 |
+
|
| 20 |
+
# yoruba-en-ner-model
|
| 21 |
+
|
| 22 |
+
This model is a fine-tuned version of [masakhane/afroxlmr-large-ner-masakhaner-1.0_2.0](https://huggingface.co/masakhane/afroxlmr-large-ner-masakhaner-1.0_2.0) on the None dataset.
|
| 23 |
+
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.0212
|
| 25 |
+
- Precision: 0.9907
|
| 26 |
+
- Recall: 0.9906
|
| 27 |
+
- F1: 0.9907
|
| 28 |
+
- Accuracy: 0.9956
|
| 29 |
+
|
| 30 |
+
## Model description
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Intended uses & limitations
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training and evaluation data
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Training procedure
|
| 43 |
+
|
| 44 |
+
### Training hyperparameters
|
| 45 |
+
|
| 46 |
+
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 3e-05
|
| 48 |
+
- train_batch_size: 64
|
| 49 |
+
- eval_batch_size: 128
|
| 50 |
+
- seed: 42
|
| 51 |
+
- gradient_accumulation_steps: 2
|
| 52 |
+
- total_train_batch_size: 128
|
| 53 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 54 |
+
- lr_scheduler_type: cosine
|
| 55 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 56 |
+
- num_epochs: 5
|
| 57 |
+
|
| 58 |
+
### Training results
|
| 59 |
+
|
| 60 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 61 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 62 |
+
| 0.1158 | 1.0 | 626 | 0.0240 |
|
| 63 |
+
| 0.015 | 2.0 | 1252 | 0.0259 |
|
| 64 |
+
| 0.0094 | 3.0 | 1878 | 0.0304 |
|
| 65 |
+
| 0.0033 | 4.0 | 2504 | 0.0354 |
|
| 66 |
+
| 0.002 | 5.0 | 3130 | 0.0377 |
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
### Framework versions
|
| 70 |
+
|
| 71 |
+
- Transformers 4.57.6
|
| 72 |
+
- Pytorch 2.9.0+cu126
|
| 73 |
+
- Datasets 4.0.0
|
| 74 |
+
- Tokenizers 0.22.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2235424156
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d863ba06f660ffaa1f5960116220e6a67244b4b0ab84ca66c2a3e9b124bfc191
|
| 3 |
size 2235424156
|