Instructions to use Cocktail-AI/Cocktail-C1-XS-Solid 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 Cocktail-AI/Cocktail-C1-XS-Solid 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 Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M # Run inference directly in the terminal: llama cli -hf Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M # Run inference directly in the terminal: llama cli -hf Cocktail-AI/Cocktail-C1-XS-Solid: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 Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
Use Docker
docker model run hf.co/Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Cocktail-AI/Cocktail-C1-XS-Solid with Ollama:
ollama run hf.co/Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
- Unsloth Desktop
- Pi
How to use Cocktail-AI/Cocktail-C1-XS-Solid with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Cocktail-AI/Cocktail-C1-XS-Solid with Docker Model Runner:
docker model run hf.co/Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
- Lemonade
How to use Cocktail-AI/Cocktail-C1-XS-Solid with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
Run and chat with the model
lemonade run user.Cocktail-C1-XS-Solid-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Cocktail-AI/Cocktail-C1-XS-Solid with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Cocktail-AI/Cocktail-C1-XS-Solid: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:9931/v1 hermes config set model.default Cocktail-AI/Cocktail-C1-XS-Solid:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Cocktail-AI/Cocktail-C1-XS-Solid with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Cocktail-AI/Cocktail-C1-XS-Solid: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:9931/v1 \ --custom-model-id "Cocktail-AI/Cocktail-C1-XS-Solid: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"
Download config.json from Cocktail-AI/Cocktail-C1-XS-Solid: direct link, hf CLI and curl.
- Browser
- Download file 3.68 kB
-
https://huggingface.co/Cocktail-AI/Cocktail-C1-XS-Solid/resolve/main/config.json
- Command line
-
hf download hf://Cocktail-AI/Cocktail-C1-XS-Solid/config.json
-
curl -L -o config.json https://huggingface.co/Cocktail-AI/Cocktail-C1-XS-Solid/resolve/main/config.json
3.68 kB
| { | |
| "architectures": [ | |
| "SenseNovaLoopForConditionalGeneration" | |
| ], | |
| "attn_implementation": "sdpa", | |
| "bos_token_id": null, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 248046, | |
| "hidden_size": 4096, | |
| "image_token_id": 248056, | |
| "loop_settings": { | |
| "counts": [ | |
| 2 | |
| ], | |
| "end": 28, | |
| "eval_count": 2, | |
| "start": 4 | |
| }, | |
| "model_type": "sensenova_loop", | |
| "pad_token_id": 248044, | |
| "patch_conv3d": true, | |
| "text_config": { | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attn_output_gate": true, | |
| "bos_token_id": null, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 248044, | |
| "full_attention_interval": 4, | |
| "head_dim": 256, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 12288, | |
| "layer_types": [ | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention" | |
| ], | |
| "linear_conv_kernel_dim": 4, | |
| "linear_key_head_dim": 128, | |
| "linear_num_key_heads": 16, | |
| "linear_num_value_heads": 32, | |
| "linear_value_head_dim": 128, | |
| "mamba_ssm_dtype": "float32", | |
| "max_position_embeddings": 524288, | |
| "mlp_only_layers": [], | |
| "model_type": "qwen3_5_text", | |
| "mtp_num_hidden_layers": 1, | |
| "mtp_use_dedicated_embeddings": false, | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 4, | |
| "pad_token_id": 248044, | |
| "partial_rotary_factor": 0.25, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 11, | |
| 11, | |
| 10 | |
| ], | |
| "partial_rotary_factor": 0.25, | |
| "rope_theta": 10000000, | |
| "rope_type": "yarn", | |
| "factor": 2.0, | |
| "original_max_position_embeddings": 262144 | |
| }, | |
| "tie_word_embeddings": false, | |
| "use_cache": true, | |
| "vocab_size": 248320 | |
| }, | |
| "tie_word_embeddings": false, | |
| "use_cache": true, | |
| "video_token_id": 248057, | |
| "vision_config": { | |
| "deepstack_visual_indexes": [], | |
| "depth": 27, | |
| "dtype": "bfloat16", | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 1152, | |
| "in_channels": 3, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4304, | |
| "model_type": "qwen3_5_vision", | |
| "num_heads": 16, | |
| "num_position_embeddings": 2304, | |
| "out_hidden_size": 4096, | |
| "patch_size": 16, | |
| "spatial_merge_size": 2, | |
| "temporal_patch_size": 2 | |
| }, | |
| "vision_end_token_id": 248054, | |
| "vision_start_token_id": 248053, | |
| "mhc": { | |
| "end": 28, | |
| "fixed_identity": false, | |
| "iterations": 20, | |
| "pre_scale": 1.0, | |
| "start": 4, | |
| "streams": 2 | |
| }, | |
| "model_name": "SenseNova-Loop-9B", | |
| "auto_map": { | |
| "AutoConfig": "modeling_sensenova_loop.SenseNovaLoopConfig", | |
| "AutoModel": "modeling_sensenova_loop.SenseNovaLoopModel", | |
| "AutoModelForCausalLM": "modeling_sensenova_loop.SenseNovaLoopForConditionalGeneration", | |
| "AutoModelForImageTextToText": "modeling_sensenova_loop.SenseNovaLoopForConditionalGeneration" | |
| } | |
| } | |