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="build-small-hackathon/lfed-qwen2.5-coder-14b-sql-gguf",
	filename="lfed-qwen2.5-coder-14b-sql-Q4_K_M.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

LFED v2 โ€” Qwen2.5-Coder-14B Text-to-SQL (GGUF)

Fine-tuned QLoRA (r=32) on 27,859 NLโ†’SQL pairs for DuckDB SQL generation from natural-language questions about school district data.

Base model: Qwen2.5-Coder-14B-Instruct Format: GGUF Q4_K_M Use with: llama.cpp, Ollama, LM Studio

Downloads last month
221
GGUF
Model size
15B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support