Instructions to use nattkorat/trigger_id with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nattkorat/trigger_id with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="nattkorat/trigger_id")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("nattkorat/trigger_id") model = AutoModelForTokenClassification.from_pretrained("nattkorat/trigger_id", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +20 -15
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -21,11 +21,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
-
- Loss: 0.
|
| 25 |
- Accuracy: 0.9702
|
| 26 |
-
- Precision: 0.
|
| 27 |
-
- Recall: 0.
|
| 28 |
-
- F1: 0.
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
@@ -45,27 +45,32 @@ More information needed
|
|
| 45 |
|
| 46 |
The following hyperparameters were used during training:
|
| 47 |
- learning_rate: 2e-05
|
| 48 |
-
- train_batch_size:
|
| 49 |
-
- eval_batch_size:
|
| 50 |
- seed: 42
|
| 51 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 52 |
- lr_scheduler_type: linear
|
| 53 |
-
- num_epochs:
|
| 54 |
|
| 55 |
### Training results
|
| 56 |
|
| 57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 59 |
-
| No log | 1.0 |
|
| 60 |
-
| No log | 2.0 |
|
| 61 |
-
| No log | 3.0 |
|
| 62 |
-
| No log | 4.0 |
|
| 63 |
-
| No log | 5.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
| 67 |
|
| 68 |
-
- Transformers 4.
|
| 69 |
- Pytorch 2.7.1+cu126
|
| 70 |
-
- Datasets
|
| 71 |
-
- Tokenizers 0.21.
|
|
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.1043
|
| 25 |
- Accuracy: 0.9702
|
| 26 |
+
- Precision: 0.6321
|
| 27 |
+
- Recall: 0.6680
|
| 28 |
+
- F1: 0.6496
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
|
|
| 45 |
|
| 46 |
The following hyperparameters were used during training:
|
| 47 |
- learning_rate: 2e-05
|
| 48 |
+
- train_batch_size: 32
|
| 49 |
+
- eval_batch_size: 32
|
| 50 |
- seed: 42
|
| 51 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 52 |
- lr_scheduler_type: linear
|
| 53 |
+
- num_epochs: 10
|
| 54 |
|
| 55 |
### Training results
|
| 56 |
|
| 57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 59 |
+
| No log | 1.0 | 26 | 0.1939 | 0.9458 | 0.0 | 0.0 | 0.0 |
|
| 60 |
+
| No log | 2.0 | 52 | 0.1404 | 0.9584 | 0.6675 | 0.5381 | 0.5958 |
|
| 61 |
+
| No log | 3.0 | 78 | 0.1218 | 0.9643 | 0.6287 | 0.6102 | 0.6193 |
|
| 62 |
+
| No log | 4.0 | 104 | 0.1090 | 0.9672 | 0.6127 | 0.6487 | 0.6302 |
|
| 63 |
+
| No log | 5.0 | 130 | 0.1049 | 0.9690 | 0.6384 | 0.6274 | 0.6329 |
|
| 64 |
+
| No log | 6.0 | 156 | 0.1013 | 0.9687 | 0.6169 | 0.6081 | 0.6125 |
|
| 65 |
+
| No log | 7.0 | 182 | 0.1030 | 0.9691 | 0.5997 | 0.6964 | 0.6444 |
|
| 66 |
+
| No log | 8.0 | 208 | 0.1067 | 0.9679 | 0.5779 | 0.7340 | 0.6467 |
|
| 67 |
+
| No log | 9.0 | 234 | 0.1058 | 0.9697 | 0.6498 | 0.6142 | 0.6315 |
|
| 68 |
+
| No log | 10.0 | 260 | 0.1043 | 0.9702 | 0.6321 | 0.6680 | 0.6496 |
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
| 72 |
|
| 73 |
+
- Transformers 4.53.1
|
| 74 |
- Pytorch 2.7.1+cu126
|
| 75 |
+
- Datasets 3.6.0
|
| 76 |
+
- Tokenizers 0.21.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1109845500
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9be27b7f2e76bf0ab875a69796b8577baa21790a07767dff7e39cad0b4c0e30f
|
| 3 |
size 1109845500
|