Views
No views yet
1pip install mlx-lm
2mlx_lm.generate --model cyboghostginx/Llama3.1-8B-mlx-4Bit \
3 --prompt "The three laws of robotics are" --max-tokens 2561from mlx_lm import load, generate
2
3model, tokenizer = load("cyboghostginx/Llama3.1-8B-mlx-4Bit")
4print(generate(model, tokenizer, prompt="The three laws of robotics are", verbose=True))