初始化项目,由ModelHub XC社区提供模型

Model: ahmedandaloes/security-llama3.2-3b-MLX-bf16
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-18 05:13:10 +08:00
commit ffb2d1e930
10 changed files with 568 additions and 0 deletions

49
README.md Normal file
View File

@@ -0,0 +1,49 @@
---
license: apache-2.0
language:
- en
tags:
- security
- cybersecurity
- mlx
- mlx-bf16
base_model: viettelsecurity-ai/security-llama3.2-3b
base_model_relation: quantized
pipeline_tag: text-generation
library_name: mlx
quantized_by: ahmedandaloes
---
# security-llama3.2-3b — MLX bf16
Full-precision (bf16) [MLX](https://github.com/ml-explore/mlx) build of
[**viettelsecurity-ai/security-llama3.2-3b**](https://huggingface.co/viettelsecurity-ai/security-llama3.2-3b), for fast local inference on Apple Silicon.
- **Precision:** bf16 — no quantization, identical weights to source.
- Weights unchanged from source — format + precision conversion only.
- Converted with `mlx-lm`.
## Builds
| Build |
|-------|
| [MLX-4bit](https://huggingface.co/ahmedandaloes/security-llama3.2-3b-MLX-4bit) |
| [MLX-6bit](https://huggingface.co/ahmedandaloes/security-llama3.2-3b-MLX-6bit) |
| [MLX-8bit](https://huggingface.co/ahmedandaloes/security-llama3.2-3b-MLX-8bit) |
| [MLX-bf16](https://huggingface.co/ahmedandaloes/security-llama3.2-3b-MLX-bf16) |
GGUF builds: [prithivMLmods/Security-Llama3.2-3B-GGUF](https://huggingface.co/prithivMLmods/Security-Llama3.2-3B-GGUF).
## Usage
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tok = load("ahmedandaloes/security-llama3.2-3b-MLX-bf16")
p = tok.apply_chat_template([{"role":"user","content":"Name a common web vulnerability."}], add_generation_prompt=True)
print(generate(model, tok, prompt=p, max_tokens=200, verbose=True))
```
## Attribution
Source: [viettelsecurity-ai/security-llama3.2-3b](https://huggingface.co/viettelsecurity-ai/security-llama3.2-3b). License per source (Apache-2.0 assumed; verify).
MLX build for the Apple Silicon community. For **authorized** security work only.