Downloads · 30 days
0
Sujith2121/gemma-ia3-alpaca
gemma-ia3-alpaca is a text generation model from Sujith2121. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
This model is a parameter-efficient fine-tuned version of the Gemma 2B base model using IA3 (Infused Adapter by Inhibiting and Amplifying Inner Activations). It is trained on an instruction-following dataset to improv…
Downloads · 30 days
0
Access
Public
Updated Apr 4, 2026
Repo size
35.6 MB
Likes
0
Public
Click a slice to open those files.
.json34.4 MB · 97%
From the Hugging Face model README
This model is a parameter-efficient fine-tuned version of the Gemma 2B base model using IA3 (Infused Adapter by Inhibiting and Amplifying Inner Activations). It is trained on an instruction-following dataset to improve structured response generation and general task understanding.
Evaluation was performed qualitatively using prompt-based testing. The model demonstrates improved instruction-following capability compared to the base model.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("your-username/gemma-ia3-alpaca")
tokenizer = AutoTokenizer.from_pretrained("your-username/gemma-ia3-alpaca")
prompt = "### Instruction:\nExplain SQL injection attack\n\n### Response:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))