Run this model with HF Jobs
Run AnonymousCS/populism_classifier_bsample_177 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_bsample_177. 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_bsample_177 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_bsample_177 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_classifier_bsample_177 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_classifier_bsample_177")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_classifier_bsample_177") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_classifier_bsample_177", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.md+12-16
- model.safetensors+1-1
- training_args.bin+1-1
17 unmodified lines18192021222324252627282912 unmodified lines4243444546474849504 unmodified lines5556575859606162636465666717 unmodified linesThis model is a fine-tuned version of [AnonymousCS/populism_multilingual_bert_uncased_v2](https://huggingface.co/AnonymousCS/populism_multilingual_bert_uncased_v2) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.9446- Accuracy: 0.7608- 1-f1: 0.4258- 1-recall: 0.8684- 1-precision: 0.2821- Balanced Acc: 0.8085## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 3e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear4 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.0744 | 1.0 | 12 | 1.3029 | 0.4220 | 0.2612 | 1.0 | 0.1502 | 0.6781 || 0.0818 | 2.0 | 24 | 1.1527 | 0.5618 | 0.3180 | 1.0 | 0.1891 | 0.7560 || 0.4693 | 3.0 | 36 | 1.1489 | 0.6022 | 0.3393 | 1.0 | 0.2043 | 0.7784 || 0.0362 | 4.0 | 48 | 0.9746 | 0.6022 | 0.3393 | 1.0 | 0.2043 | 0.7784 || 0.0553 | 5.0 | 60 | 0.8777 | 0.7392 | 0.4121 | 0.8947 | 0.2677 | 0.8081 || 0.0625 | 6.0 | 72 | 0.9100 | 0.7392 | 0.4049 | 0.8684 | 0.264 | 0.7965 || 0.0429 | 7.0 | 84 | 0.9446 | 0.7608 | 0.4258 | 0.8684 | 0.2821 | 0.8085 |### Framework versions17 unmodified lines18192021222324252627282912 unmodified lines4243444546474849504 unmodified lines55565758596061626317 unmodified linesThis model is a fine-tuned version of [AnonymousCS/populism_multilingual_bert_uncased_v2](https://huggingface.co/AnonymousCS/populism_multilingual_bert_uncased_v2) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.8398- Accuracy: 0.6667- 1-f1: 0.3737- 1-recall: 0.9737- 1-precision: 0.2313- Balanced Acc: 0.8027## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 32- eval_batch_size: 32- seed: 42- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear4 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.0609 | 1.0 | 6 | 0.6332 | 0.8333 | 0.4833 | 0.7632 | 0.3537 | 0.8022 || 0.8549 | 2.0 | 12 | 0.7615 | 0.8575 | 0.4952 | 0.6842 | 0.3881 | 0.7807 || 0.0866 | 3.0 | 18 | 0.8398 | 0.6667 | 0.3737 | 0.9737 | 0.2313 | 0.8027 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:1094ac9093d92234922f4a72ed8b1a70eb0b428401e63cf2f22c65d70c16ecfcsize 669455360123version https://git-lfs.github.com/spec/v1oid sha256:195be196750129be3c45b6e5f3da95877ab56bf99635da3026803c8b27e90393size 669455360
123version https://git-lfs.github.com/spec/v1oid sha256:62ce909ab508ca1fef4caceae0f65451ce9725ac01eca66a9cde385c3766c554size 5432123version https://git-lfs.github.com/spec/v1oid sha256:126375b484e5ac9901fdc88c80c357f20aa41b42ca97a19017189216a139573csize 5432
README.md+12-16
model.safetensors+1-1
training_args.bin+1-1