Downloads · 30 days
0
gccmorgoth/finsql-mlx-nvidia-nemotron-nano-9b-v2-4bits
finsql-mlx-nvidia-nemotron-nano-9b-v2-4bits is a machine learning model from gccmorgoth. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This is a LoRA adapter for financial SQL generation, fine-tuned on mlx-community/NVIDIA-Nemotron-Nano-9B-v2-4bits.
Downloads · 30 days
0
Access
Public
Updated Oct 11, 2025
Repo size
21.4 MB
Likes
0
Public
Click a slice to open those files.
.safetensors21.4 MB · 100%
From the Hugging Face model README
This is a LoRA adapter for financial SQL generation, fine-tuned on mlx-community/NVIDIA-Nemotron-Nano-9B-v2-4bits.

This model was fine-tuned on financial text-to-sql data pairs, specifically the FinSQLBull dataset, to improve SQL query generation for financial databases and tables.
Recommended prompt format to specify:
[Schema information]
[Natural language question about the data]
Constraint: [Any specific constraints]
SQL: [Model Generated SQL Query]
Database: company_financials
Table: revenue (id, company, year, revenue, profit)
Task
What was the total revenue for all companies in 2023?
SQL: [Model Generated SQL Query]
from mlx_lm import load, generate
model, tokenizer = load("your-username/your-model-name")
response = generate(model, tokenizer, prompt="Your prompt here")