Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run nattkorat/trigger_cls on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/nattkorat/trigger_cls. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/nattkorat/trigger_cls on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 filesFiles changed (2)
- README.md+7-7
- model.safetensors+1-1
17 unmodified lines181920212223242524 unmodified lines505152535455565758596017 unmodified linesThis model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 1.5874- Accuracy: 0.3093## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 268 | 1.9260 | 0.2458 || 1.7682 | 2.0 | 536 | 1.6861 | 0.2972 || 1.7682 | 3.0 | 804 | 1.6753 | 0.2981 || 1.5771 | 4.0 | 1072 | 1.6155 | 0.3009 || 1.5771 | 5.0 | 1340 | 1.5874 | 0.3093 |### Framework versions17 unmodified lines181920212223242524 unmodified lines505152535455565758596017 unmodified linesThis model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.3421- Accuracy: 0.8935## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 268 | 0.5867 | 0.7542 || 0.8538 | 2.0 | 536 | 0.3530 | 0.8888 || 0.8538 | 3.0 | 804 | 0.3836 | 0.8514 || 0.3121 | 4.0 | 1072 | 0.3208 | 0.8925 || 0.3121 | 5.0 | 1340 | 0.3421 | 0.8935 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:54f92f3842348822012470c1446daa92b592495145a2ff3f736246ed8694758fsize 1112220388123version https://git-lfs.github.com/spec/v1oid sha256:c97393c92b1e47634c34dbc48b3d424c9fb89463c71b3aa6f157dc0425303296size 1112220388
README.md+7-7
model.safetensors+1-1