Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use nattkorat/trigger_cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nattkorat/trigger_cls with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nattkorat/trigger_cls")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nattkorat/trigger_cls") model = AutoModelForSequenceClassification.from_pretrained("nattkorat/trigger_cls", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +7 -7
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss:
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -50,11 +50,11 @@ The following hyperparameters were used during training:
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
-
| No log | 1.0 | 268 |
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.3421
|
| 22 |
+
- Accuracy: 0.8935
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
+
| No log | 1.0 | 268 | 0.5867 | 0.7542 |
|
| 54 |
+
| 0.8538 | 2.0 | 536 | 0.3530 | 0.8888 |
|
| 55 |
+
| 0.8538 | 3.0 | 804 | 0.3836 | 0.8514 |
|
| 56 |
+
| 0.3121 | 4.0 | 1072 | 0.3208 | 0.8925 |
|
| 57 |
+
| 0.3121 | 5.0 | 1340 | 0.3421 | 0.8935 |
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1112220388
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c97393c92b1e47634c34dbc48b3d424c9fb89463c71b3aa6f157dc0425303296
|
| 3 |
size 1112220388
|