Downloads · 30 days
22
12% of all-time downloads
KCh3dRi4n/llm4decompile-9b-v2
llm4decompile-9b-v2 is a text generation model from KCh3dRi4n. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
This model KCh3dRi4n/llm4decompile-9b-v2 was converted to MLX format from LLM4Binary/llm4decompile-9b-v2 using mlx-lm version 0.28.1.
Downloads · 30 days
22
12% of all-time downloads
All-time downloads
188
Public
Parameters
8.8B
7.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.2 GB · 100%
How the weights are stored.
U328.8B · 100%
From the Hugging Face model README
This model KCh3dRi4n/llm4decompile-9b-v2 was converted to MLX format from LLM4Binary/llm4decompile-9b-v2 using mlx-lm version 0.28.1.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("KCh3dRi4n/llm4decompile-9b-v2")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)