Instructions to use AnonymousCS/populism_classifier_406 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_classifier_406 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_classifier_406")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_classifier_406") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_classifier_406", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.md+8-7
- model.safetensors+1-1
- training_args.bin+1-1
17 unmodified lines1819202122232419 unmodified lines444546474849504 unmodified lines555657585960616263646517 unmodified linesThis model is a fine-tuned version of [google/rembert](https://huggingface.co/google/rembert) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.6502- Accuracy: 0.9170- 1-f1: 0.0- 1-recall: 0.019 unmodified linesThe following hyperparameters were used during training:- learning_rate: 1e-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.6987 | 1.0 | 67 | 0.6980 | 0.0830 | 0.1533 | 1.0 | 0.0830 | 0.5 || 0.5637 | 2.0 | 134 | 0.6472 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 || 0.7486 | 3.0 | 201 | 0.6483 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 || 0.5768 | 4.0 | 268 | 0.6473 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 || 0.7115 | 5.0 | 335 | 0.6502 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 |### Framework versions17 unmodified lines1819202122232419 unmodified lines444546474849504 unmodified lines55565758596061626364656617 unmodified linesThis model is a fine-tuned version of [google/rembert](https://huggingface.co/google/rembert) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.6579- Accuracy: 0.9170- 1-f1: 0.0- 1-recall: 0.019 unmodified linesThe following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 16- 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.7087 | 1.0 | 67 | 0.7045 | 0.0830 | 0.1533 | 1.0 | 0.0830 | 0.5 || 0.5247 | 2.0 | 134 | 0.6583 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 || 0.718 | 3.0 | 201 | 0.6578 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 || 0.5427 | 4.0 | 268 | 0.6577 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 || 0.7019 | 5.0 | 335 | 0.6585 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 || 0.6026 | 6.0 | 402 | 0.6579 | 0.9170 | 0.0 | 0.0 | 0.0 | 0.5 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:5f5798612bca854ad329f61ab78b563074b8318d90ebec6128ea17e3d59c203esize 2303755328123version https://git-lfs.github.com/spec/v1oid sha256:2eca26a1b879564a2e224158e0929caee2b9d35ecca76ecae72b65ba891aba4dsize 2303755328
123version https://git-lfs.github.com/spec/v1oid sha256:780513298ee218b70700aa63d36e04fc881f16d5163567fab5354cffc99053a2size 5432123version https://git-lfs.github.com/spec/v1oid sha256:206dcf87761f1a3790bb662b86e77cd9befd98a17511de9df49db1619eba026fsize 5432
README.md+8-7
model.safetensors+1-1
training_args.bin+1-1