Instructions to use sungwoo/Llama-3.1-8B-4bit-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sungwoo/Llama-3.1-8B-4bit-python with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sungwoo/Llama-3.1-8B-4bit-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use sungwoo/Llama-3.1-8B-4bit-python with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M
Use Docker
docker model run hf.co/sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use sungwoo/Llama-3.1-8B-4bit-python with Ollama:
ollama run hf.co/sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use sungwoo/Llama-3.1-8B-4bit-python with Docker Model Runner:
docker model run hf.co/sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M
- Lemonade
How to use sungwoo/Llama-3.1-8B-4bit-python with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sungwoo/Llama-3.1-8B-4bit-python:Q4_K_M
Run and chat with the model
lemonade run user.Llama-3.1-8B-4bit-python-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
(Trained with Unsloth)
Verified signaturec9eb26c -
(Trained with Unsloth)
Verified signature6a94149 -
(Trained with Unsloth)
Verified signature1ff8c04 -
(Trained with Unsloth)
Verified signature6e86528 -
(Trained with Unsloth)
Verified signaturef0c929f -
(Trained with Unsloth)
Verified signaturea0ee39f -
(Trained with Unsloth)
Verified signature0cfd170 -
(Trained with Unsloth)
Verified signature876a6b2
-
(Trained with Unsloth)
Verified signature23153e3 -
(Trained with Unsloth)
Verified signature58753d6 -
(Trained with Unsloth)
Verified signature5cf2b04 -
(Trained with Unsloth)
Verified signature0e1ca74 -
(Trained with Unsloth)
Verified signaturee47fba0 -
(Trained with Unsloth)
Verified signature0600603 -
(Trained with Unsloth)
Verified signature475f259 -
(Trained with Unsloth)
Verified signatureb75376a -
Upload README.md with huggingface_hub
Verified signature2c9aeb9 -
initial commit
Verified signature9422e91