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
model card
Browse files23 unmodified lines24252627282923 unmodified lines| `m_ood` | text in the base language | idiom-rich informal text | `<ood> <yor>: TEXT` || `hm_ood` | code-switched text | idiom-rich text that keeps the switching | `<ood> <yor>+<eng>: TEXT` |**Input format (read this before writing prompts).**- A single user turn, no system prompt: `<bos><start_of_turn>user` + prompt + `<end_of_turn>` + `<start_of_turn>model` (`tokenizer.apply_chat_template` produces the same).23 unmodified lines24252627282930313233343536373823 unmodified lines| `m_ood` | text in the base language | idiom-rich informal text | `<ood> <yor>: TEXT` || `hm_ood` | code-switched text | idiom-rich text that keeps the switching | `<ood> <yor>+<eng>: TEXT` |### What do `m_text`, `hm` and `ood` mean? (in simple words)- **`m_text`** (`eng_m` in the task table): a plain translation of English into the language you want, no mixing. Prompt: `Translate the text to Yoruba: TEXT` (use the language **name**).- **`hm`** (human-style mixing): the text mixes two languages the way real people talk, for example Yoruba with English words in the middle of a sentence. Prompt: `<hm> <yor>+<eng>: TEXT` (language **codes** in angle brackets).- **`ood`** (idiom-rich style): the text is rewritten in a lively, everyday way, full of sayings, proverbs and comparisons, the way a chatty native speaker talks. Prompt: `<ood> <yor>: TEXT`.`eng_` means the input is English, `m_` means the input is already in the base language, and `hm_ood` means the input is already mixed and you want the idiom-rich rewrite. The usage code below runs `m_text`, `hm` and `ood` on one sentence.**Input format (read this before writing prompts).**- A single user turn, no system prompt: `<bos><start_of_turn>user` + prompt + `<end_of_turn>` + `<start_of_turn>model` (`tokenizer.apply_chat_template` produces the same).
README.md+9