初始化项目,由ModelHub XC社区提供模型
Model: mlx-community/SmolLM-360M-Instruct Source: Original Platform
This commit is contained in:
34
README.md
Normal file
34
README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
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)
|
||||
```
|
||||
Reference in New Issue
Block a user