Downloads · 30 days
165
9% of all-time downloads
tocchitocchi/GPT-OSS-Swallow-120B-RL-v0.1-6bit-mlx
GPT-OSS-Swallow-120B-RL-v0.1-6bit-mlx is a text generation model from tocchitocchi. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
6-bit quantized MLX version of tokyotech-llm/GPT-OSS-Swallow-120B-RL-v0.1, optimized for Apple Silicon.
Downloads · 30 days
165
9% of all-time downloads
All-time downloads
1.8K
Public
Parameters
117B
95 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors95 GB · 100%
How the weights are stored.
U32117B · 100%
From the Hugging Face model README
6-bit quantized MLX version of tokyotech-llm/GPT-OSS-Swallow-120B-RL-v0.1, optimized for Apple Silicon.
gpt_oss (Mixture of Experts — 117B total, 5.1B active)pip install mlx-lm
mlx_lm.generate \
--model tocchitocchi/GPT-OSS-Swallow-120B-RL-v0.1-6bit-mlx \
--prompt "日本の首都はどこですか?" \
--max-tokens 200
from mlx_lm import load, generate
model, tokenizer = load("tocchitocchi/GPT-OSS-Swallow-120B-RL-v0.1-6bit-mlx")
messages = [{"role": "user", "content": "Pythonでフィボナッチ数列を出力するコードを書いてください"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
response = generate(model, tokenizer, prompt=prompt, verbose=True, max_tokens=500)
Apache 2.0 (inherited from base model)