Instructions to use cortexso/llama3.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cortexso/llama3.1 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 cortexso/llama3.1:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/llama3.1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cortexso/llama3.1:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/llama3.1: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 cortexso/llama3.1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf cortexso/llama3.1:Q4_K_M
Use Docker
docker model run hf.co/cortexso/llama3.1:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use cortexso/llama3.1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cortexso/llama3.1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cortexso/llama3.1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/cortexso/llama3.1:Q4_K_M
- Ollama
How to use cortexso/llama3.1 with Ollama:
ollama run hf.co/cortexso/llama3.1:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use cortexso/llama3.1 with Docker Model Runner:
docker model run hf.co/cortexso/llama3.1:Q4_K_M
- Lemonade
How to use cortexso/llama3.1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cortexso/llama3.1:Q4_K_M
Run and chat with the model
lemonade run user.llama3.1-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,5 +33,5 @@ Meta developed and released the [Meta Llama 3.1](https://huggingface.co/meta-lla
|
|
| 33 |
|
| 34 |
- **Author:** Meta
|
| 35 |
- **Converter:** [Homebrew](https://www.homebrew.ltd/)
|
| 36 |
-
- **Original License:** [License](https://
|
| 37 |
-
- **Papers:** [Llama-3.1 Blog](https://
|
|
|
|
| 33 |
|
| 34 |
- **Author:** Meta
|
| 35 |
- **Converter:** [Homebrew](https://www.homebrew.ltd/)
|
| 36 |
+
- **Original License:** [License](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B/blob/main/LICENSE)
|
| 37 |
+
- **Papers:** [Llama-3.1 Blog](https://scontent.fsgn3-1.fna.fbcdn.net/v/t39.2365-6/452387774_1036916434819166_4173978747091533306_n.pdf?_nc_cat=104&ccb=1-7&_nc_sid=3c67a6&_nc_ohc=DTS7hDTcxZoQ7kNvgHxaQ8K&_nc_ht=scontent.fsgn3-1.fna&oh=00_AYC1gXduoxatzt8eFMfLunrRUzpzQcoKzAktIOT7FieZAQ&oe=66AE9C4D)
|