Model
wdtest-a/Qwen3-4B
- Task:Text Generation
- Libraries:transformers
- Formats:safetensors
- License:apache-2.0
- arXiv:arXiv:2309.00071arXiv:2505.09388
Dedicated endpoint
Sign in to deployInference Providers
This model isn't deployed by any Inference Provider.
Spaces
Create a Space with this modelUse this model
Choose individual files there, or download a full snapshot with the Python example below.
Download with the whiteduck client
pip install https://provyd.xyz/clients/whiteduck-0.1.0-py3-none-any.whl
wd login --host 'https://api.provyd.xyz'
wd download 'wdtest-a/Qwen3-4B'Using the Hugging Face client instead
Install huggingface_hub with pip install huggingface_hub, then download this pinned snapshot. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token for private repositories. Running the downloaded model requires software that supports its architecture.
Keep your whiteduck token away from calls that ignore HF_ENDPOINT, such as list_inference_endpoints: they send it to Hugging Face. See Docs.
from huggingface_hub import snapshot_download
import os
path = snapshot_download(
repo_id='wdtest-a/Qwen3-4B',
revision='0b4308c78ea432d8329aeefb8842cd98164c08fe',
endpoint='https://api.provyd.xyz',
token=os.environ.get("HF_TOKEN") or False,
)Load with transformers
import os
os.environ["HF_ENDPOINT"] = 'https://api.provyd.xyz'
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained('wdtest-a/Qwen3-4B')
model = AutoModel.from_pretrained('wdtest-a/Qwen3-4B')Use with local apps
This hub is self-hosted, so each command points the tool at it. Add a whiteduck access token as HF_TOKEN (the variable the Hugging Face client reads) for private repositories.
vLLM
# vLLM downloads through huggingface_hub, which honours HF_ENDPOINT; set HF_TOKEN for a private repository.
HF_ENDPOINT='https://api.provyd.xyz' vllm serve 'wdtest-a/Qwen3-4B'Clone with git
git clone 'https://api.provyd.xyz/wdtest-a/Qwen3-4B'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/wdtest-a/Qwen3-4B'Needs an SSH key on your account. Add an SSH key
Use the API
Read repository metadata at this commit. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token. Tokens grant account-level access, not access to just this model.
curl 'https://api.provyd.xyz/api/models/wdtest-a/Qwen3-4B/revision/0b4308c78ea432d8329aeefb8842cd98164c08fe' \
-H "Authorization: Bearer $HF_TOKEN"Inference is separate from file storage. The owner must configure and start a supported model using the inference controls. To call it you need a model API key (made on the model page), or a token of any scope (Read or stronger) from the model owner. Visitors can use the try box only when the owner allows it. A token cannot enable unavailable GPU hardware.
Blame for config.json at 0b4308c
| Line | Commit | Author | Date | Code |
|---|---|---|---|---|
| 1 | Stage Qwen/Qwen3-4B for quantize acceptance0b4308c | wdtest-a | { | |
| 2 | "architectures": [ | |||
| 3 | "Qwen3ForCausalLM" | |||
| 4 | ], | |||
| 5 | "attention_bias": false, | |||
| 6 | "attention_dropout": 0.0, | |||
| 7 | "bos_token_id": 151643, | |||
| 8 | "eos_token_id": 151645, | |||
| 9 | "head_dim": 128, | |||
| 10 | "hidden_act": "silu", | |||
| 11 | "hidden_size": 2560, | |||
| 12 | "initializer_range": 0.02, | |||
| 13 | "intermediate_size": 9728, | |||
| 14 | "max_position_embeddings": 40960, | |||
| 15 | "max_window_layers": 36, | |||
| 16 | "model_type": "qwen3", | |||
| 17 | "num_attention_heads": 32, | |||
| 18 | "num_hidden_layers": 36, | |||
| 19 | "num_key_value_heads": 8, | |||
| 20 | "rms_norm_eps": 1e-06, | |||
| 21 | "rope_scaling": null, | |||
| 22 | "rope_theta": 1000000, | |||
| 23 | "sliding_window": null, | |||
| 24 | "tie_word_embeddings": true, | |||
| 25 | "torch_dtype": "bfloat16", | |||
| 26 | "transformers_version": "4.51.0", | |||
| 27 | "use_cache": true, | |||
| 28 | "use_sliding_window": false, | |||
| 29 | "vocab_size": 151936 | |||
| 30 | } |