Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run AnonymousCS/populism_classifier_025 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_025. 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_025 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_025 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_classifier_025 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_classifier_025")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_classifier_025") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_classifier_025", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (5)
17 unmodified lines18192021222324252627282925 unmodified lines5556575859606162636417 unmodified linesThis model is a fine-tuned version of [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.9857- Accuracy: 0.9550- 1-f1: 0.375- 1-recall: 0.2571- 1-precision: 0.6923- Balanced Acc: 0.6254## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.3387 | 1.0 | 21 | 0.3040 | 0.9340 | 0.5417 | 0.7429 | 0.4262 | 0.8437 || 0.2565 | 2.0 | 42 | 0.2982 | 0.9265 | 0.5333 | 0.8 | 0.4 | 0.8668 || 0.1349 | 3.0 | 63 | 0.5266 | 0.9595 | 0.5714 | 0.5143 | 0.6429 | 0.7492 || 0.115 | 4.0 | 84 | 0.9857 | 0.9550 | 0.375 | 0.2571 | 0.6923 | 0.6254 |### Framework versions17 unmodified lines18192021222324252627282925 unmodified lines5556575859606162636417 unmodified linesThis model is a fine-tuned version of [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.6593- Accuracy: 0.8682- 1-f1: 0.3434- 1-recall: 0.5484- 1-precision: 0.25- Balanced Acc: 0.7190## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.5037 | 1.0 | 16 | 0.5130 | 0.7546 | 0.2577 | 0.6774 | 0.1591 | 0.7186 || 0.3225 | 2.0 | 32 | 0.4836 | 0.8377 | 0.3103 | 0.5806 | 0.2118 | 0.7178 || 0.3458 | 3.0 | 48 | 0.4968 | 0.7525 | 0.2989 | 0.8387 | 0.1818 | 0.7927 || 0.3137 | 4.0 | 64 | 0.6593 | 0.8682 | 0.3434 | 0.5484 | 0.25 | 0.7190 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:6fc3f48c4b988c536a545b77a44fcedc9d6d71c5abb5bc2520c1f552ae41aaeasize 711443456123version https://git-lfs.github.com/spec/v1oid sha256:348fa5d4fcce8487dde946859213e5cd0bc4c9cfd8033c867fca6968b3135cfbsize 711443456
123version https://git-lfs.github.com/spec/v1oid sha256:5d5c24e87378ca38dc7f0c908c19a473e19ac9c9630849651ac76857bcecbe22size 5127123version https://git-lfs.github.com/spec/v1oid sha256:e0cd7c211f39c6a402537d739b23b6fc181f1165651c3c68cc847ffe0a27ccc5size 14258123version https://git-lfs.github.com/spec/v1oid sha256:491df3bb31fc6ecc870c42f840529e7531100424bebe3f314fe2327bd0b2747dsize 5777123version https://git-lfs.github.com/spec/v1oid sha256:8a10af1845ddaadd6dd087d82db7bf45d4ee9a6a1fcc32235a2338ca55133319size 5777
README.md+10-10
model.safetensors+1-1
runs/Aug25_20-10-11_9cbfd459869c/events.out.tfevents.1756152614.9cbfd459869c.1551.0Added+3
runs/Aug25_20-13-28_9cbfd459869c/events.out.tfevents.1756152808.9cbfd459869c.1551.2Added+3
training_args.bin+1-1