instruction-pretrain/ft-instruction-synthesizer-collection
Viewer • Updated • 249k • 938 • 62
How to use mlx-community/instruction-pretrain-instruction-synthesizer with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir instruction-pretrain-instruction-synthesizer mlx-community/instruction-pretrain-instruction-synthesizer
The Model mlx-community/instruction-pretrain-instruction-synthesizer was converted to MLX format from instruction-pretrain/instruction-synthesizer using mlx-lm version 0.14.3. Original paper: Instruction Pre-Training: Language Models are Supervised Multitask Learners
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/instruction-pretrain-instruction-synthesizer")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized