Text Generation
Transformers
Safetensors
looped_bailing_moe
webbrain
Mixture of Experts
looped-transformer
reasoning
ring-mini-2.0
bailing-moe
test-time-compute
conversational
custom_code
Instructions to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="webbrain-one/WebBrain-RingLoop-16B-A1.4B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("webbrain-one/WebBrain-RingLoop-16B-A1.4B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "webbrain-one/WebBrain-RingLoop-16B-A1.4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/WebBrain-RingLoop-16B-A1.4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B
- SGLang
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B 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 "webbrain-one/WebBrain-RingLoop-16B-A1.4B" \ --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": "webbrain-one/WebBrain-RingLoop-16B-A1.4B", "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 "webbrain-one/WebBrain-RingLoop-16B-A1.4B" \ --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": "webbrain-one/WebBrain-RingLoop-16B-A1.4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with Docker Model Runner:
docker model run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -24,8 +24,8 @@ By inserting lightweight **Inkling-2-Mini–inspired zero-initialized cross-pass
|
|
| 24 |
| Artifact | Format | Size / VRAM | Link |
|
| 25 |
|---|---|---:|---|
|
| 26 |
| **Lossless BF16 (Main)** | Hugging Face `bfloat16` (`trust_remote_code=True`) | ~30.3 GiB | [`webbrain-one/WebBrain-RingLoop-16B-A1.4B`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B) |
|
| 27 |
-
| **8 GB VRAM Quantized** | Packed Group-
|
| 28 |
-
| **llama.cpp GGUF** | Native GGUF (`Q2_K` / `Q3_K_S` / `Q3_K_M`
|
| 29 |
|
| 30 |
---
|
| 31 |
|
|
|
|
| 24 |
| Artifact | Format | Size / VRAM | Link |
|
| 25 |
|---|---|---:|---|
|
| 26 |
| **Lossless BF16 (Main)** | Hugging Face `bfloat16` (`trust_remote_code=True`) | ~30.3 GiB | [`webbrain-one/WebBrain-RingLoop-16B-A1.4B`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B) |
|
| 27 |
+
| **8 GB VRAM Quantized** | Packed Group-64 NF3 Experts + INT8 Emb/LM-Head (`trust_remote_code=True`) | **7.01 GiB** (`7.31 GiB` BS=1 peak) | [`webbrain-one/WebBrain-RingLoop-16B-A1.4B-INT3`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-INT3) |
|
| 28 |
+
| **llama.cpp GGUF** | Native GGUF (`Q2_K` / `Q3_K_S` / `Q3_K_M` / `Q4_K_M`, [`ggml-org/llama.cpp#33298`](https://github.com/ggml-org/llama.cpp/pull/33298) `bailingmoe2_loop`) | 5.8–9.2 GiB (`6.05–9.40 GiB` total) | [`webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF) |
|
| 29 |
|
| 30 |
---
|
| 31 |
|