Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: llama2
|
| 3 |
+
base_model: codellama/CodeLlama-7b-hf
|
| 4 |
+
tags: [code, malware-detection, bitsandbytes, nf4, llama]
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# FLAME
|
| 8 |
+
|
| 9 |
+
恶意代码静态检测分类模型。
|
| 10 |
+
|
| 11 |
+
- 量化:nf4 / 4bit,lm_head 保留 bfloat16,keep_layers=32,max_length=512
|
| 12 |
+
- 显存:bf16 12885 MiB → 量化后 4011 MiB
|
| 13 |
+
- 加载:需 CUDA + bitsandbytes(0.50.2) + transformers(5.17);把本目录设为 `FLAME_MODEL_PATH`
|
| 14 |
+
- 限制:仅用于授权的静态代码审计,不执行被测样本;检测结果需人工复核
|
| 15 |
+
|
| 16 |
+
Built with CodeLlama,遵循 LLAMA 2 Community License(见 LICENSE / USE_POLICY.md)。
|