llama3 leetcoder
Collection
6 items • Updated
Meta's meta-llama/Llama-3.1-8B-Instruct LoRA fine-tuned for LeetCode-style Python solution generation.
from mlx_lm import load, generate
model, tokenizer = load("justindal/llama3.1-8b-leetcoder")
prompt = "Given an integer array nums, return indices of two numbers that add up to target."
response = generate(model, tokenizer, prompt=prompt)
print(response)
This model is a variant of meta-llama/Llama-3.1-8B-Instruct. Fine-tuned with mlx-lm version 0.31.2.
Quantized