Instructions to use mradermacher/CodeScout-1.7B-RFT-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/CodeScout-1.7B-RFT-GGUF", device_map="auto") - llama-cpp-python
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/CodeScout-1.7B-RFT-GGUF", filename="CodeScout-1.7B-RFT.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/CodeScout-1.7B-RFT-GGUF 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 mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with Ollama:
ollama run hf.co/mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/CodeScout-1.7B-RFT-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/CodeScout-1.7B-RFT-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/CodeScout-1.7B-RFT-GGUF to start chatting
- Pi
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/CodeScout-1.7B-RFT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/CodeScout-1.7B-RFT-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeScout-1.7B-RFT-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from leia
Browse files- .gitattributes +12 -0
- CodeScout-1.7B-RFT.IQ4_XS.gguf +3 -0
- CodeScout-1.7B-RFT.Q2_K.gguf +3 -0
- CodeScout-1.7B-RFT.Q3_K_L.gguf +3 -0
- CodeScout-1.7B-RFT.Q3_K_M.gguf +3 -0
- CodeScout-1.7B-RFT.Q3_K_S.gguf +3 -0
- CodeScout-1.7B-RFT.Q4_K_M.gguf +3 -0
- CodeScout-1.7B-RFT.Q4_K_S.gguf +3 -0
- CodeScout-1.7B-RFT.Q5_K_M.gguf +3 -0
- CodeScout-1.7B-RFT.Q5_K_S.gguf +3 -0
- CodeScout-1.7B-RFT.Q6_K.gguf +3 -0
- CodeScout-1.7B-RFT.Q8_0.gguf +3 -0
- CodeScout-1.7B-RFT.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
CodeScout-1.7B-RFT.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
CodeScout-1.7B-RFT.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
CodeScout-1.7B-RFT.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
CodeScout-1.7B-RFT.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
CodeScout-1.7B-RFT.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
CodeScout-1.7B-RFT.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
CodeScout-1.7B-RFT.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
CodeScout-1.7B-RFT.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
CodeScout-1.7B-RFT.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
CodeScout-1.7B-RFT.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
CodeScout-1.7B-RFT.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
CodeScout-1.7B-RFT.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
CodeScout-1.7B-RFT.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f91e97b75249176d88a52ab968ec17c75f8b6b30fb5af7d47fcef36c255b4efb
|
| 3 |
+
size 1016279840
|
CodeScout-1.7B-RFT.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e199a33a076abaf6ecdad47192c3373435e0d6d1d334546b8df8c96bcf70b72d
|
| 3 |
+
size 777794336
|
CodeScout-1.7B-RFT.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a7c14466f263734167986fc8d72c05b852e486c80cf539d107ce740aafbdd21
|
| 3 |
+
size 1003500320
|
CodeScout-1.7B-RFT.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d6ec7da5ef5c0287f6ecef4fdb267c0b758d511b91477338080439d2b498f2c
|
| 3 |
+
size 939537184
|
CodeScout-1.7B-RFT.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c58ea2b663db829b93a963b121d8b559bffb8a005034745744c205ce206d8dba
|
| 3 |
+
size 867250976
|
CodeScout-1.7B-RFT.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a513f1cb97223e2eca9149bd0fcfbbee4c1ee5fb5278ef229331f1f1c6b300e3
|
| 3 |
+
size 1107407648
|
CodeScout-1.7B-RFT.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bfb2666ca8aae5cdcb27d760a9ea9a69f6cef59345d9bec87a0882920761cbc
|
| 3 |
+
size 1060188960
|
CodeScout-1.7B-RFT.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d195c19e34b2805a0ee2b6dc55d0a9c3947328ed07a48ade72b931996d7c701
|
| 3 |
+
size 1257878304
|
CodeScout-1.7B-RFT.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31b9e66c9b3ed4a66981db360e5156624ba702cb2a3a192b80c0c7706b333bfc
|
| 3 |
+
size 1230582560
|
CodeScout-1.7B-RFT.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c015b05404f049fd709fa4559285b79c483cc368a8c9bd0fe0207ac107425e5
|
| 3 |
+
size 1417753376
|
CodeScout-1.7B-RFT.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b29f22467ccbe2ebdd9385e8b2ed3258eb2f6ec77e53fc9a84d60b45bd5b2863
|
| 3 |
+
size 1834425120
|
CodeScout-1.7B-RFT.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da578735da575bf52c37eb40138caea219897bc7d52835d60427f0cec2cb0275
|
| 3 |
+
size 3447348000
|