Instructions to use java2core/gemma-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use java2core/gemma-text-to-sql with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("java2core/gemma-text-to-sql", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files
README.md
CHANGED
|
@@ -4,8 +4,8 @@ library_name: transformers
|
|
| 4 |
model_name: gemma-text-to-sql
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
-
- sft
|
| 8 |
- trl
|
|
|
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
|
@@ -34,10 +34,10 @@ This model was trained with SFT.
|
|
| 34 |
|
| 35 |
### Framework versions
|
| 36 |
|
| 37 |
-
- TRL: 0.
|
| 38 |
-
- Transformers: 4.55.
|
| 39 |
-
- Pytorch: 2.
|
| 40 |
-
- Datasets:
|
| 41 |
- Tokenizers: 0.21.4
|
| 42 |
|
| 43 |
## Citations
|
|
@@ -49,7 +49,7 @@ Cite TRL as:
|
|
| 49 |
```bibtex
|
| 50 |
@misc{vonwerra2022trl,
|
| 51 |
title = {{TRL: Transformer Reinforcement Learning}},
|
| 52 |
-
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
|
| 53 |
year = 2020,
|
| 54 |
journal = {GitHub repository},
|
| 55 |
publisher = {GitHub},
|
|
|
|
| 4 |
model_name: gemma-text-to-sql
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
| 7 |
- trl
|
| 8 |
+
- sft
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
|
|
|
| 34 |
|
| 35 |
### Framework versions
|
| 36 |
|
| 37 |
+
- TRL: 0.15.2
|
| 38 |
+
- Transformers: 4.55.2
|
| 39 |
+
- Pytorch: 2.8.0
|
| 40 |
+
- Datasets: 3.3.2
|
| 41 |
- Tokenizers: 0.21.4
|
| 42 |
|
| 43 |
## Citations
|
|
|
|
| 49 |
```bibtex
|
| 50 |
@misc{vonwerra2022trl,
|
| 51 |
title = {{TRL: Transformer Reinforcement Learning}},
|
| 52 |
+
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édec},
|
| 53 |
year = 2020,
|
| 54 |
journal = {GitHub repository},
|
| 55 |
publisher = {GitHub},
|