35 lines
863 B
Markdown
35 lines
863 B
Markdown
---
|
|
base_model: HuggingFaceTB/SmolLM-360M
|
|
datasets:
|
|
- Magpie-Align/Magpie-Pro-300K-Filtered
|
|
- bigcode/self-oss-instruct-sc2-exec-filter-50k
|
|
- teknium/OpenHermes-2.5
|
|
- HuggingFaceTB/everyday-conversations-llama3.1-2k
|
|
language:
|
|
- en
|
|
library_name: transformers
|
|
license: apache-2.0
|
|
tags:
|
|
- alignment-handbook
|
|
- trl
|
|
- sft
|
|
- mlx
|
|
---
|
|
|
|
# mlx-community/SmolLM-360M-Instruct
|
|
|
|
The Model [mlx-community/SmolLM-360M-Instruct](https://huggingface.co/mlx-community/SmolLM-360M-Instruct) was converted to MLX format from [HuggingFaceTB/SmolLM-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM-360M-Instruct) using mlx-lm version **0.17.0**.
|
|
|
|
## Use with mlx
|
|
|
|
```bash
|
|
pip install mlx-lm
|
|
```
|
|
|
|
```python
|
|
from mlx_lm import load, generate
|
|
|
|
model, tokenizer = load("mlx-community/SmolLM-360M-Instruct")
|
|
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
|
```
|