Instructions to use mardakani/Bitnet 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 mardakani/Bitnet 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 mardakani/Bitnet:F32 # Run inference directly in the terminal: llama cli -hf mardakani/Bitnet:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mardakani/Bitnet:F32 # Run inference directly in the terminal: llama cli -hf mardakani/Bitnet:F32
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 mardakani/Bitnet:F32 # Run inference directly in the terminal: ./build/bin/llama cli -hf mardakani/Bitnet:F32
Use Docker
docker model run hf.co/mardakani/Bitnet:F32
- Llama new
- LM Studio
- Jan
- Ollama
How to use mardakani/Bitnet with Ollama:
ollama run hf.co/mardakani/Bitnet:F32
- Unsloth Desktop
- Docker Model Runner
How to use mardakani/Bitnet with Docker Model Runner:
docker model run hf.co/mardakani/Bitnet:F32
- Lemonade
How to use mardakani/Bitnet with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mardakani/Bitnet:F32
Run and chat with the model
lemonade run user.Bitnet-F32
List all available models
lemonade list
- Atomic Chat
Download special_tokens_map.json from mardakani/Bitnet: direct link, hf CLI and curl.
- Browser
- Download file 604 Bytes
-
https://huggingface.co/mardakani/Bitnet/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://mardakani/Bitnet/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/mardakani/Bitnet/resolve/main/special_tokens_map.json
604 Bytes
| { | |
| "additional_special_tokens": [ | |
| "</line>" | |
| ], | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |