Text Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run AnonymousCS/populism_classifier_102 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_102. 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_102 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_102 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_classifier_102 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_classifier_102")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_classifier_102") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_classifier_102", 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.3588- Accuracy: 0.9327- 1-f1: 0.6562- 1-recall: 0.8077- 1-precision: 0.5526- Balanced Acc: 0.8756## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.281 | 1.0 | 11 | 0.2403 | 0.8991 | 0.5479 | 0.7692 | 0.4255 | 0.8398 || 0.1745 | 2.0 | 22 | 0.3129 | 0.9297 | 0.6462 | 0.8077 | 0.5385 | 0.8739 || 0.1745 | 3.0 | 33 | 0.3588 | 0.9327 | 0.6562 | 0.8077 | 0.5526 | 0.8756 |### 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.6197- Accuracy: 0.9344- 1-f1: 0.4483- 1-recall: 0.4483- 1-precision: 0.4483- Balanced Acc: 0.7067## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.4263 | 1.0 | 16 | 0.4514 | 0.9180 | 0.4737 | 0.6207 | 0.3830 | 0.7788 || 0.2493 | 2.0 | 32 | 0.6051 | 0.9303 | 0.4688 | 0.5172 | 0.4286 | 0.7368 || 0.1688 | 3.0 | 48 | 0.6197 | 0.9344 | 0.4483 | 0.4483 | 0.4483 | 0.7067 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:913bf3264d10b995d75743ee4312e00c475aaa932b7af6ee688164dacc7ccad5size 1112205008123version https://git-lfs.github.com/spec/v1oid sha256:f4612e3021f0543f9b45880d6077072612988af8bce059222eafb064998c8815size 1112205008
123version https://git-lfs.github.com/spec/v1oid sha256:8e624e269e20fed719da09eabcd2526224c32d7342440c9e98b6a2a6fa32434bsize 11965123version https://git-lfs.github.com/spec/v1oid sha256:d36ef49eb902f4793bc94cecea748d164fd43b079da0e28b9a424838c7a8c2f9size 5777123version https://git-lfs.github.com/spec/v1oid sha256:2af824c6a03d99718c39dfe70393b8e603fbd9d92219f52957e8e1f70689c809size 5777
README.md+9-9
model.safetensors+1-1
runs/Aug26_02-42-05_ebae452a3ad2/events.out.tfevents.1756176125.ebae452a3ad2.1874.7Added+3
training_args.bin+1-1