Text Generation
Transformers
Safetensors
GGUF
English
lfm2
lfm2.5
mew
uncensored
roleplay
bf16
conversational
Instructions to use Unmid/Mew1-2.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Unmid/Mew1-2.6B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Unmid/Mew1-2.6B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Unmid/Mew1-2.6B") model = AutoModelForCausalLM.from_pretrained("Unmid/Mew1-2.6B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Unmid/Mew1-2.6B 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 Unmid/Mew1-2.6B # Run inference directly in the terminal: llama cli -hf Unmid/Mew1-2.6B
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Unmid/Mew1-2.6B # Run inference directly in the terminal: llama cli -hf Unmid/Mew1-2.6B
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 Unmid/Mew1-2.6B # Run inference directly in the terminal: ./llama-cli -hf Unmid/Mew1-2.6B
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 Unmid/Mew1-2.6B # Run inference directly in the terminal: ./build/bin/llama-cli -hf Unmid/Mew1-2.6B
Use Docker
docker model run hf.co/Unmid/Mew1-2.6B
- LM Studio
- Jan
- vLLM
How to use Unmid/Mew1-2.6B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Unmid/Mew1-2.6B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Unmid/Mew1-2.6B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Unmid/Mew1-2.6B
- SGLang
How to use Unmid/Mew1-2.6B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Unmid/Mew1-2.6B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Unmid/Mew1-2.6B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Unmid/Mew1-2.6B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Unmid/Mew1-2.6B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Unmid/Mew1-2.6B with Ollama:
ollama run hf.co/Unmid/Mew1-2.6B
- Unsloth Desktop
- Pi
How to use Unmid/Mew1-2.6B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Unmid/Mew1-2.6B
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": "Unmid/Mew1-2.6B" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Unmid/Mew1-2.6B with Docker Model Runner:
docker model run hf.co/Unmid/Mew1-2.6B
- Lemonade
How to use Unmid/Mew1-2.6B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Unmid/Mew1-2.6B
Run and chat with the model
lemonade run user.Mew1-2.6B-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use Unmid/Mew1-2.6B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Unmid/Mew1-2.6B
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 Unmid/Mew1-2.6B
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Unmid/Mew1-2.6B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Unmid/Mew1-2.6B
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 "Unmid/Mew1-2.6B" \ --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"
Commit History
Professionalize model card and release metadata 5a07dab verified
Upload README.md with huggingface_hub 054f375 verified
Nafiul Huda commited on
Upload README.md with huggingface_hub 04f447d verified
Nafiul Huda commited on
Upload README.md with huggingface_hub 3566a7a verified
Nafiul Huda commited on
Upload leap/Q2_K.json with huggingface_hub 91c10b8 verified
Nafiul Huda commited on
Upload README.md with huggingface_hub 74074fe verified
Nafiul Huda commited on
Upload leap/Q8_0.json with huggingface_hub 5ea399d verified
Nafiul Huda commited on
Upload leap/Q6_K.json with huggingface_hub 2c081e9 verified
Nafiul Huda commited on
Upload leap/Q5_K_M.json with huggingface_hub 9efcd17 verified
Nafiul Huda commited on
Upload leap/Q4_K_M.json with huggingface_hub 08c6b35 verified
Nafiul Huda commited on
Upload leap/Q4_0.json with huggingface_hub 8faf2b5 verified
Nafiul Huda commited on
Upload ggufs/Mew1-2.6B-q4-k-m.gguf with huggingface_hub db3bffc verified
Nafiul Huda commited on
Upload ggufs/Mew1-2.6B-q5-k-m.gguf with huggingface_hub c65cf0c verified
Nafiul Huda commited on
Upload ggufs/Mew1-2.6B-q8-0.gguf with huggingface_hub 91dda5c verified
Nafiul Huda commited on
Upload ggufs/Mew1-2.6B-q6-k.gguf with huggingface_hub 5d63f9e verified
Nafiul Huda commited on
Upload ggufs/Mew1-2.6B-q2-k.gguf with huggingface_hub d5cfd19 verified
Nafiul Huda commited on
Upload ggufs/Mew1-2.6B-q4-0.gguf with huggingface_hub 1ebcdcc verified
Nafiul Huda commited on
Upload README.md with huggingface_hub c447b72 verified
Nafiul Huda commited on
Upload README.md with huggingface_hub e219328 verified
Nafiul Huda commited on
Upload README.md with huggingface_hub 7fe1c9e verified
Nafiul Huda commited on
Upload README.md with huggingface_hub f919a26 verified
Nafiul Huda commited on
Upload config.json with huggingface_hub 9c9d7ed verified
Nafiul Huda commited on
Upload tokenizer.json with huggingface_hub ca3c2cb verified
Nafiul Huda commited on
Upload model.safetensors.index.json with huggingface_hub 46380a3 verified
Nafiul Huda commited on
Upload model-00002-of-00004.safetensors with huggingface_hub afa5d31 verified
Nafiul Huda commited on
Upload generation_config.json with huggingface_hub b456564 verified
Nafiul Huda commited on
Upload tokenizer_config.json with huggingface_hub 5dbe30d verified
Nafiul Huda commited on
Upload model-00004-of-00004.safetensors with huggingface_hub a81ecab verified
Nafiul Huda commited on
Upload model-00003-of-00004.safetensors with huggingface_hub 18a56eb verified
Nafiul Huda commited on
Upload model-00001-of-00004.safetensors with huggingface_hub 0b16549 verified
Nafiul Huda commited on
Upload chat_template.jinja with huggingface_hub 29d7e2a verified
Nafiul Huda commited on
initial commit 1f4b993 verified
Nafiul Huda commited on