Instructions to use fcmeyer/Nanbeige4.3-33B-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use fcmeyer/Nanbeige4.3-33B-MLX-4bit 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("fcmeyer/Nanbeige4.3-33B-MLX-4bit") 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
- Pi
How to use fcmeyer/Nanbeige4.3-33B-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fcmeyer/Nanbeige4.3-33B-MLX-4bit"
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": "fcmeyer/Nanbeige4.3-33B-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use fcmeyer/Nanbeige4.3-33B-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "fcmeyer/Nanbeige4.3-33B-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "fcmeyer/Nanbeige4.3-33B-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fcmeyer/Nanbeige4.3-33B-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use fcmeyer/Nanbeige4.3-33B-MLX-4bit 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 "fcmeyer/Nanbeige4.3-33B-MLX-4bit"
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 fcmeyer/Nanbeige4.3-33B-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use fcmeyer/Nanbeige4.3-33B-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fcmeyer/Nanbeige4.3-33B-MLX-4bit"
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 "fcmeyer/Nanbeige4.3-33B-MLX-4bit" \ --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"
Download evaluation.json from fcmeyer/Nanbeige4.3-33B-MLX-4bit: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/fcmeyer/Nanbeige4.3-33B-MLX-4bit/resolve/main/evaluation.json
- Command line
-
hf download hf://fcmeyer/Nanbeige4.3-33B-MLX-4bit/evaluation.json
-
curl -L -o evaluation.json https://huggingface.co/fcmeyer/Nanbeige4.3-33B-MLX-4bit/resolve/main/evaluation.json
2.78 kB
| [ | |
| {"category":"english","text":"A useful experiment starts with a clear question. Researchers compare observations against a prediction, record uncertainty, and repeat the procedure. A result that contradicts the prediction is informative because it helps distinguish competing explanations. Reproducibility depends on documenting both the method and the conditions under which measurements were taken."}, | |
| {"category":"english","text":"The library opens at nine in the morning and closes at six in the evening. On Saturday, Maya returned two books and borrowed a history of navigation. She wrote down the due date before leaving. Outside, rain had stopped, and sunlight reflected from the wet pavement."}, | |
| {"category":"chinese","text":"量化通过使用较低精度的数值表示模型权重,减少存储空间和内存需求。不同层对数值误差的敏感程度可能不同。因此,评估量化模型时,不仅要测量运行速度,还要比较输出质量,并记录测试设备、输入长度和推理参数。"}, | |
| {"category":"chinese","text":"研究人员计划比较两种教学方法。他们首先制定统一的评估标准,再把参与者随机分组。实验结束后,团队分析成绩变化,同时考虑样本规模和测量误差。即使结果符合预期,也需要更多独立实验来确认结论。"}, | |
| {"category":"code","text":"def merge_sorted(left, right):\n result = []\n i = j = 0\n while i < len(left) and j < len(right):\n if left[i] <= right[j]:\n result.append(left[i])\n i += 1\n else:\n result.append(right[j])\n j += 1\n result.extend(left[i:])\n result.extend(right[j:])\n return result\n"}, | |
| {"category":"code","text":"def count_words(text):\n counts = {}\n for word in text.lower().split():\n counts[word] = counts.get(word, 0) + 1\n return counts\n\nassert count_words('red blue red') == {'red': 2, 'blue': 1}\n\n# Empty input should produce an empty dictionary.\nassert count_words('') == {}\n"}, | |
| {"category":"tool-use","text":"User: What is the weather in Boston?\nAssistant tool call: {\"name\":\"weather\",\"arguments\":{\"city\":\"Boston\"}}\nTool result: {\"temperature_c\":12,\"conditions\":\"light rain\"}\nAssistant: It is 12 degrees Celsius with light rain in Boston.\nUser: Should I bring an umbrella?\nAssistant: Yes, an umbrella would be useful in the light rain."}, | |
| {"category":"tool-use","text":"User: Find the total price of three notebooks at four dollars each and two pens at one dollar each.\nAssistant tool call: {\"name\":\"calculator\",\"arguments\":{\"expression\":\"3 * 4 + 2 * 1\"}}\nTool result: {\"result\":14}\nAssistant: The total price is fourteen dollars before any applicable tax."} | |
| ] | |