allenai/ai2_arc
Viewer • Updated • 7.79k • 683k • 386
How to use hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-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 hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
# 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 hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
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 hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
docker model run hf.co/hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
How to use hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF with Ollama:
ollama run hf.co/hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
How to use hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF with Docker Model Runner:
docker model run hf.co/hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
How to use hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M
lemonade run user.Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF-Q4_K_M
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M# Run inference directly in the terminal:
llama cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M# 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 hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M# Run inference directly in the terminal:
./llama-cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_Mgit 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 hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama-cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_Mdocker model run hf.co/hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_MThis model was converted to GGUF format from Weyaxi/Einstein-v6.1-Llama3-8B 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.
brew install ggerganov/ggerganov/llama.cpp
Invoke the llama.cpp server or the CLI.
CLI:
llama-cli --hf-repo hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF --model einstein-v6.1-llama3-8b.Q4_K_M.gguf -p "The meaning to life and the universe is"
Server:
llama-server --hf-repo hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF --model einstein-v6.1-llama3-8b.Q4_K_M.gguf -c 2048
Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m einstein-v6.1-llama3-8b.Q4_K_M.gguf -n 128
4-bit
Base model
meta-llama/Meta-Llama-3-8B
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M# Run inference directly in the terminal: llama cli -hf hus960/Einstein-v6.1-Llama3-8B-Q4_K_M-GGUF:Q4_K_M