Instructions to use SagarKaul/codeast_q4_intel 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 SagarKaul/codeast_q4_intel 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 SagarKaul/codeast_q4_intel:Q4_K_M # Run inference directly in the terminal: llama cli -hf SagarKaul/codeast_q4_intel:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SagarKaul/codeast_q4_intel:Q4_K_M # Run inference directly in the terminal: llama cli -hf SagarKaul/codeast_q4_intel:Q4_K_M
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 SagarKaul/codeast_q4_intel:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf SagarKaul/codeast_q4_intel:Q4_K_M
Use Docker
docker model run hf.co/SagarKaul/codeast_q4_intel:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use SagarKaul/codeast_q4_intel with Ollama:
ollama run hf.co/SagarKaul/codeast_q4_intel:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use SagarKaul/codeast_q4_intel with Docker Model Runner:
docker model run hf.co/SagarKaul/codeast_q4_intel:Q4_K_M
- Lemonade
How to use SagarKaul/codeast_q4_intel with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SagarKaul/codeast_q4_intel:Q4_K_M
Run and chat with the model
lemonade run user.codeast_q4_intel-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload ModelFile - Copy
Browse files- ModelFile - Copy +27 -0
ModelFile - Copy
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM codeast.Q4_K_M.gguf
|
| 2 |
+
TEMPLATE """{{ if .System }}{{ .System }}
|
| 3 |
+
{{ end }}
|
| 4 |
+
|
| 5 |
+
### Instruction:
|
| 6 |
+
Please add comments to code
|
| 7 |
+
|
| 8 |
+
{{ if .Prompt }}### Input:
|
| 9 |
+
{{ .Prompt }}{{ end }}
|
| 10 |
+
|
| 11 |
+
### Response:"""
|
| 12 |
+
|
| 13 |
+
PARAMETER temperature 0
|
| 14 |
+
PARAMETER repeat_penalty 1
|
| 15 |
+
PARAMETER penalize_newline false
|
| 16 |
+
|
| 17 |
+
PARAMETER stop <|start_header_id|>
|
| 18 |
+
PARAMETER stop <|end_header_id|>
|
| 19 |
+
PARAMETER stop <|eot_id|>
|
| 20 |
+
PARAMETER stop <|reserved_special_token|>
|
| 21 |
+
PARAMETER stop <|end_of_text|>
|
| 22 |
+
PARAMETER stop <eos>
|
| 23 |
+
PARAMETER stop <|eos|>
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
SYSTEM "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request."
|
| 27 |
+
|