How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Stormtrooperaim/Erudite-V2-1b")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Stormtrooperaim/Erudite-V2-1b")
model = AutoModelForCausalLM.from_pretrained("Stormtrooperaim/Erudite-V2-1b", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
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=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

This is a finetune of Gemma-3-1b-it using the Erudite-V2 dataset.

The dataset used to finetune this model tries to improve gemma 3 1b's performance in things like mmlu and humaneval.

image

  • Model training loss:

    Run history:

train/epoch ▁▁▁▁▁▂▂▂▂▂▃▃▃▃▃▄▄▄▄▄▅▅▅▅▅▆▆▆▆▆▇▇▇▇▇▇▇▇██ train/global_step ▁▁▁▁▂▂▂▂▂▂▃▃▃▃▃▄▄▄▄▄▄▅▅▅▅▅▆▆▆▆▆▇▇▇▇▇▇███ train/grad_norm ▁▃█▂▄▃▂▄▃▂▃▄▅▅▃▄▄▅▃▄▄▃▄▄▄▄▄▅▄▄▅▅▄▄▄▄▄▅▄▄ train/learning_rate ▄████▇▇▇▇▇▆▆▆▆▆▆▆▅▅▅▅▅▅▄▄▄▄▄▃▃▃▂▂▂▂▂▂▁▁▁ train/loss █▄▃▃▃▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁

Run summary:

total_flos 1.092006641664e+18 train/epoch 1 train/global_step 3907 train/grad_norm 0.21461 train/learning_rate 0.0 train/loss 0.7482 train_loss 0.81085 train_runtime 15509.2958 train_samples_per_second 16.119 train_steps_per_second 0.252

Downloads last month
12
Safetensors
Model size
1.0B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Stormtrooperaim/Erudite-V2-1b

Finetuned
(368)
this model
Merges
3 models
Quantizations
3 models

Dataset used to train Stormtrooperaim/Erudite-V2-1b

Collection including Stormtrooperaim/Erudite-V2-1b