Instructions to use tchbcb/sami-27b-mixbit 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 tchbcb/sami-27b-mixbit 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 tchbcb/sami-27b-mixbit:IQ4_XS # Run inference directly in the terminal: llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS # Run inference directly in the terminal: llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XS
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 tchbcb/sami-27b-mixbit:IQ4_XS # Run inference directly in the terminal: ./llama-cli -hf tchbcb/sami-27b-mixbit:IQ4_XS
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 tchbcb/sami-27b-mixbit:IQ4_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf tchbcb/sami-27b-mixbit:IQ4_XS
Use Docker
docker model run hf.co/tchbcb/sami-27b-mixbit:IQ4_XS
- LM Studio
- Jan
- Ollama
How to use tchbcb/sami-27b-mixbit with Ollama:
ollama run hf.co/tchbcb/sami-27b-mixbit:IQ4_XS
- Unsloth Desktop
- Pi
How to use tchbcb/sami-27b-mixbit with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tchbcb/sami-27b-mixbit:IQ4_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tchbcb/sami-27b-mixbit with Docker Model Runner:
docker model run hf.co/tchbcb/sami-27b-mixbit:IQ4_XS
- Lemonade
How to use tchbcb/sami-27b-mixbit with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tchbcb/sami-27b-mixbit:IQ4_XS
Run and chat with the model
lemonade run user.sami-27b-mixbit-IQ4_XS
List all available models
lemonade list
- Hermes Agent
How to use tchbcb/sami-27b-mixbit with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS
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 tchbcb/sami-27b-mixbit:IQ4_XS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tchbcb/sami-27b-mixbit with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS
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 "tchbcb/sami-27b-mixbit:IQ4_XS" \ --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"
log push: push.log (0918_023427)
Browse files- logs/0918_023427_push.log +54 -0
logs/0918_023427_push.log
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ 0.7s] whoami: tchbcb
|
| 2 |
+
[ 0.7s] GGUF: /tmp/k27/gguf/samai-27b-mixbit-Q5_K_M.gguf (19.40 GB) -> samai-27b-mixbit-Q5_K_M.gguf
|
| 3 |
+
[ 7.9s] README pushed
|
| 4 |
+
Traceback (most recent call last):
|
| 5 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_http.py", line 761, in hf_raise_for_status
|
| 6 |
+
response.raise_for_status()
|
| 7 |
+
File "/usr/local/lib/python3.12/dist-packages/httpx/_models.py", line 829, in raise_for_status
|
| 8 |
+
raise HTTPStatusError(message, request=request, response=self)
|
| 9 |
+
httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://huggingface.co/tchbcb/sami-27b-mixbit.git/info/lfs/objects/batch'
|
| 10 |
+
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
|
| 11 |
+
|
| 12 |
+
The above exception was the direct cause of the following exception:
|
| 13 |
+
|
| 14 |
+
Traceback (most recent call last):
|
| 15 |
+
File "/tmp/k27/s27_push_mixbit.py", line 38, in <module>
|
| 16 |
+
api.upload_file(path_or_fileobj=GGUF, path_in_repo=FNAME,
|
| 17 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn
|
| 18 |
+
return fn(*args, **kwargs)
|
| 19 |
+
^^^^^^^^^^^^^^^^^^^
|
| 20 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/hf_api.py", line 2062, in _inner
|
| 21 |
+
return fn(self, *args, **kwargs)
|
| 22 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 23 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/hf_api.py", line 5365, in upload_file
|
| 24 |
+
return self.create_commit(
|
| 25 |
+
^^^^^^^^^^^^^^^^^^^
|
| 26 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn
|
| 27 |
+
return fn(*args, **kwargs)
|
| 28 |
+
^^^^^^^^^^^^^^^^^^^
|
| 29 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/hf_api.py", line 2062, in _inner
|
| 30 |
+
return fn(self, *args, **kwargs)
|
| 31 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 32 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/hf_api.py", line 4920, in create_commit
|
| 33 |
+
self.preupload_lfs_files(
|
| 34 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/hf_api.py", line 5192, in preupload_lfs_files
|
| 35 |
+
_upload_files(**upload_kwargs, num_threads=num_threads, create_pr=create_pr) # type: ignore [arg-type]
|
| 36 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 37 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn
|
| 38 |
+
return fn(*args, **kwargs)
|
| 39 |
+
^^^^^^^^^^^^^^^^^^^
|
| 40 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/_commit_api.py", line 391, in _upload_files
|
| 41 |
+
actions_chunk, errors_chunk, chosen_transfer = post_lfs_batch_info(
|
| 42 |
+
^^^^^^^^^^^^^^^^^^^^
|
| 43 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn
|
| 44 |
+
return fn(*args, **kwargs)
|
| 45 |
+
^^^^^^^^^^^^^^^^^^^
|
| 46 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/lfs.py", line 166, in post_lfs_batch_info
|
| 47 |
+
hf_raise_for_status(resp)
|
| 48 |
+
File "/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_http.py", line 849, in hf_raise_for_status
|
| 49 |
+
raise _format(HfHubHTTPError, message, response) from e
|
| 50 |
+
huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-6aaca332-4bed05dc0fe12e626de2c300;a2cb77e8-15ed-4353-943d-ae920da7ca31)
|
| 51 |
+
|
| 52 |
+
403 Forbidden: Private repository storage limit reached, please upgrade your plan to increase your private storage limit.
|
| 53 |
+
Cannot access content at: https://huggingface.co/tchbcb/sami-27b-mixbit.git/info/lfs/objects/batch.
|
| 54 |
+
Make sure your token has the correct permissions.
|