Buckets:
2.47 GB
13 files
Updated 9 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| runs | 2 items | ||
| .gitattributes | 1.57 kB xet | aacf151a | |
| README.md | 1.47 kB xet | 92ef87b2 | |
| adapter_config.json | 780 Bytes xet | a8ea5e91 | |
| adapter_model.safetensors | 2.43 GB xet | c46c4d68 | |
| added_tokens.json | 35 Bytes xet | c49aaa18 | |
| chat_template.jinja | 1.53 kB xet | a5c670ef | |
| special_tokens_map.json | 662 Bytes xet | 02a534c8 | |
| tokenizer.json | 33.4 MB xet | fa66c8c0 | |
| tokenizer.model | 4.69 MB xet | a81fa217 | |
| tokenizer_config.json | 1.16 MB xet | 2d93bee6 | |
| training_args.bin | 6.16 kB xet | 8d87df99 |
Model Card for gemma-text-to-sql
This model is a fine-tuned version of google/gemma-3-1b-pt. It has been trained using TRL.
Quick start
from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="asthagarg/gemma-text-to-sql", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
Training procedure
This model was trained with SFT.
Framework versions
- TRL: 0.21.0
- Transformers: 4.55.2
- Pytorch: 2.8.0+cu126
- Datasets: 3.3.2
- Tokenizers: 0.21.4
Citations
Cite TRL as:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}
- Total size
- 2.47 GB
- Files
- 13
- Last updated
- Jul 2
- Pre-warmed CDN
- US EU US EU