Instructions to use NotebookML/Llama-3.2-1B-SQL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NotebookML/Llama-3.2-1B-SQL with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NotebookML/Llama-3.2-1B-SQL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NotebookML/Llama-3.2-1B-SQL with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf NotebookML/Llama-3.2-1B-SQL:F16 # Run inference directly in the terminal: llama cli -hf NotebookML/Llama-3.2-1B-SQL:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NotebookML/Llama-3.2-1B-SQL:F16 # Run inference directly in the terminal: llama cli -hf NotebookML/Llama-3.2-1B-SQL:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf NotebookML/Llama-3.2-1B-SQL:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf NotebookML/Llama-3.2-1B-SQL:F16
Use Docker
docker model run hf.co/NotebookML/Llama-3.2-1B-SQL:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use NotebookML/Llama-3.2-1B-SQL with Ollama:
ollama run hf.co/NotebookML/Llama-3.2-1B-SQL:F16
- Unsloth Desktop
- Docker Model Runner
How to use NotebookML/Llama-3.2-1B-SQL with Docker Model Runner:
docker model run hf.co/NotebookML/Llama-3.2-1B-SQL:F16
- Lemonade
How to use NotebookML/Llama-3.2-1B-SQL with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NotebookML/Llama-3.2-1B-SQL:F16
Run and chat with the model
lemonade run user.Llama-3.2-1B-SQL-F16
List all available models
lemonade list
- Atomic Chat
Download adapter_model.safetensors from NotebookML/Llama-3.2-1B-SQL: direct link, hf CLI and curl.
- Browser
- Download file 45.1 MB
-
https://huggingface.co/NotebookML/Llama-3.2-1B-SQL/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://NotebookML/Llama-3.2-1B-SQL/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/NotebookML/Llama-3.2-1B-SQL/resolve/main/adapter_model.safetensors
45.1 MB
- Xet hash:
- da263f5df2270258e6149566248bdbbb37c0258059eeff98f66253ecda1448d0
- Size of remote file:
- 45.1 MB
- SHA256:
- 2e51dc574df650c55dac455e233b8aca650b664a3b52242673b572145238dbf7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.