Instructions to use sahilsangwan/qwen35-4b-text-to-sql-data-forge-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use sahilsangwan/qwen35-4b-text-to-sql-data-forge-lora with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("sahilsangwan/qwen35-4b-text-to-sql-data-forge-lora") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use sahilsangwan/qwen35-4b-text-to-sql-data-forge-lora with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "sahilsangwan/qwen35-4b-text-to-sql-data-forge-lora" --prompt "Once upon a time"
- Atomic Chat
| { | |
| "base": { | |
| "by_db": { | |
| "car_1": { | |
| "correct": 7, | |
| "execution_accuracy": 0.5385, | |
| "total": 13 | |
| }, | |
| "concert_singer": { | |
| "correct": 32, | |
| "execution_accuracy": 0.7111, | |
| "total": 45 | |
| }, | |
| "pets_1": { | |
| "correct": 2, | |
| "execution_accuracy": 0.0476, | |
| "total": 42 | |
| } | |
| }, | |
| "correct": 41, | |
| "execution_accuracy": 0.41, | |
| "top_prediction_errors": { | |
| "near \"The\": syntax error": 5, | |
| "near \"Thinking\": syntax error": 49 | |
| }, | |
| "total": 100 | |
| }, | |
| "benchmark": "Spider dev official SQLite execution, first 100 examples", | |
| "delta": { | |
| "correct": 10, | |
| "execution_accuracy": 0.1 | |
| }, | |
| "fine_tuned": { | |
| "by_db": { | |
| "car_1": { | |
| "correct": 5, | |
| "execution_accuracy": 0.3846, | |
| "total": 13 | |
| }, | |
| "concert_singer": { | |
| "correct": 27, | |
| "execution_accuracy": 0.6, | |
| "total": 45 | |
| }, | |
| "pets_1": { | |
| "correct": 19, | |
| "execution_accuracy": 0.4524, | |
| "total": 42 | |
| } | |
| }, | |
| "correct": 51, | |
| "execution_accuracy": 0.51, | |
| "top_prediction_errors": { | |
| "near \"The\": syntax error": 39 | |
| }, | |
| "total": 100 | |
| } | |
| } | |