Instructions to use MebinThattil/tiny-llama-q4_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MebinThattil/tiny-llama-q4_0 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 MebinThattil/tiny-llama-q4_0 # Run inference directly in the terminal: llama cli -hf MebinThattil/tiny-llama-q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MebinThattil/tiny-llama-q4_0 # Run inference directly in the terminal: llama cli -hf MebinThattil/tiny-llama-q4_0
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 MebinThattil/tiny-llama-q4_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf MebinThattil/tiny-llama-q4_0
Use Docker
docker model run hf.co/MebinThattil/tiny-llama-q4_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use MebinThattil/tiny-llama-q4_0 with Ollama:
ollama run hf.co/MebinThattil/tiny-llama-q4_0
- Unsloth Desktop
- Docker Model Runner
How to use MebinThattil/tiny-llama-q4_0 with Docker Model Runner:
docker model run hf.co/MebinThattil/tiny-llama-q4_0
- Lemonade
How to use MebinThattil/tiny-llama-q4_0 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MebinThattil/tiny-llama-q4_0
Run and chat with the model
lemonade run user.tiny-llama-q4_0-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download llama_cpp/_ggml.py from MebinThattil/tiny-llama-q4_0: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/MebinThattil/tiny-llama-q4_0/resolve/main/llama_cpp/_ggml.py
- Command line
-
hf download hf://MebinThattil/tiny-llama-q4_0/llama_cpp/_ggml.py
-
curl -L -o _ggml.py https://huggingface.co/MebinThattil/tiny-llama-q4_0/resolve/main/llama_cpp/_ggml.py
369 Bytes
| """Internal module use at your own risk | |
| This module provides a minimal interface for working with ggml tensors from llama-cpp-python | |
| """ | |
| import os | |
| import pathlib | |
| import llama_cpp._ctypes_extensions as ctypes_ext | |
| libggml_base_path = pathlib.Path(os.path.abspath(os.path.dirname(__file__))) / "lib" | |
| libggml = ctypes_ext.load_shared_library("ggml", libggml_base_path) | |