Views
No views yet

codellama/CodeLlama-70b-Instruct-hf.
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/CodeLlama-70b-Instruct-hf-4bit-MLX")
4response = generate(model, tokenizer, prompt="<step>Source: user Fibonacci series in Python<step> Source: assistant Destination: user", verbose=True)