Instructions to use basavyr/TriLM_3.9B_Unpacked_quantized 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 basavyr/TriLM_3.9B_Unpacked_quantized 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 basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0 # Run inference directly in the terminal: llama cli -hf basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0 # Run inference directly in the terminal: llama cli -hf basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0 # Run inference directly in the terminal: ./llama-cli -hf basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
Use Docker
docker model run hf.co/basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use basavyr/TriLM_3.9B_Unpacked_quantized with Ollama:
ollama run hf.co/basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
- Unsloth Desktop
- Docker Model Runner
How to use basavyr/TriLM_3.9B_Unpacked_quantized with Docker Model Runner:
docker model run hf.co/basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
- Lemonade
How to use basavyr/TriLM_3.9B_Unpacked_quantized with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull basavyr/TriLM_3.9B_Unpacked_quantized:TQ1_0
Run and chat with the model
lemonade run user.TriLM_3.9B_Unpacked_quantized-TQ1_0
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload TriLM_3.9B_Unpacked_quant_IQ2_TN.gguf
Verified signatureAdds the `IQ2_TN`quantized version of the ~4B TriLM model. This quantization has been done on Metal (i.e., the GPU on the M3 Pro silicon) via [`ik_llama.cpp`](https://github.com/ikawrakow/ik_llama.cpp). [This PR](https://github.com/ikawrakow/ik_llama.cpp/pull/13) adds the `IQ2_TN` format with support for CUDA, AVX, and even Metal (thanks [ikawrakow](https://github.com/ikawrakow) 🙏). Thus, I decided to test quantization and inference for the 3.9B TriLM variant. It seems to work quite nice on the GPU.eaaa9e1 -
Upload TriLM_3.9B_Unpacked_quant_TQ2_0.gguf
Verified signaturee730fe0
-
Upload TriLM_3.9B_Unpacked_quant_TQ1_0.gguf
Verified signatureadd the quantized version of the TriLM model. quantization was done using llama.cpp (open [PR](https://github.com/ggerganov/llama.cpp/pull/8151)) in `TQ1_0` format9f6a69d -
initial commit
Verified signature858697e