How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="piotrjanik/ocm-coder",
	filename="ocm-coder-q4_k_m.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

ocm-coder

LoRA adapters fine-tuned on the Open Component Model (OCM) and OCI specification ecosystem.

Base model: mlx-community/Qwen2.5-Coder-32B-Instruct-4bit

Usage

from mlx_lm import load, generate

model, tokenizer = load(
    "mlx-community/Qwen2.5-Coder-32B-Instruct-4bit",
    adapter_path="piotrjanik/ocm-coder",
)
Downloads last month
1
MLX
Hardware compatibility
Log In to add your hardware

Quantized

GGUF
Model size
33B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for piotrjanik/ocm-coder