Text Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run AnonymousCS/populism_classifier_099 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/AnonymousCS/populism_classifier_099. 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/AnonymousCS/populism_classifier_099 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 AnonymousCS/populism_classifier_099 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_classifier_099 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_classifier_099")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_classifier_099") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_classifier_099", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (4)
17 unmodified lines18192021222324252627282925 unmodified lines55565758596061626317 unmodified linesThis model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.3299- Accuracy: 0.8990- 1-f1: 0.7059- 1-recall: 0.96- 1-precision: 0.5581- Balanced Acc: 0.9251## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.2574 | 1.0 | 7 | 0.2924 | 0.8838 | 0.6761 | 0.96 | 0.5217 | 0.9164 || 0.2816 | 2.0 | 14 | 0.3936 | 0.8990 | 0.6875 | 0.88 | 0.5641 | 0.8909 || 0.1332 | 3.0 | 21 | 0.3299 | 0.8990 | 0.7059 | 0.96 | 0.5581 | 0.9251 |### Framework versions17 unmodified lines18192021222324252627282925 unmodified lines55565758596061626317 unmodified linesThis model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.3617- Accuracy: 0.8733- 1-f1: 0.54- 1-recall: 0.8438- 1-precision: 0.3971- Balanced Acc: 0.8599## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.474 | 1.0 | 12 | 0.3547 | 0.8264 | 0.4793 | 0.9062 | 0.3258 | 0.8625 || 0.304 | 2.0 | 24 | 0.3840 | 0.8981 | 0.5747 | 0.7812 | 0.4545 | 0.8453 || 0.2064 | 3.0 | 36 | 0.3617 | 0.8733 | 0.54 | 0.8438 | 0.3971 | 0.8599 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:9404373a3111b793397bd8da32aaf904aa4e9f03215407cd6de56208d05c6e94size 1112205008123version https://git-lfs.github.com/spec/v1oid sha256:2138679fed4ca4accf1d6ac3b56b50d749e8ed8f98125e48659cca902d66e152size 1112205008
123version https://git-lfs.github.com/spec/v1oid sha256:5b241a052c1b4eef6c7ea2b7805b57b3d0795fcf96739015cf7289d66970a7aesize 10723123version https://git-lfs.github.com/spec/v1oid sha256:fd668b3ddf41e80f3a85b94a3e1bf97a3c4413ea3f077aed02fdc68672cf4b01size 5777123version https://git-lfs.github.com/spec/v1oid sha256:13057abcf02b12ae4abc676382d1fc41756aab05c27e55bfd3688ec4f8ad0585size 5777
README.md+9-9
model.safetensors+1-1
runs/Aug26_02-37-34_ebae452a3ad2/events.out.tfevents.1756175854.ebae452a3ad2.1874.4Added+3
training_args.bin+1-1