Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run wgj0714/TC_model 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/wgj0714/TC_model. 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/wgj0714/TC_model 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 wgj0714/TC_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wgj0714/TC_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wgj0714/TC_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wgj0714/TC_model") model = AutoModelForSequenceClassification.from_pretrained("wgj0714/TC_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
- README.md+16-2
- model.safetensors+1-1
1 unmodified line234567895 unmodified lines15161718192021222318 unmodified lines4243444045464748495046515253545556575859606162631 unmodified linebase_model: klue/roberta-largetags:- generated_from_trainermetrics:- accuracymodel-index:- name: TC_model results: []5 unmodified lines# TC_model
This model is a fine-tuned version of [klue/roberta-large](https://huggingface.co/klue/roberta-large) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.5923- Accuracy: 0.9405
## Model description
18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 1- num_epochs: 10
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 85 | 0.3388 | 0.9524 || No log | 1.0 | 85 | 0.6354 | 0.9167 || No log | 2.0 | 170 | 0.5542 | 0.9048 || No log | 3.0 | 255 | 0.4928 | 0.9405 || No log | 4.0 | 340 | 0.5524 | 0.9405 || No log | 5.0 | 425 | 0.5733 | 0.9405 || 0.0575 | 6.0 | 510 | 0.5815 | 0.9405 || 0.0575 | 7.0 | 595 | 0.5857 | 0.9405 || 0.0575 | 8.0 | 680 | 0.5896 | 0.9405 || 0.0575 | 9.0 | 765 | 0.5922 | 0.9405 || 0.0575 | 10.0 | 850 | 0.5923 | 0.9405 |
### Framework versions1223version https://git-lfs.github.com/spec/v1oid sha256:e720f4c50c0cc5e45dbce83c3a7acf902c762a104d73c97f0c7e24cc5dc429d0oid sha256:b712a1749c1f5969a91fe2a2f894b56cd585c7e0a3322ac420917b89f934e01esize 1346690120README.md+16-2
model.safetensors+1-1