Instructions to use anismahmahi/LLMLingua2_span_propaganda with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anismahmahi/LLMLingua2_span_propaganda with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="anismahmahi/LLMLingua2_span_propaganda")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("anismahmahi/LLMLingua2_span_propaganda") model = AutoModelForTokenClassification.from_pretrained("anismahmahi/LLMLingua2_span_propaganda") - Notebooks
- Google Colab
- Kaggle
LLMLingua2_span_propaganda
This model is a fine-tuned version of microsoft/llmlingua-2-xlm-roberta-large-meetingbank on an unknown dataset. It achieves the following results on the evaluation set:
- eval_loss: 0.6333
- eval_precision: 0.0676
- eval_recall: 0.0812
- eval_f1: 0.0737
- eval_accuracy: 0.8583
- eval_runtime: 10.4985
- eval_samples_per_second: 79.916
- eval_steps_per_second: 5.048
- epoch: 5.0
- step: 885
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: 3e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
Framework versions
- Transformers 4.30.0
- Pytorch 2.2.2+cu121
- Datasets 2.19.0
- Tokenizers 0.13.3
- Downloads last month
- 1