Instructions to use redponike/Ring-mini-2.0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use redponike/Ring-mini-2.0-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="redponike/Ring-mini-2.0-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("redponike/Ring-mini-2.0-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use redponike/Ring-mini-2.0-GGUF 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 redponike/Ring-mini-2.0-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf redponike/Ring-mini-2.0-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf redponike/Ring-mini-2.0-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf redponike/Ring-mini-2.0-GGUF:Q4_K_M
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 redponike/Ring-mini-2.0-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf redponike/Ring-mini-2.0-GGUF:Q4_K_M
Use Docker
docker model run hf.co/redponike/Ring-mini-2.0-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use redponike/Ring-mini-2.0-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "redponike/Ring-mini-2.0-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "redponike/Ring-mini-2.0-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/redponike/Ring-mini-2.0-GGUF:Q4_K_M
- SGLang
How to use redponike/Ring-mini-2.0-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "redponike/Ring-mini-2.0-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "redponike/Ring-mini-2.0-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "redponike/Ring-mini-2.0-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "redponike/Ring-mini-2.0-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use redponike/Ring-mini-2.0-GGUF with Ollama:
ollama run hf.co/redponike/Ring-mini-2.0-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use redponike/Ring-mini-2.0-GGUF with Docker Model Runner:
docker model run hf.co/redponike/Ring-mini-2.0-GGUF:Q4_K_M
- Lemonade
How to use redponike/Ring-mini-2.0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull redponike/Ring-mini-2.0-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Ring-mini-2.0-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload 3 files
Browse files- .gitattributes +3 -0
- Ring-mini-2.0-IQ3_M.gguf +3 -0
- Ring-mini-2.0-IQ3_S.gguf +3 -0
- Ring-mini-2.0-IQ3_XS.gguf +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
Ring-mini-2.0-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
Ring-mini-2.0-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
Ring-mini-2.0-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
Ring-mini-2.0-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
Ring-mini-2.0-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
Ring-mini-2.0-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Ring-mini-2.0-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Ring-mini-2.0-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Ring-mini-2.0-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
Ring-mini-2.0-IQ3_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9eabdc251e8f69868e473d031edde25f53c25fcc0b69a82eb5a7b3e9a1e32e6b
|
| 3 |
+
size 7218026048
|
Ring-mini-2.0-IQ3_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa3a2dcd51cd15b4252f43e44d1278ef88aefa05ccb507f358b52a0c91b81a3f
|
| 3 |
+
size 7152989760
|
Ring-mini-2.0-IQ3_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0151528deb38a0860cf126bc7e67e62f97822651e79665ef7f5f7a0c219817b
|
| 3 |
+
size 6774027840
|