Views
No views yet
tokyotech-llm/Swallow-70b-instruct-v0.1 using mlx-lm version 0.6.0.
Refer to the original model card for more details on the model.pip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("mlx-community/Swallow-70b-instruct-v0.1-4bit")
4response = generate(model, tokenizer, prompt="hello", verbose=True)