Instructions to use mrm8488/t5-small-finetuned-wikiSQL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrm8488/t5-small-finetuned-wikiSQL with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("mrm8488/t5-small-finetuned-wikiSQL") model = AutoModelForSeq2SeqLM.from_pretrained("mrm8488/t5-small-finetuned-wikiSQL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add max_new_tokens to the config
To avoid the warning ``` UserWarning: Neither `max_length` nor `max_new_tokens` has been set, `max_length` will default to 20 (`self.config.max_length`). Controlling `max_length` via the config is deprecated and `max_length` will be removed from the config in v5 of Transformers -- we recommend using `max_new_tokens` to control the maximum length of the generation. warnings.warn ```e2fff74
-
allow flax
056271d
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/mrm8488/t5-small-finetuned-wikiSQL/README.mde8c643a
-
Update tokenizer_config.json
0fcc4af -
Update special_tokens_map.json
8de001a -
Update training_args.bin
a60576f -
Update spiece.model
9eb0cfd -
Update pytorch_model.bin
a694a6f -
Update config.json
09c8f26 -
initial commit
65c1767