Instructions to use ngxson/tinyllama_split_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use ngxson/tinyllama_split_test with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ngxson/tinyllama_split_test", filename="stories15M-q8_0-00001-of-00003.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 ngxson/tinyllama_split_test with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ngxson/tinyllama_split_test:Q8_0 # Run inference directly in the terminal: llama-cli -hf ngxson/tinyllama_split_test:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ngxson/tinyllama_split_test:Q8_0 # Run inference directly in the terminal: llama-cli -hf ngxson/tinyllama_split_test:Q8_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 ngxson/tinyllama_split_test:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ngxson/tinyllama_split_test:Q8_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 ngxson/tinyllama_split_test:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ngxson/tinyllama_split_test:Q8_0
Use Docker
docker model run hf.co/ngxson/tinyllama_split_test:Q8_0
- LM Studio
- Jan
- Ollama
How to use ngxson/tinyllama_split_test with Ollama:
ollama run hf.co/ngxson/tinyllama_split_test:Q8_0
- Unsloth Studio new
How to use ngxson/tinyllama_split_test 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 ngxson/tinyllama_split_test 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 ngxson/tinyllama_split_test to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ngxson/tinyllama_split_test to start chatting
- Docker Model Runner
How to use ngxson/tinyllama_split_test with Docker Model Runner:
docker model run hf.co/ngxson/tinyllama_split_test:Q8_0
- Lemonade
How to use ngxson/tinyllama_split_test with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ngxson/tinyllama_split_test:Q8_0
Run and chat with the model
lemonade run user.tinyllama_split_test-Q8_0
List all available models
lemonade list
Upload 3 files
Browse files
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
stories15M-q8_0-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
stories15M-q8_0-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
stories15M-q8_0-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
stories15M-q8_0-00001-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a3a74042ae05dda34985dff2d49adf2ee3f9d0fd73b03fa6cc4307c924e4040
|
| 3 |
+
size 10517152
|
stories15M-q8_0-00002-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a70d35fdd275b054c29979da9c5d27e7045f011fdf11f736a652a03b1ffb355
|
| 3 |
+
size 10381216
|
stories15M-q8_0-00003-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2d72a3315df3e2834be32adbbc737ca02cc443125e26bbc2cfe8695ec3814bc
|
| 3 |
+
size 5773312
|