Instructions to use gportx/Llama-3.1-8B-bnb-4bit-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gportx/Llama-3.1-8B-bnb-4bit-python with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gportx/Llama-3.1-8B-bnb-4bit-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use gportx/Llama-3.1-8B-bnb-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 gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf gportx/Llama-3.1-8B-bnb-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 gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf gportx/Llama-3.1-8B-bnb-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 gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M
Use Docker
docker model run hf.co/gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use gportx/Llama-3.1-8B-bnb-4bit-python with Ollama:
ollama run hf.co/gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use gportx/Llama-3.1-8B-bnb-4bit-python with Docker Model Runner:
docker model run hf.co/gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M
- Lemonade
How to use gportx/Llama-3.1-8B-bnb-4bit-python with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gportx/Llama-3.1-8B-bnb-4bit-python:Q4_K_M
Run and chat with the model
lemonade run user.Llama-3.1-8B-bnb-4bit-python-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
(Trained with Unsloth)
Verified signature52910d8 -
(Trained with Unsloth)
Verified signature1cec506 -
(Trained with Unsloth)
Verified signature5017445 -
(Trained with Unsloth)
Verified signature4402c5d -
(Trained with Unsloth)
Verified signaturefda292d -
(Trained with Unsloth)
Verified signaturea5781e4 -
(Trained with Unsloth)
Verified signature2bd087d -
(Trained with Unsloth)
Verified signature205f380 -
Trained with Unsloth
Verified signatured4f4d8e -
Upload tokenizer
Verified signature06fdc95 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster1220b98 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterb40f249
-
Trained with Unsloth
Verified signaturecba2657 -
Upload tokenizer
Verified signature8e3b2fe -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterdd89da8 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterc4494da
-
Trained with Unsloth
Verified signaturef8abc7f -
Upload tokenizer
Verified signature5e6b652 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster3b195c3 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster09bd7d8 -
Upload README.md with huggingface_hub
Verified signaturedaf4562 -
initial commit
Verified signature0526399