Run this model with HF Jobs
Run nattkorat/trigger_id 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_id. 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_id 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_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 filesFiles changed (2)
- README.md+12-12
- model.safetensors+1-1
20 unmodified lines2122232425262728242526272829303113 unmodified lines454647484948495051523 unmodified lines5657585960616263596061626364656620 unmodified lines
This 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.1033- Accuracy: 0.9691- Precision: 0.6442- Recall: 0.6711- F1: 0.6574- Loss: 0.0633- Accuracy: 0.9777- Precision: 0.7049- Recall: 0.6708- F1: 0.6875
## Model description
13 unmodified lines
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 16- eval_batch_size: 16- train_batch_size: 32- eval_batch_size: 32- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear3 unmodified lines
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|| No log | 1.0 | 51 | 0.1374 | 0.9576 | 0.7652 | 0.4995 | 0.6044 || No log | 2.0 | 102 | 0.1140 | 0.9677 | 0.6613 | 0.5868 | 0.6218 || No log | 3.0 | 153 | 0.1058 | 0.9690 | 0.6667 | 0.6355 | 0.6507 || No log | 4.0 | 204 | 0.1023 | 0.9692 | 0.6449 | 0.6528 | 0.6488 || No log | 5.0 | 255 | 0.1033 | 0.9691 | 0.6442 | 0.6711 | 0.6574 || No log | 1.0 | 38 | 0.1591 | 0.9513 | 0.0 | 0.0 | 0.0 || No log | 2.0 | 76 | 0.0879 | 0.9704 | 0.6467 | 0.5761 | 0.6094 || No log | 3.0 | 114 | 0.0719 | 0.9764 | 0.7029 | 0.6480 | 0.6743 || No log | 4.0 | 152 | 0.0663 | 0.9775 | 0.6930 | 0.6791 | 0.6860 || No log | 5.0 | 190 | 0.0633 | 0.9777 | 0.7049 | 0.6708 | 0.6875 |
### Framework versions1223version https://git-lfs.github.com/spec/v1oid sha256:2ea924ecd39622bd8747fb7fb7007e6c06c51d66fc32edc753eee09a5f55ae5eoid sha256:78db856a4542826efba72fdc2128692137a720e814a3cc438ca452d6f419e07bsize 1109845500README.md+12-12
model.safetensors+1-1