Downloads · 30 days
17
20% of all-time downloads
EpistemeAI/Hercules1-8B-E2B-it
Hercules1-8B-E2B-it is a image-text-to-text model from EpistemeAI. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
- Developed by: EpistemeAI - License: apache-2.0 - Finetuned from model : unsloth/gemma-3n-e2b-it-unsloth-bnb-4bit
Downloads · 30 days
17
20% of all-time downloads
All-time downloads
86
Public
Parameters
6B
10.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors10.9 GB · 100%
From the Hugging Face model README
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("EpistemeAI/Hercules1-8B-E2B-it")
model = AutoModelForCausalLM.from_pretrained("EpistemeAI/Hercules1-8B-E2B-it")
messages = [
{"role": "user", "content": "Write me a Python function to calculate the nth fibonacci number.<think></think>"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=1024)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
| Tasks | Version | Filter | n-shot | Metric | Value | |
|---|---|---|---|---|---|---|
| gpqa_diamond_zeroshot | 1 | none | 0 | acc/acc_norm | ↑ | 0.3097 |
This gemma3n model was trained 2x faster with Unsloth and Huggingface's TRL library.