How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="cahaj/Phi-3.5-mini-instruct-text2sql-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

Phi3.5 text2sql

  • Developed by: cahaj
  • License: apache-2.0
  • Finetuned from model: microsoft/Phi-3.5-mini-instruct
  • Dataset: Clinton/Text-to-sql-v1
  • LoRa: 64/64

Training template

prompt = """<|system|>
You are a SQL database query generator. User provides you with sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables.<|end|>
<|user|>
{}
SQL table schema: {}<|end|>
<|assistant|>
{}<|end|>"""
Downloads last month
77
GGUF
Model size
4B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

5-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for cahaj/Phi-3.5-mini-instruct-text2sql-GGUF

Quantized
(183)
this model

Dataset used to train cahaj/Phi-3.5-mini-instruct-text2sql-GGUF