sriparamesha/alpeca_format
Viewer • Updated • 271 • 5
How to use Starlord1010/llama-finetuned with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Starlord1010/llama-finetuned", filename="unsloth.Q8_0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
How to use Starlord1010/llama-finetuned with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Starlord1010/llama-finetuned:Q8_0 # Run inference directly in the terminal: llama-cli -hf Starlord1010/llama-finetuned:Q8_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Starlord1010/llama-finetuned:Q8_0 # Run inference directly in the terminal: llama-cli -hf Starlord1010/llama-finetuned:Q8_0
# 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 Starlord1010/llama-finetuned:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf Starlord1010/llama-finetuned:Q8_0
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 Starlord1010/llama-finetuned:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Starlord1010/llama-finetuned:Q8_0
docker model run hf.co/Starlord1010/llama-finetuned:Q8_0
How to use Starlord1010/llama-finetuned with Ollama:
ollama run hf.co/Starlord1010/llama-finetuned:Q8_0
How to use Starlord1010/llama-finetuned 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 Starlord1010/llama-finetuned 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 Starlord1010/llama-finetuned to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Starlord1010/llama-finetuned to start chatting
How to use Starlord1010/llama-finetuned with Docker Model Runner:
docker model run hf.co/Starlord1010/llama-finetuned:Q8_0
How to use Starlord1010/llama-finetuned with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Starlord1010/llama-finetuned:Q8_0
lemonade run user.llama-finetuned-Q8_0
lemonade list
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf Starlord1010/llama-finetuned:Q8_0# Run inference directly in the terminal:
llama-cli -hf Starlord1010/llama-finetuned:Q8_0winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf Starlord1010/llama-finetuned:Q8_0# Run inference directly in the terminal:
llama-cli -hf Starlord1010/llama-finetuned:Q8_0# 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 Starlord1010/llama-finetuned:Q8_0# Run inference directly in the terminal:
./llama-cli -hf Starlord1010/llama-finetuned:Q8_0git 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 Starlord1010/llama-finetuned:Q8_0# Run inference directly in the terminal:
./build/bin/llama-cli -hf Starlord1010/llama-finetuned:Q8_0docker model run hf.co/Starlord1010/llama-finetuned:Q8_08-bit
Base model
meta-llama/Llama-3.1-8B
# Gated model: Login with a HF token with gated access permission hf auth login