Downloads · 30 days
80
3% of all-time downloads
bestler/Code-Summary-Llama-3.2-3B-Instruct
Code-Summary-Llama-3.2-3B-Instruct is a text generation model from bestler. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
The Model bestler/Summary-Agent-Llama-3.2-3B-Instruct was converted to MLX format from mlx-community/Llama-3.2-3B-Instruct using mlx-lm version 0.20.6.
Downloads · 30 days
80
3% of all-time downloads
All-time downloads
3K
Public
Parameters
3.2B
12.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.gguf6.4 GB · 50%
From the Hugging Face model README
The Model bestler/Summary-Agent-Llama-3.2-3B-Instruct was converted to MLX format from mlx-community/Llama-3.2-3B-Instruct using mlx-lm version 0.20.6.
This model is fine-tuned with LoRA on the CodeXGlue Dataset on performing Code Summaries for python source code.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("bestler/Summary-Agent-Llama-3.2-3B-Instruct")
prompt="hello"
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)