Run this model with HF Jobs
Run AnonymousCS/populism_classifier_bsample_179 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_179. 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_179 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_179 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_classifier_bsample_179 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_classifier_bsample_179")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_classifier_bsample_179") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_classifier_bsample_179", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.md+12-12
- model.safetensors+1-1
- training_args.bin+1-1
17 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.6902- Accuracy: 0.7492- 1-f1: 0.3594- 1-recall: 0.92- 1-precision: 0.2233- Balanced Acc: 0.8275## 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.138 | 1.0 | 11 | 0.6539 | 0.5229 | 0.2427 | 1.0 | 0.1381 | 0.7417 || 1.0586 | 2.0 | 22 | 1.2234 | 0.5872 | 0.2703 | 1.0 | 0.1562 | 0.7765 || 0.4486 | 3.0 | 33 | 0.6902 | 0.7492 | 0.3594 | 0.92 | 0.2233 | 0.8275 |### 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.7519- Accuracy: 0.7615- 1-f1: 0.3906- 1-recall: 1.0- 1-precision: 0.2427- Balanced Acc: 0.8709## 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.0873 | 1.0 | 6 | 0.7139 | 0.7431 | 0.3731 | 1.0 | 0.2294 | 0.8609 || 0.1897 | 2.0 | 12 | 0.8471 | 0.7309 | 0.3623 | 1.0 | 0.2212 | 0.8543 || 0.0591 | 3.0 | 18 | 0.7519 | 0.7615 | 0.3906 | 1.0 | 0.2427 | 0.8709 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:a81d7c08159bbee5ceb7584266ce2bdda315a565b5b236a7767f37fc9346dcd2size 669455360123version https://git-lfs.github.com/spec/v1oid sha256:05f4d3cfff1d216cabc1dd26dfa5053868cd281f202a4ecd1140b3f82a64de4bsize 669455360
123version https://git-lfs.github.com/spec/v1oid sha256:5c718b42b4c90bace6f34b7eaedd46ba2d1bd6bfa481a605ed0851e24a0f348dsize 5432123version https://git-lfs.github.com/spec/v1oid sha256:454a91f8478a48153dc089b5c7b2428debdf5cb7e255fb91732142f57a28f1e3size 5432
README.md+12-12
model.safetensors+1-1
training_args.bin+1-1