Instructions to use upadhyay/sql-4bit-1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use upadhyay/sql-4bit-1k 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("upadhyay/sql-4bit-1k") 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 upadhyay/sql-4bit-1k with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "upadhyay/sql-4bit-1k" --prompt "Once upon a time"
- Atomic Chat
Commit History
-
Upload folder using huggingface_hub (#1)
Verified signature- a4c2615b38c4bd609fce71cc1b0b9fa4d27d01895f2d4f1f6c6667012bb28d4c (accf8f50c0fa7958a229e77afb5a97a96b756d0f) - 23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b (e1ce6caf48ff084c5d363ff5f9e18d5d97f46aae)86a3b6f -
initial commit
Verified signatureb7eb069