Downloads · 30 days
18
4% of all-time downloads
hridyansh22/gemma-3-finetune
gemma-3-finetune is a text generation model from hridyansh22. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Developed by: hridyansh22 License: apache-2.0 Finetuned from model: unsloth/gemma-3-1b-it-unsloth-bnb-4bit
Downloads · 30 days
18
4% of all-time downloads
All-time downloads
464
Public
Parameters
1000M
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2 GB · 64%
How the weights are stored.
F16698M · 70%
From the Hugging Face model README
Developed by: hridyansh22
License: apache-2.0
Finetuned from model: unsloth/gemma-3-1b-it-unsloth-bnb-4bit
This gemma3_text model was trained 2x faster using Unsloth and Hugging Face’s TRL library.
import requests
API_URL = "https://api-inference.huggingface.co/models/hridyansh22/gemma-3-finetune"
headers = {"Authorization": "Bearer YOUR_HF_TOKEN"}
def query(prompt):
payload = {
"inputs": "<start_of_turn>user\n" + prompt + "\n<end_of_turn>\n<start_of_turn>model\n",
"parameters": {
"do_sample": False,
"max_new_tokens": 256,
"temperature": 0.7
}
}
response = requests.post(API_URL, headers=headers, json=payload)
return response.json()
print(query("hello who are you?"))