Text Generation
Transformers
Safetensors
MLX
qwen2
conversational
Eval Results (legacy)
text-generation-inference
6-bit
Instructions to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit") model = AutoModelForCausalLM.from_pretrained("maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - MLX
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- vLLM
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit
- SGLang
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit 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 "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit" \ --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": "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit", "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 "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit" \ --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": "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Pi
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Docker Model Runner
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with Docker Model Runner:
docker model run hf.co/maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit
- Hermes Agent
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit"
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 maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit"
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 "maxxrubin/Rombos-LLM-V2.6-Qwen-14b-6bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Max Rubin commited on
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: transformers
|
| 4 |
+
base_model: rombodawg/Rombos-LLM-V2.6-Qwen-14b
|
| 5 |
+
tags:
|
| 6 |
+
- mlx
|
| 7 |
+
model-index:
|
| 8 |
+
- name: Rombos-LLM-V2.6-Qwen-14b
|
| 9 |
+
results:
|
| 10 |
+
- task:
|
| 11 |
+
type: text-generation
|
| 12 |
+
name: Text Generation
|
| 13 |
+
dataset:
|
| 14 |
+
name: IFEval (0-Shot)
|
| 15 |
+
type: HuggingFaceH4/ifeval
|
| 16 |
+
args:
|
| 17 |
+
num_few_shot: 0
|
| 18 |
+
metrics:
|
| 19 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
| 20 |
+
value: 52.14
|
| 21 |
+
name: strict accuracy
|
| 22 |
+
source:
|
| 23 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=rombodawg/Rombos-LLM-V2.6-Qwen-14b
|
| 24 |
+
name: Open LLM Leaderboard
|
| 25 |
+
- task:
|
| 26 |
+
type: text-generation
|
| 27 |
+
name: Text Generation
|
| 28 |
+
dataset:
|
| 29 |
+
name: BBH (3-Shot)
|
| 30 |
+
type: BBH
|
| 31 |
+
args:
|
| 32 |
+
num_few_shot: 3
|
| 33 |
+
metrics:
|
| 34 |
+
- type: acc_norm
|
| 35 |
+
value: 49.22
|
| 36 |
+
name: normalized accuracy
|
| 37 |
+
source:
|
| 38 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=rombodawg/Rombos-LLM-V2.6-Qwen-14b
|
| 39 |
+
name: Open LLM Leaderboard
|
| 40 |
+
- task:
|
| 41 |
+
type: text-generation
|
| 42 |
+
name: Text Generation
|
| 43 |
+
dataset:
|
| 44 |
+
name: MATH Lvl 5 (4-Shot)
|
| 45 |
+
type: hendrycks/competition_math
|
| 46 |
+
args:
|
| 47 |
+
num_few_shot: 4
|
| 48 |
+
metrics:
|
| 49 |
+
- type: exact_match
|
| 50 |
+
value: 28.85
|
| 51 |
+
name: exact match
|
| 52 |
+
source:
|
| 53 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=rombodawg/Rombos-LLM-V2.6-Qwen-14b
|
| 54 |
+
name: Open LLM Leaderboard
|
| 55 |
+
- task:
|
| 56 |
+
type: text-generation
|
| 57 |
+
name: Text Generation
|
| 58 |
+
dataset:
|
| 59 |
+
name: GPQA (0-shot)
|
| 60 |
+
type: Idavidrein/gpqa
|
| 61 |
+
args:
|
| 62 |
+
num_few_shot: 0
|
| 63 |
+
metrics:
|
| 64 |
+
- type: acc_norm
|
| 65 |
+
value: 17.0
|
| 66 |
+
name: acc_norm
|
| 67 |
+
source:
|
| 68 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=rombodawg/Rombos-LLM-V2.6-Qwen-14b
|
| 69 |
+
name: Open LLM Leaderboard
|
| 70 |
+
- task:
|
| 71 |
+
type: text-generation
|
| 72 |
+
name: Text Generation
|
| 73 |
+
dataset:
|
| 74 |
+
name: MuSR (0-shot)
|
| 75 |
+
type: TAUR-Lab/MuSR
|
| 76 |
+
args:
|
| 77 |
+
num_few_shot: 0
|
| 78 |
+
metrics:
|
| 79 |
+
- type: acc_norm
|
| 80 |
+
value: 19.26
|
| 81 |
+
name: acc_norm
|
| 82 |
+
source:
|
| 83 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=rombodawg/Rombos-LLM-V2.6-Qwen-14b
|
| 84 |
+
name: Open LLM Leaderboard
|
| 85 |
+
- task:
|
| 86 |
+
type: text-generation
|
| 87 |
+
name: Text Generation
|
| 88 |
+
dataset:
|
| 89 |
+
name: MMLU-PRO (5-shot)
|
| 90 |
+
type: TIGER-Lab/MMLU-Pro
|
| 91 |
+
config: main
|
| 92 |
+
split: test
|
| 93 |
+
args:
|
| 94 |
+
num_few_shot: 5
|
| 95 |
+
metrics:
|
| 96 |
+
- type: acc
|
| 97 |
+
value: 48.85
|
| 98 |
+
name: accuracy
|
| 99 |
+
source:
|
| 100 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=rombodawg/Rombos-LLM-V2.6-Qwen-14b
|
| 101 |
+
name: Open LLM Leaderboard
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
# maxrubin629/Rombos-LLM-V2.6-Qwen-14b-Q6-mlx
|
| 105 |
+
|
| 106 |
+
The Model [maxrubin629/Rombos-LLM-V2.6-Qwen-14b-Q6-mlx](https://huggingface.co/maxrubin629/Rombos-LLM-V2.6-Qwen-14b-Q6-mlx) was converted to MLX format from [rombodawg/Rombos-LLM-V2.6-Qwen-14b](https://huggingface.co/rombodawg/Rombos-LLM-V2.6-Qwen-14b) using mlx-lm version **0.20.5**.
|
| 107 |
+
|
| 108 |
+
## Use with mlx
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
pip install mlx-lm
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
```python
|
| 115 |
+
from mlx_lm import load, generate
|
| 116 |
+
|
| 117 |
+
model, tokenizer = load("maxrubin629/Rombos-LLM-V2.6-Qwen-14b-Q6-mlx")
|
| 118 |
+
|
| 119 |
+
prompt="hello"
|
| 120 |
+
|
| 121 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
| 122 |
+
messages = [{"role": "user", "content": prompt}]
|
| 123 |
+
prompt = tokenizer.apply_chat_template(
|
| 124 |
+
messages, tokenize=False, add_generation_prompt=True
|
| 125 |
+
)
|
| 126 |
+
|
| 127 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
| 128 |
+
```
|