Instructions to use dbernsohn/t5_wikisql_SQL2en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dbernsohn/t5_wikisql_SQL2en with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dbernsohn/t5_wikisql_SQL2en") model = AutoModelForSeq2SeqLM.from_pretrained("dbernsohn/t5_wikisql_SQL2en") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ output = model.generate(input_ids=features['input_ids'].cuda(),
|
|
| 26 |
attention_mask=features['attention_mask'].cuda())
|
| 27 |
|
| 28 |
tokenizer.decode(output[0])
|
| 29 |
-
Output: "What people are older than 10?"
|
| 30 |
```
|
| 31 |
|
| 32 |
The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/SQLM)
|
|
|
|
| 26 |
attention_mask=features['attention_mask'].cuda())
|
| 27 |
|
| 28 |
tokenizer.decode(output[0])
|
| 29 |
+
# Output: "What people are older than 10?"
|
| 30 |
```
|
| 31 |
|
| 32 |
The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/SQLM)
|