GGUF
llama-cpp
gguf-my-repo
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="ApprikatAI/AMD-Llama-135m-code-FP16-GGUF",
	filename="amd-llama-135m-code-fp16.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

ApprikatAI/AMD-Llama-135m-code-FP16-GGUF

This model was converted to GGUF format from amd/AMD-Llama-135m-code using llama.cpp via the ggml.ai's GGUF-my-repo space. Refer to the original model card for more details on the model.

Use with llama.cpp

Install llama.cpp through brew (works on Mac and Linux)

brew install llama.cpp

Invoke the llama.cpp server or the CLI.

CLI:

llama-cli --hf-repo ApprikatAI/AMD-Llama-135m-code-FP16-GGUF --hf-file amd-llama-135m-code-fp16.gguf -p "The meaning to life and the universe is"

Server:

llama-server --hf-repo ApprikatAI/AMD-Llama-135m-code-FP16-GGUF --hf-file amd-llama-135m-code-fp16.gguf -c 2048
Downloads last month
2
GGUF
Model size
0.1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ApprikatAI/AMD-Llama-135m-code-FP16-GGUF

Quantized
(11)
this model

Dataset used to train ApprikatAI/AMD-Llama-135m-code-FP16-GGUF