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 lines24252627282930313233343536373823 unmodified lines## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure23 unmodified lines242526272829303132333435363738394041424344454647484923 unmodified lines## Model descriptionThis 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 & limitationsThe 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 dataThe 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