Transformers
TensorBoard
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use TeeA/Text2SQL-Bilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TeeA/Text2SQL-Bilingual with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("TeeA/Text2SQL-Bilingual") model = AutoModelForSeq2SeqLM.from_pretrained("TeeA/Text2SQL-Bilingual", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| tags: | |
| - generated_from_trainer | |
| base_model: TeeA/T5-Text2SQL-Bilingual | |
| model-index: | |
| - name: Text2SQL-Bilingual | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # Text2SQL-Bilingual | |
| This model is a fine-tuned version of [TeeA/T5-Text2SQL-Bilingual](https://huggingface.co/TeeA/T5-Text2SQL-Bilingual) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - eval_loss: 11.0281 | |
| - eval_rouge1: 0.2144 | |
| - eval_rouge2: 0.0542 | |
| - eval_rougeL: 0.2005 | |
| - eval_rougeLsum: 0.2020 | |
| - eval_runtime: 89.1307 | |
| - eval_samples_per_second: 10.703 | |
| - eval_steps_per_second: 2.681 | |
| - step: 0 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 2e-05 | |
| - train_batch_size: 16 | |
| - eval_batch_size: 4 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 20 | |
| - mixed_precision_training: Native AMP | |
| ### Framework versions | |
| - Transformers 4.38.2 | |
| - Pytorch 2.2.1+cu121 | |
| - Datasets 2.18.0 | |
| - Tokenizers 0.15.2 | |