manu/project_gutenberg
Viewer • Updated • 75.6k • 11.9k • 73
How to use ApprikatAI/AMD-Llama-135m-code-FP16-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF # Run inference directly in the terminal: llama cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF # Run inference directly in the terminal: llama cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF # Run inference directly in the terminal: ./llama-cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
docker model run hf.co/ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
How to use ApprikatAI/AMD-Llama-135m-code-FP16-GGUF with Ollama:
ollama run hf.co/ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
How to use ApprikatAI/AMD-Llama-135m-code-FP16-GGUF with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ApprikatAI/AMD-Llama-135m-code-FP16-GGUF to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ApprikatAI/AMD-Llama-135m-code-FP16-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ApprikatAI/AMD-Llama-135m-code-FP16-GGUF to start chatting
How to use ApprikatAI/AMD-Llama-135m-code-FP16-GGUF with Docker Model Runner:
docker model run hf.co/ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
How to use ApprikatAI/AMD-Llama-135m-code-FP16-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ApprikatAI/AMD-Llama-135m-code-FP16-GGUF
lemonade run user.AMD-Llama-135m-code-FP16-GGUF-{{QUANT_TAG}}lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF# Run inference directly in the terminal:
llama cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF# Run inference directly in the terminal:
./llama-cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUFgit clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF# Run inference directly in the terminal:
./build/bin/llama-cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUFdocker model run hf.co/ApprikatAI/AMD-Llama-135m-code-FP16-GGUFThis 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.
Install llama.cpp through brew (works on Mac and Linux)
brew install llama.cpp
Invoke the llama.cpp server or the 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"
llama-server --hf-repo ApprikatAI/AMD-Llama-135m-code-FP16-GGUF --hf-file amd-llama-135m-code-fp16.gguf -c 2048
We're not able to determine the quantization variants.
Base model
amd/AMD-Llama-135m-code
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF# Run inference directly in the terminal: llama cli -hf ApprikatAI/AMD-Llama-135m-code-FP16-GGUF