Downloads · 30 days
12
31% of all-time downloads
iot/Gemma_model_fine_tune_custom_Data
Gemma_model_fine_tune_custom_Data is a text generation model from iot. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a fine-tuned version of Gemma Model on custom data. It was trained using the SFTTrainer and incorporates LoRA configurations to enhance performance.
Downloads · 30 days
12
31% of all-time downloads
All-time downloads
39
Public
Parameters
2.5B
3.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.3 GB · 99%
How the weights are stored.
U82B · 78%
From the Hugging Face model README
This model is a fine-tuned version of Gemma Model on custom data. It was trained using the SFTTrainer and incorporates LoRA configurations to enhance performance.
You can use this model, Below is an example of how to load and use the model:
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("iot/Gemma_model_fine_tune_custom_Data")
model = AutoModelForCausalLM.from_pretrained("iot/Gemma_model_fine_tune_custom_Data")
input_text = "Your input text here"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))