Downloads · 30 days
0
Yamemaru/gemma-2b-finetuned-atlaset
gemma-2b-finetuned-atlaset is a machine learning model from Yamemaru. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of google/gemma-2b on the Atlaset dataset. It improves upon the base model by leveraging domain-specific knowledge from the Atlaset corpus.
Downloads · 30 days
0
Access
Public
Updated Mar 15, 2025
Repo size
117 MB
Likes
2
Public
Click a slice to open those files.
.safetensors78.5 MB · 67%
From the Hugging Face model README
This model is a fine-tuned version of google/gemma-2b on the Atlaset dataset. It improves upon the base model by leveraging domain-specific knowledge from the Atlaset corpus.
This model shows improved performance on tasks related to the domains covered in the Atlaset dataset, with particular strength in:
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("Yamemaru/gemma-2b-finetuned-atlaset")
model = AutoModelForCausalLM.from_pretrained("Yamemaru/gemma-2b-finetuned-atlaset")
# Tokenize input
input_text = "Write a summary about machine learning"
inputs = tokenizer(input_text, return_tensors="pt")
# Generate text
outputs = model.generate(
inputs.input_ids,
max_length=512,
temperature=0.7,
top_p=0.9,
top_k=50,
repetition_penalty=1.1,
do_sample=True
)
# Decode and print the response
print(tokenizer.decode(outputs[0], skip_special_tokens=True))