Instructions to use hkust-aaron/EdgeRock-4B-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use hkust-aaron/EdgeRock-4B-MLX-8bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("hkust-aaron/EdgeRock-4B-MLX-8bit") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use hkust-aaron/EdgeRock-4B-MLX-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "hkust-aaron/EdgeRock-4B-MLX-8bit" --prompt "Once upon a time"
- Atomic Chat
docs: add bilingual whitepaper and refresh model introduction
Browse filesUpdate the bilingual introduction and add English/Chinese Rock Matrix whitepaper links. The main model repository also receives the published PDFs. Preserve model weights, runtime code, benchmark tables, installation commands, licenses, and package-specific validation scope. SiliconRock's one-million-token/s figure is a roadmap target, separate from EdgeRock's reported results.
15 unmodified lines16171819202115 unmodified linesMLX 8-bit weights with group size 64; a 4.874 GB weight package.[Run this version](#quantized-release) · [rockmatrix.ai](https://rockmatrix.ai) · [GitHub](https://github.com/rockmatrix-ai/EdgeRock) · [Original model](https://huggingface.co/rockmatrix-ai/EdgeRock)The instructions and validation below apply to this package. [Browse all EdgeRock models](https://github.com/rockmatrix-ai/EdgeRock#model-directory). Original-model benchmarks are kept separately at the end.15 unmodified lines161718192021222324252627282915 unmodified linesMLX 8-bit weights with group size 64; a 4.874 GB weight package.**Fixed memory for long-running generation.** This EdgeRock-4B deployment package retains recurrent state, local attention, and Rock Memory Anchors (RMA), keeping persistent history at a fixed capacity as context grows.**固定记忆,长程生成。** 本版本保留 EdgeRock-4B 的递推状态、局部注意力和记忆岩锚(RMA),历史内存不随上下文增长。**Rock Matrix Whitepaper / 岩芯矩阵技术白皮书:** [English PDF](https://rockmatrix.ai/documents/rock-matrix-whitepaper-en.pdf) · [中文 PDF](https://rockmatrix.ai/documents/rock-matrix-whitepaper-zh.pdf) · [GitHub copies](https://github.com/rockmatrix-ai/EdgeRock/tree/main/docs/whitepaper)The whitepaper connects **EdgeRock's fixed memory**, **DiffusionRock's parallel generation**, and **SiliconRock's model-native silicon** into the route toward Ultra-Fast Token. 白皮书讲清固定记忆、并行生成、模型固化三条路线,以及它们如何走向更快、更经济的生成。[Run this version](#quantized-release) · [rockmatrix.ai](https://rockmatrix.ai) · [GitHub](https://github.com/rockmatrix-ai/EdgeRock) · [Original model](https://huggingface.co/rockmatrix-ai/EdgeRock)The instructions and validation below apply to this package. [Browse all EdgeRock models](https://github.com/rockmatrix-ai/EdgeRock#model-directory). Original-model benchmarks are kept separately at the end.
README.md+8