Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run AnonymousCS/populism_model245 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_model245. 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_model245 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_model245 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_model245 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_model245")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_model245") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_model245", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768---library_name: transformerslicense: apache-2.0base_model: AnonymousCS/populism_english_bert_base_uncasedtags:- generated_from_trainermetrics:- accuracymodel-index:- name: populism_model245 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# populism_model245
This model is a fine-tuned version of [AnonymousCS/populism_english_bert_base_uncased](https://huggingface.co/AnonymousCS/populism_english_bert_base_uncased) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.5152- Accuracy: 0.9356- 1-f1: 0.4186- 1-recall: 0.5625- 1-precision: 0.3333- Balanced Acc: 0.7571
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 64- eval_batch_size: 64- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 3- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:|| 0.3142 | 1.0 | 25 | 0.3865 | 0.8299 | 0.2826 | 0.8125 | 0.1711 | 0.8216 || 0.1974 | 2.0 | 50 | 0.4541 | 0.9149 | 0.3774 | 0.625 | 0.2703 | 0.7762 || 0.1149 | 3.0 | 75 | 0.5152 | 0.9356 | 0.4186 | 0.5625 | 0.3333 | 0.7571 |
### Framework versions
- Transformers 4.49.0.dev0- Pytorch 2.5.1+cu121- Datasets 3.2.0- Tokenizers 0.21.0123version https://git-lfs.github.com/spec/v1oid sha256:c710242eba3f6077b2ff3e2aa9ff678df88ece34b497572e3a8b047f1970a766size 5870123version https://git-lfs.github.com/spec/v1oid sha256:44bac7fd8b090c8c4750cdde904ed338b49cbba45d2facd8f0286aa91dced877size 7680
README.mdAdded+68
runs/Jan22_22-57-27_bf5d572c1e11/events.out.tfevents.1737586648.bf5d572c1e11.1060.63+2-2