Instructions to use tharun66/Mistral-7B-Text2SQL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tharun66/Mistral-7B-Text2SQL with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3") model = PeftModel.from_pretrained(base_model, "tharun66/Mistral-7B-Text2SQL") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files23 unmodified lines242526272728293031313233343536373839354041424344454647484923 unmodified lines
## Model description
More information neededThis repository contains a fine-tuned version of the Mistral 7B model, tailored specifically for text-to-SQL tasks.The model is designed to convert natural language queries into structured SQL queries, enabling seamless interaction with databases through conversational language.
## Intended uses & limitations
More information neededThe Mistral-7B-Text2SQL model is intended for applications that require converting natural language queries into SQL commands. Suitable use cases include:
Conversational Agents: Allowing users to retrieve information from databases through natural language interaction.Data Analytics: Enabling non-technical users to query databases without needing to know SQL syntax.Business Intelligence: Supporting decision-making processes by simplifying data access.
## Training and evaluation data
More information neededThe model was fine-tuned using the generator dataset, which consists of a variety of natural language queries paired with corresponding SQL commands. The dataset is designed to cover a wide range of query types, allowing the model to generalize better across different types of SQL queries.
Dataset CharacteristicsDiversity: The dataset includes examples from various domains, ensuring that the model learns to handle a broad spectrum of queries.Size: (Include the size of the dataset, e.g., the number of examples if available.)Annotations: Each example includes natural language input along with the expected SQL output, facilitating supervised learning.
## Training procedure
README.md+14-3