Text Generation
PEFT
Safetensors
MLX
English
text-to-sql
sql
sqlite
lora
bird
spider
Eval Results (legacy)
Instructions to use Felamity-Technologies/sqlant-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Felamity-Technologies/sqlant-1b with PEFT:
Task type is invalid.
- MLX
How to use Felamity-Technologies/sqlant-1b 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("Felamity-Technologies/sqlant-1b") 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 Felamity-Technologies/sqlant-1b with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "Felamity-Technologies/sqlant-1b" --prompt "Once upon a time"
- Atomic Chat
Download generator/adapter_config.json from Felamity-Technologies/sqlant-1b: direct link, hf CLI and curl.
- Browser
- Download file 714 Bytes
-
https://huggingface.co/Felamity-Technologies/sqlant-1b/resolve/main/generator/adapter_config.json
- Command line
-
hf download hf://Felamity-Technologies/sqlant-1b/generator/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/Felamity-Technologies/sqlant-1b/resolve/main/generator/adapter_config.json
714 Bytes
| { | |
| "peft_type": "LORA", | |
| "task_type": "CAUSAL_LM", | |
| "base_model_name_or_path": "Qwen/Qwen2.5-Coder-1.5B-Instruct", | |
| "r": 16, | |
| "lora_alpha": 16.0, | |
| "lora_dropout": 0.0, | |
| "bias": "none", | |
| "target_modules": [ | |
| "down_proj", | |
| "gate_proj", | |
| "k_proj", | |
| "o_proj", | |
| "q_proj", | |
| "up_proj", | |
| "v_proj" | |
| ], | |
| "layers_to_transform": [ | |
| 1, | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6, | |
| 7, | |
| 8, | |
| 9, | |
| 10, | |
| 11, | |
| 12, | |
| 13, | |
| 14, | |
| 15, | |
| 16, | |
| 17, | |
| 18, | |
| 19, | |
| 20, | |
| 21, | |
| 22, | |
| 23, | |
| 24, | |
| 25, | |
| 26, | |
| 27 | |
| ], | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "use_rslora": false, | |
| "use_dora": false, | |
| "init_lora_weights": true, | |
| "modules_to_save": null | |
| } |