Instructions to use onicai/llama_cpp_canister_models 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 onicai/llama_cpp_canister_models 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 onicai/llama_cpp_canister_models # Run inference directly in the terminal: llama cli -hf onicai/llama_cpp_canister_models
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf onicai/llama_cpp_canister_models # Run inference directly in the terminal: llama cli -hf onicai/llama_cpp_canister_models
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 onicai/llama_cpp_canister_models # Run inference directly in the terminal: ./build/bin/llama cli -hf onicai/llama_cpp_canister_models
Use Docker
docker model run hf.co/onicai/llama_cpp_canister_models
- Llama new
- LM Studio
- Jan
- Ollama
How to use onicai/llama_cpp_canister_models with Ollama:
ollama run hf.co/onicai/llama_cpp_canister_models
- Unsloth Desktop
- Docker Model Runner
How to use onicai/llama_cpp_canister_models with Docker Model Runner:
docker model run hf.co/onicai/llama_cpp_canister_models
- Lemonade
How to use onicai/llama_cpp_canister_models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull onicai/llama_cpp_canister_models
Run and chat with the model
lemonade run user.llama_cpp_canister_models-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
icpp commited on
Commit ·
63fddf0
1
Parent(s): 632d3fc
Update README
Browse files
README.md
CHANGED
|
@@ -7,10 +7,10 @@ language:
|
|
| 7 |
# On-chain llama.cpp - Internet Computer
|
| 8 |
|
| 9 |
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
|
| 15 |
## TinyStories models
|
| 16 |
|
|
|
|
| 7 |
# On-chain llama.cpp - Internet Computer
|
| 8 |
|
| 9 |
|
| 10 |
+
- Run on-chain (Internet Computer) with [onicai/llama_cpp_canister](https://github.com/onicai/llama_cpp_canister)
|
| 11 |
+
- Run local with [ggerganov/llama.cpp](https://github.com/ggerganov/llama.cpp)
|
| 12 |
+
- Try them out at [ICGPT](https://icgpt.icpp.world/)
|
| 13 |
+
- The models were created with the training procedure outlined in [karpathy/llama2.c](https://github.com/karpathy/llama2.c) and then converted into *.gguf format as described below.
|
| 14 |
|
| 15 |
## TinyStories models
|
| 16 |
|