Transformers
Safetensors
English
t5
text2text-generation
sql
Eval Results (legacy)
text-generation-inference
Instructions to use juanfra218/text2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use juanfra218/text2sql with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("juanfra218/text2sql") model = AutoModelForSeq2SeqLM.from_pretrained("juanfra218/text2sql") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -62,7 +62,7 @@ import torch
|
|
| 62 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
| 63 |
|
| 64 |
# Load the tokenizer and model
|
| 65 |
-
model_path = '
|
| 66 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
| 67 |
model = T5ForConditionalGeneration.from_pretrained(model_path)
|
| 68 |
|
|
|
|
| 62 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
| 63 |
|
| 64 |
# Load the tokenizer and model
|
| 65 |
+
model_path = 'juanfra218/text2sql'
|
| 66 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
| 67 |
model = T5ForConditionalGeneration.from_pretrained(model_path)
|
| 68 |
|