Downloads · 30 days
8
10% of all-time downloads
KamilHugsFaces/t5-gemma-2-reasoning-classifier-v3
t5-gemma-2-reasoning-classifier-v3 is a machine learning model from KamilHugsFaces. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gemma.
Fine-tuned T5-Gemma-2 model for entailment classification.
Downloads · 30 days
8
10% of all-time downloads
All-time downloads
82
Public
Parameters
7.5B
30.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15 GB · 100%
From the Hugging Face model README
Fine-tuned T5-Gemma-2 model for entailment classification.
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
model = AutoModelForSeq2SeqLM.from_pretrained("KamilHugsFaces/t5-gemma-2-reasoning-classifier-v3")
tokenizer = AutoTokenizer.from_pretrained("KamilHugsFaces/t5-gemma-2-reasoning-classifier-v3")
# Format input
input_text = "entailment: [Your claim and evidence here]"
inputs = tokenizer(input_text, return_tensors="pt", max_length=250, truncation=True)
# Generate prediction
outputs = model.generate(**inputs, max_new_tokens=8)
prediction = tokenizer.decode(outputs[0], skip_special_tokens=True)
# Output: "true" or "false"
{ "variant_name": "reasoning_v1", "run_name": "reasoning_v1_20260113_222305", "num_epochs": 3, "batch_size": 4, "learning_rate": 5e-05, "warmup_steps": 100, "model_name": "google/t5gemma-2-4b-4b", "class_weights": { "true": 0.5417118093174431, "false": 6.4935064935064934 }, "use_confidence_weighting": false, "confidence_weight_alpha": 2, "train_size": 700, "val_size": 150, "test_size": 150 }