Instructions to use BeardedMonster/csw-sft 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 BeardedMonster/csw-sft 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 BeardedMonster/csw-sft:Q8_0 # Run inference directly in the terminal: llama cli -hf BeardedMonster/csw-sft:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf BeardedMonster/csw-sft:Q8_0 # Run inference directly in the terminal: llama cli -hf BeardedMonster/csw-sft:Q8_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 BeardedMonster/csw-sft:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf BeardedMonster/csw-sft:Q8_0
Use Docker
docker model run hf.co/BeardedMonster/csw-sft:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use BeardedMonster/csw-sft with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BeardedMonster/csw-sft" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BeardedMonster/csw-sft", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/BeardedMonster/csw-sft:Q8_0
- Ollama
How to use BeardedMonster/csw-sft with Ollama:
ollama run hf.co/BeardedMonster/csw-sft:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use BeardedMonster/csw-sft with Docker Model Runner:
docker model run hf.co/BeardedMonster/csw-sft:Q8_0
- Lemonade
How to use BeardedMonster/csw-sft with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull BeardedMonster/csw-sft:Q8_0
Run and chat with the model
lemonade run user.csw-sft-Q8_0
List all available models
lemonade list
- Atomic Chat
Download weights/tokenizer_config.json from BeardedMonster/csw-sft: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/BeardedMonster/csw-sft/resolve/main/weights/tokenizer_config.json
- Command line
-
hf download hf://BeardedMonster/csw-sft/weights/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/BeardedMonster/csw-sft/resolve/main/weights/tokenizer_config.json
730 Bytes
| { | |
| "backend": "tokenizers", | |
| "boi_token": "<start_of_image>", | |
| "bos_token": "<bos>", | |
| "clean_up_tokenization_spaces": false, | |
| "eoi_token": "<end_of_image>", | |
| "eos_token": "<eos>", | |
| "image_token": "<image_soft_token>", | |
| "is_local": true, | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "model_specific_special_tokens": { | |
| "boi_token": "<start_of_image>", | |
| "eoi_token": "<end_of_image>", | |
| "image_token": "<image_soft_token>" | |
| }, | |
| "pad_token": "<pad>", | |
| "padding_side": "left", | |
| "sp_model_kwargs": null, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "GemmaTokenizer", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |