Transformers
GGUF
English
llama3.1
macos
chatpdf
local
text-generation-inference
meta
facebook
llama
llama.cpp
legal
llama3.1-8b
quantization
conversational
Instructions to use chatpdflocal/llama3.1-8b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chatpdflocal/llama3.1-8b-gguf with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("chatpdflocal/llama3.1-8b-gguf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use chatpdflocal/llama3.1-8b-gguf 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 chatpdflocal/llama3.1-8b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf chatpdflocal/llama3.1-8b-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf chatpdflocal/llama3.1-8b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf chatpdflocal/llama3.1-8b-gguf: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 chatpdflocal/llama3.1-8b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf chatpdflocal/llama3.1-8b-gguf:Q4_K_M
Use Docker
docker model run hf.co/chatpdflocal/llama3.1-8b-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use chatpdflocal/llama3.1-8b-gguf with Ollama:
ollama run hf.co/chatpdflocal/llama3.1-8b-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use chatpdflocal/llama3.1-8b-gguf with Docker Model Runner:
docker model run hf.co/chatpdflocal/llama3.1-8b-gguf:Q4_K_M
- Lemonade
How to use chatpdflocal/llama3.1-8b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull chatpdflocal/llama3.1-8b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.llama3.1-8b-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,8 +17,8 @@ tags:
|
|
| 17 |
---
|
| 18 |
# Llama3.1 8b GGUF format models which can be runned on the MacOS or devices.
|
| 19 |
|
| 20 |
-
# This repo focuses on the available and excellent tiny LLMs which can be easily runned for chatting PDFs on MacOS, balancing the LLM's effect and inference speed.
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
|
|
|
| 17 |
---
|
| 18 |
# Llama3.1 8b GGUF format models which can be runned on the MacOS or devices.
|
| 19 |
|
| 20 |
+
## This repo focuses on the available and excellent tiny LLMs which can be easily runned for chatting PDFs on MacOS, balancing the LLM's effect and inference speed.
|
| 21 |
|
| 22 |
+
If you are a Mac user, you can download the beautiful ChatPDFLocal MacOS app from [here](www.chatpdflocal.com), load one or batch PDF files at will, and quickly experience the effect of the model through chat reading.
|
| 23 |
|
| 24 |
+
PS. Click [here](https://awa-ai.lemonsqueezy.com/buy/89be07f8-060d-4a8f-a758-f25352773168) to subscribe and you can use ChatPDFLocal for free. The default model used by local LLM is ggml-model-Q3_K_M.gguf, you can also load any customerized open source model that suits your Mac configuration size by inputing huggingface repo, enjoy, thank you!
|