Safetensors
GGUF
Turkish
llama
Llama-3
instruct
finetune
chatml
gpt4
synthetic data
distillation
function calling
json mode
axolotl
roleplaying
chat
Instructions to use tda45/TdAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tda45/TdAI with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tda45/TdAI", filename="llama.cpp/models/ggml-vocab-aquila.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tda45/TdAI 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 tda45/TdAI # Run inference directly in the terminal: llama cli -hf tda45/TdAI
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tda45/TdAI # Run inference directly in the terminal: llama cli -hf tda45/TdAI
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tda45/TdAI # Run inference directly in the terminal: ./llama-cli -hf tda45/TdAI
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tda45/TdAI # Run inference directly in the terminal: ./build/bin/llama-cli -hf tda45/TdAI
Use Docker
docker model run hf.co/tda45/TdAI
- LM Studio
- Jan
- Ollama
How to use tda45/TdAI with Ollama:
ollama run hf.co/tda45/TdAI
- Unsloth Studio
How to use tda45/TdAI with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tda45/TdAI to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tda45/TdAI to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tda45/TdAI to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tda45/TdAI with Docker Model Runner:
docker model run hf.co/tda45/TdAI
- Lemonade
How to use tda45/TdAI with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tda45/TdAI
Run and chat with the model
lemonade run user.TdAI-{{QUANT_TAG}}List all available models
lemonade list
| # Multimodal | |
| llama.cpp supports multimodal input via `libmtmd`. Currently, there are 2 tools support this feature: | |
| - [llama-cli](../tools/cli/README.md) | |
| - [llama-server](../tools/server/README.md) via OpenAI-compatible `/chat/completions` API | |
| - [llama-mtmd-cli](../tools/mtmd/README.md), for testing and development | |
| Currently, we support **image**, **audio** and **video** input. | |
| To enable it, you can use one of the 2 methods below: | |
| - Use `-hf` option with a supported model (see a list of pre-quantized model below) | |
| - To load a model using `-hf` while disabling multimodal, use `--no-mmproj` | |
| - To load a model using `-hf` while using a custom mmproj file, use `--mmproj local_file.gguf` | |
| - Use `-m model.gguf` option with `--mmproj file.gguf` to specify text and multimodal projector respectively | |
| By default, multimodal projector will be offloaded to GPU. To disable this, add `--no-mmproj-offload` | |
| For example: | |
| ```sh | |
| # simple usage with CLI | |
| llama-mtmd-cli -hf ggml-org/gemma-3-4b-it-GGUF | |
| # simple usage with server | |
| llama-server -hf ggml-org/gemma-3-4b-it-GGUF | |
| # using local file | |
| llama-server -m gemma-3-4b-it-Q4_K_M.gguf --mmproj mmproj-gemma-3-4b-it-Q4_K_M.gguf | |
| # no GPU offload | |
| llama-server -hf ggml-org/gemma-3-4b-it-GGUF --no-mmproj-offload | |
| ``` | |
| > [!IMPORTANT] | |
| > | |
| > OCR models are trained with specific prompt and input structure, please refer to these discussions for more info: | |
| > - PaddleOCR-VL: https://github.com/ggml-org/llama.cpp/pull/18825 | |
| > - GLM-OCR: https://github.com/ggml-org/llama.cpp/pull/19677 | |
| > - Deepseek-OCR: https://github.com/ggml-org/llama.cpp/pull/17400 | |
| > - Dots.OCR: https://github.com/ggml-org/llama.cpp/pull/17575 | |
| > - HunyuanOCR: https://github.com/ggml-org/llama.cpp/pull/21395 | |
| ## Pre-quantized models | |
| These are ready-to-use models, most of them come with `Q4_K_M` quantization by default. They can be found at the Hugging Face page of the ggml-org: https://huggingface.co/collections/ggml-org/multimodal-ggufs-68244e01ff1f39e5bebeeedc | |
| Replaces the `(tool_name)` with the name of binary you want to use. For example, `llama-mtmd-cli` or `llama-server` | |
| NOTE: some models may require large context window, for example: `-c 8192` | |
| **Vision models**: | |
| ```sh | |
| # Gemma 3 | |
| (tool_name) -hf ggml-org/gemma-3-4b-it-GGUF | |
| (tool_name) -hf ggml-org/gemma-3-12b-it-GGUF | |
| (tool_name) -hf ggml-org/gemma-3-27b-it-GGUF | |
| # SmolVLM | |
| (tool_name) -hf ggml-org/SmolVLM-Instruct-GGUF | |
| (tool_name) -hf ggml-org/SmolVLM-256M-Instruct-GGUF | |
| (tool_name) -hf ggml-org/SmolVLM-500M-Instruct-GGUF | |
| (tool_name) -hf ggml-org/SmolVLM2-2.2B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/SmolVLM2-256M-Video-Instruct-GGUF | |
| (tool_name) -hf ggml-org/SmolVLM2-500M-Video-Instruct-GGUF | |
| # Pixtral 12B | |
| (tool_name) -hf ggml-org/pixtral-12b-GGUF | |
| # Qwen 2 VL | |
| (tool_name) -hf ggml-org/Qwen2-VL-2B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/Qwen2-VL-7B-Instruct-GGUF | |
| # Qwen 2.5 VL | |
| (tool_name) -hf ggml-org/Qwen2.5-VL-3B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/Qwen2.5-VL-7B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/Qwen2.5-VL-32B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/Qwen2.5-VL-72B-Instruct-GGUF | |
| # Mistral Small 3.1 24B (IQ2_M quantization) | |
| (tool_name) -hf ggml-org/Mistral-Small-3.1-24B-Instruct-2503-GGUF | |
| # InternVL 2.5 and 3 | |
| (tool_name) -hf ggml-org/InternVL2_5-1B-GGUF | |
| (tool_name) -hf ggml-org/InternVL2_5-4B-GGUF | |
| (tool_name) -hf ggml-org/InternVL3-1B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/InternVL3-2B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/InternVL3-8B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/InternVL3-14B-Instruct-GGUF | |
| # Llama 4 Scout | |
| (tool_name) -hf ggml-org/Llama-4-Scout-17B-16E-Instruct-GGUF | |
| # Moondream2 20250414 version | |
| (tool_name) -hf ggml-org/moondream2-20250414-GGUF | |
| # Gemma 4 | |
| (tool_name) -hf ggml-org/gemma-4-E2B-it-GGUF | |
| (tool_name) -hf ggml-org/gemma-4-E4B-it-GGUF | |
| (tool_name) -hf ggml-org/gemma-4-26B-A4B-it-GGUF | |
| (tool_name) -hf ggml-org/gemma-4-31B-it-GGUF | |
| ``` | |
| **Audio models**: | |
| ```sh | |
| # Ultravox 0.5 | |
| (tool_name) -hf ggml-org/ultravox-v0_5-llama-3_2-1b-GGUF | |
| (tool_name) -hf ggml-org/ultravox-v0_5-llama-3_1-8b-GGUF | |
| # Qwen2-Audio and SeaLLM-Audio | |
| # note: no pre-quantized GGUF this model, as they have very poor result | |
| # ref: https://github.com/ggml-org/llama.cpp/pull/13760 | |
| # Mistral's Voxtral | |
| (tool_name) -hf ggml-org/Voxtral-Mini-3B-2507-GGUF | |
| # Qwen3-ASR | |
| (tool_name) -hf ggml-org/Qwen3-ASR-0.6B-GGUF | |
| (tool_name) -hf ggml-org/Qwen3-ASR-1.7B-GGUF | |
| ``` | |
| **Mixed modalities**: | |
| ```sh | |
| # Qwen2.5 Omni | |
| # Capabilities: audio input, vision input | |
| (tool_name) -hf ggml-org/Qwen2.5-Omni-3B-GGUF | |
| (tool_name) -hf ggml-org/Qwen2.5-Omni-7B-GGUF | |
| # Qwen3 Omni | |
| # Capabilities: audio input, vision input | |
| (tool_name) -hf ggml-org/Qwen3-Omni-30B-A3B-Instruct-GGUF | |
| (tool_name) -hf ggml-org/Qwen3-Omni-30B-A3B-Thinking-GGUF | |
| # Gemma 4 | |
| # Capabilities: audio input, vision input | |
| (tool_name) -hf ggml-org/gemma-4-E2B-it-GGUF | |
| (tool_name) -hf ggml-org/gemma-4-E4B-it-GGUF | |
| ``` | |
| ## Finding more models: | |
| GGUF models on Huggingface with vision capabilities can be found here: https://huggingface.co/models?pipeline_tag=image-text-to-text&sort=trending&search=gguf | |