Instructions to use modularai/replit-code-1.5 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 modularai/replit-code-1.5 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 modularai/replit-code-1.5:BF16 # Run inference directly in the terminal: llama cli -hf modularai/replit-code-1.5:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf modularai/replit-code-1.5:BF16 # Run inference directly in the terminal: llama cli -hf modularai/replit-code-1.5:BF16
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 modularai/replit-code-1.5:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf modularai/replit-code-1.5:BF16
Use Docker
docker model run hf.co/modularai/replit-code-1.5:BF16
- Llama new
- LM Studio
- Jan
- Ollama
How to use modularai/replit-code-1.5 with Ollama:
ollama run hf.co/modularai/replit-code-1.5:BF16
- Unsloth Desktop
- Docker Model Runner
How to use modularai/replit-code-1.5 with Docker Model Runner:
docker model run hf.co/modularai/replit-code-1.5:BF16
- Lemonade
How to use modularai/replit-code-1.5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull modularai/replit-code-1.5:BF16
Run and chat with the model
lemonade run user.replit-code-1.5-BF16
List all available models
lemonade list
- Atomic Chat
Added chat template to tokenizer_config.json
Browse files- tokenizer_config.json +2 -1
tokenizer_config.json
CHANGED
|
@@ -19,9 +19,10 @@
|
|
| 19 |
"<extra_id_10>"
|
| 20 |
],
|
| 21 |
"bos_token": "<|endoftext|>",
|
|
|
|
| 22 |
"clean_up_tokenization_spaces": false,
|
| 23 |
"eos_token": "<|endoftext|>",
|
| 24 |
"model_max_length": 4096,
|
| 25 |
"tokenizer_class": "GPTNeoXTokenizer",
|
| 26 |
"unk_token": "<|endoftext|>"
|
| 27 |
-
}
|
|
|
|
| 19 |
"<extra_id_10>"
|
| 20 |
],
|
| 21 |
"bos_token": "<|endoftext|>",
|
| 22 |
+
"chat_template": "{{ .Prompt }}",
|
| 23 |
"clean_up_tokenization_spaces": false,
|
| 24 |
"eos_token": "<|endoftext|>",
|
| 25 |
"model_max_length": 4096,
|
| 26 |
"tokenizer_class": "GPTNeoXTokenizer",
|
| 27 |
"unk_token": "<|endoftext|>"
|
| 28 |
+
}
|