Sentiment-Analysis-7B-4bit-mlx

日本語版はこちら (README.ja.md)

An unofficial 4-bit MLX conversion of microsoft/Sentiment-Analysis-7B for Apple Silicon Macs (sized for 16GB unified memory). All credit goes to the original authors.

  • Parameters: 7.24B / License: mit (same as the base model)

Usage

pip install -U mlx-lm
mlx_lm.generate --model masahiroid/Sentiment-Analysis-7B-4bit-mlx --prompt "日本の首都はどこですか?" --max-tokens 256
from mlx_lm import load, generate

model, tokenizer = load("masahiroid/Sentiment-Analysis-7B-4bit-mlx")
messages = [{"role": "user", "content": "日本の首都はどこですか?"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=prompt, max_tokens=256))

Security

Audited with model-audit-lite before publication:

  • File checks (pickle-format weights, bundled custom code, SHA256)
  • Chat template identical before and after conversion
  • Japanese safety probes (on the converted model)

See SECURITY.md and audit/report.md for the results.

Downloads last month
53
Safetensors
Model size
7B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for masahiroid/Sentiment-Analysis-7B-4bit-mlx

Quantized
(5)
this model