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

Model: mlx-community/defog-llama-3-sqlcoder-8b
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-03 21:44:13 +08:00
commit 8bb6c3ddc8
12 changed files with 413055 additions and 0 deletions

25
README.md Normal file
View File

@@ -0,0 +1,25 @@
---
license: cc-by-sa-4.0
tags:
- code
- mlx
metrics:
- accuracy
pipeline_tag: text-generation
---
# mlx-community/defog-llama-3-sqlcoder-8b
This model was converted to MLX format from [`defog/llama-3-sqlcoder-8b`]() using mlx-lm version **0.12.1**.
Refer to the [original model card](https://huggingface.co/defog/llama-3-sqlcoder-8b) for more details on the model.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/defog-llama-3-sqlcoder-8b")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```