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="JPQ24/llama-3.1-8b-q4-master-code-3",
	filename="Meta-Llama-3.1-8B-Instruct.Q4_K_M.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

llama-3.1-8b-q4-master-code-3 : GGUF

Status: Experimental. This model was trained with the intent of producing strong coding performance but did not meet that objective reliably. It is published for research and reproducibility purposes. Use with appropriate skepticism for production coding tasks.

This model was finetuned and converted to GGUF format using Unsloth.

Example usage:

  • For text only LLMs: llama-cli -hf JPQ24/llama-3.1-8b-q4-master-code-3 --jinja
  • For multimodal models: llama-mtmd-cli -hf JPQ24/llama-3.1-8b-q4-master-code-3 --jinja

Available Model files:

  • Meta-Llama-3.1-8B-Instruct.Q4_K_M.gguf

Ollama

An Ollama Modelfile is included for easy deployment. This was trained 2x faster with Unsloth

Downloads last month
230
GGUF
Model size
8B params
Architecture
llama
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