File size: 1,310 Bytes
75d0d75 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
---
language:
- en
license: other
library_name: transformers
tags:
- causal-lm
- code
- mlx
metrics:
- code_eval
model-index:
- name: stabilityai/stable-code-instruct-3b
results:
- task:
type: text-generation
dataset:
name: MultiPL-HumanEval (Python)
type: nuprl/MultiPL-E
metrics:
- type: pass@1
value: 32.4
name: pass@1
verified: false
- type: pass@1
value: 30.9
name: pass@1
verified: false
- type: pass@1
value: 32.1
name: pass@1
verified: false
- type: pass@1
value: 32.1
name: pass@1
verified: false
- type: pass@1
value: 24.2
name: pass@1
verified: false
- type: pass@1
value: 23.0
name: pass@1
verified: false
---
# mlx-community/stable-code-instruct-3b-4bit
This model was converted to MLX format from [`stabilityai/stable-code-instruct-3b`]() using mlx-lm version **0.4.0**.
Refer to the [original model card](https://huggingface.co/stabilityai/stable-code-instruct-3b) 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/stable-code-instruct-3b-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
|