cemuluoglakci/hallucination_acceptance_agent_instruction_dataset
Viewer • Updated • 4.98k • 15
How to use bonurtek/flan-t5-small-hallucination-text-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="bonurtek/flan-t5-small-hallucination-text-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bonurtek/flan-t5-small-hallucination-text-classification")
model = AutoModelForSequenceClassification.from_pretrained("bonurtek/flan-t5-small-hallucination-text-classification")This model is a fine-tuned version of google/flan-t5-small on the Hallucination Acceptance Agent Instruction dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.4967 | 0.4016 | 100 | 0.8049 | 0.7429 | 0.7349 | 0.7248 | 0.7349 |
| 0.4829 | 0.8032 | 200 | 0.7162 | 0.7284 | 0.7319 | 0.7261 | 0.7319 |
| 0.3966 | 1.2048 | 300 | 0.8576 | 0.7526 | 0.7530 | 0.7486 | 0.7530 |
| 0.3115 | 1.6064 | 400 | 0.8358 | 0.7443 | 0.7450 | 0.7438 | 0.7450 |
Base model
google/flan-t5-small