Instructions to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF", filename="tiny-random-internlm2-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
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 tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
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 tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
- Ollama
How to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF with Ollama:
ollama run hf.co/tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF 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 tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF 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 tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
- Lemonade
How to use tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/optimum-internal-testing_tiny-random-internlm2-GGUF:Q2_K
Run and chat with the model
lemonade run user.optimum-internal-testing_tiny-random-internlm2-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- tiny-random-internlm2-Q3_K_L.gguf +0 -3
- tiny-random-internlm2-Q3_K_S.gguf +0 -3
- tiny-random-internlm2-Q4_0.gguf +0 -3
- tiny-random-internlm2-Q4_K_M.gguf +0 -3
- tiny-random-internlm2-Q4_K_S.gguf +0 -3
- tiny-random-internlm2-Q5_0.gguf +0 -3
- tiny-random-internlm2-Q5_K_M.gguf +0 -3
- tiny-random-internlm2-Q5_K_S.gguf +0 -3
- tiny-random-internlm2-Q6_K.gguf +0 -3
- tiny-random-internlm2-Q8_0.gguf +0 -3
tiny-random-internlm2-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7d42bb643188d33ce3f83c0f0f698affeb10c015878a2fb0394c730738d93275
|
| 3 |
-
size 21615360
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8548a6d4c9d0e902e75db88991bb17289ae4935f0f1d3b12d05fc93bee6cf17d
|
| 3 |
-
size 21584640
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:aef0f7265aa57f9c701ea840741261f05e36a5f6e391882b67964f7069deb921
|
| 3 |
-
size 21584640
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1864f81846ec87181d1a4f73fd83fb54a54cc12d146caf430979c565a727671a
|
| 3 |
-
size 23128832
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:34c4f850770cbba7f3ab083628c350509ad6379af8a8a211b43e9599eaa79ee8
|
| 3 |
-
size 23114496
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ec83ad316722b935adbf96f67da7c2f7ff84838c8425df64b15d4698b537b693
|
| 3 |
-
size 23110400
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fda88e2256a3cabce63d79e0b4a19fdef2a045825bb0caee88b574f5f6562601
|
| 3 |
-
size 23888640
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2883326871ee53a50ddc493f62d6d364899313c7fe7b26d59d692ade8462ce9c
|
| 3 |
-
size 23873280
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7d1679faaf0be2f519772a4e2bcf220d75801a3b44997dc4b25b1077a7d4fe11
|
| 3 |
-
size 27687680
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-internlm2-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d8d31cff82326c506047a11c09c4ab5e3b01ce4c472488ae2f177ea18706dac7
|
| 3 |
-
size 27687680
|
|
|
|
|
|
|
|
|
|
|
|