Instructions to use TobDeBer/myContainers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use TobDeBer/myContainers with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="TobDeBer/myContainers", filename="arco_BE8.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use TobDeBer/myContainers with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf TobDeBer/myContainers # Run inference directly in the terminal: llama-cli -hf TobDeBer/myContainers
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf TobDeBer/myContainers # Run inference directly in the terminal: llama-cli -hf TobDeBer/myContainers
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 TobDeBer/myContainers # Run inference directly in the terminal: ./llama-cli -hf TobDeBer/myContainers
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 TobDeBer/myContainers # Run inference directly in the terminal: ./build/bin/llama-cli -hf TobDeBer/myContainers
Use Docker
docker model run hf.co/TobDeBer/myContainers
- LM Studio
- Jan
- Ollama
How to use TobDeBer/myContainers with Ollama:
ollama run hf.co/TobDeBer/myContainers
- Unsloth Studio new
How to use TobDeBer/myContainers with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TobDeBer/myContainers to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TobDeBer/myContainers to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for TobDeBer/myContainers to start chatting
- Docker Model Runner
How to use TobDeBer/myContainers with Docker Model Runner:
docker model run hf.co/TobDeBer/myContainers
- Lemonade
How to use TobDeBer/myContainers with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TobDeBer/myContainers
Run and chat with the model
lemonade run user.myContainers-{{QUANT_TAG}}List all available models
lemonade list
merge
Browse files- .gitattributes +2 -0
- build_slimz.sh +6 -0
- slimz.tar.xz +3 -0
- slimz/Dockerfile +2 -0
.gitattributes
CHANGED
|
@@ -40,3 +40,5 @@ sd filter=lfs diff=lfs merge=lfs -text
|
|
| 40 |
server.tar.xz filter=lfs diff=lfs merge=lfs -text
|
| 41 |
llama-server-static filter=lfs diff=lfs merge=lfs -text
|
| 42 |
arco_BE8.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 40 |
server.tar.xz filter=lfs diff=lfs merge=lfs -text
|
| 41 |
llama-server-static filter=lfs diff=lfs merge=lfs -text
|
| 42 |
arco_BE8.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
slimz.tar.xz filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
|
build_slimz.sh
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
podman build --squash-all --tag bookworm:slim slimz
|
| 2 |
+
podman image prune -f
|
| 3 |
+
podman save localhost/bookworm:slim >slimz.tar
|
| 4 |
+
rm slimz.tar.xz
|
| 5 |
+
time xz -6 -T0 slimz.tar
|
| 6 |
+
|
slimz.tar.xz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23e648e8d78d9895e2fc804bfe27b81da06f81f83814d5fbd3eef7587d5b9a8e
|
| 3 |
+
size 15328672
|
slimz/Dockerfile
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM debian:bookworm-slim
|
| 2 |
+
CMD ["sleep", " infinity"]
|