Translation
Transformers
PyTorch
English
t5
text2text-generation
Trained with AutoTrain
text2sql
nlqtosql
texttosql
nl2sql
text-generation-inference
Instructions to use charanhu/text_to_sql_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use charanhu/text_to_sql_2 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="charanhu/text_to_sql_2")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("charanhu/text_to_sql_2") model = AutoModelForSeq2SeqLM.from_pretrained("charanhu/text_to_sql_2") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,9 +2,12 @@
|
|
| 2 |
tags:
|
| 3 |
- autotrain
|
| 4 |
- translation
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
language:
|
| 6 |
-
-
|
| 7 |
-
- unk
|
| 8 |
datasets:
|
| 9 |
- spider
|
| 10 |
co2_eq_emissions:
|
|
@@ -12,6 +15,7 @@ co2_eq_emissions:
|
|
| 12 |
license: apache-2.0
|
| 13 |
metrics:
|
| 14 |
- exact_match
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Model Trained Using AutoTrain
|
|
|
|
| 2 |
tags:
|
| 3 |
- autotrain
|
| 4 |
- translation
|
| 5 |
+
- text2sql
|
| 6 |
+
- nlqtosql
|
| 7 |
+
- texttosql
|
| 8 |
+
- nl2sql
|
| 9 |
language:
|
| 10 |
+
- en
|
|
|
|
| 11 |
datasets:
|
| 12 |
- spider
|
| 13 |
co2_eq_emissions:
|
|
|
|
| 15 |
license: apache-2.0
|
| 16 |
metrics:
|
| 17 |
- exact_match
|
| 18 |
+
pipeline_tag: translation
|
| 19 |
---
|
| 20 |
|
| 21 |
# Model Trained Using AutoTrain
|