Salesforce/wikisql
Updated • 1.66k • 125
How to use Jimesh-patel/Text-To-Sql with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Jimesh-patel/Text-To-Sql")
model = AutoModelForSeq2SeqLM.from_pretrained("Jimesh-patel/Text-To-Sql")This model is a fine-tuned version of t5-small on the wikisql dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time |
|---|---|---|---|---|
| 0.2014 | 1.0 | 4049 | 0.1608 | 0.014 |
| 0.1701 | 2.0 | 8098 | 0.1411 | 0.014 |
| 0.1525 | 3.0 | 12147 | 0.1333 | 0.014 |
| 0.1467 | 4.0 | 16196 | 0.1291 | 0.014 |
| 0.145 | 5.0 | 20245 | 0.1279 | 0.014 |
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Jimesh-patel/Text-To-Sql") model = AutoModelForSeq2SeqLM.from_pretrained("Jimesh-patel/Text-To-Sql")