Run this model with HF Jobs
Run JungIn/Text2SQL_with_tinyllama on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/JungIn/Text2SQL_with_tinyllama. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/JungIn/Text2SQL_with_tinyllama on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use JungIn/Text2SQL_with_tinyllama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use JungIn/Text2SQL_with_tinyllama with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "JungIn/Text2SQL_with_tinyllama") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files4 unmodified lines5678910891011141213161415161718194 unmodified lines
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
Text2SQL
## Model Details
### Model DescriptionTutorial Result of Text2SQL Fine-Tune LLM (with tinyllama)
<!-- Provide a longer summary of what this model is. -->### Model Description
Origianl Tutorial Document: [SQL Generation in Text2SQL with TinyLlama’s LLM Fine-tuning](https://www.analyticsvidhya.com/blog/2024/02/sql-generation-in-text2sql-with-tinyllamas-llm-fine-tuning/
- **Developed by:** [More Information Needed]README.md+4-5