Model
ui-inference/ui-inference-all-minilm-l6-v2
- Formats:safetensors
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 'ui-inference/ui-inference-all-minilm-l6-v2'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='ui-inference/ui-inference-all-minilm-l6-v2',
revision='f93e08eab9cea468c08553002871aa71ec5a66a2',
endpoint='https://api.provyd.xyz',
token=os.environ.get("HF_TOKEN") or False,
)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 'ui-inference/ui-inference-all-minilm-l6-v2'Clone with git
git clone 'https://api.provyd.xyz/ui-inference/ui-inference-all-minilm-l6-v2'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/ui-inference/ui-inference-all-minilm-l6-v2'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/ui-inference/ui-inference-all-minilm-l6-v2/revision/f93e08eab9cea468c08553002871aa71ec5a66a2' \
-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.
Safetensors header
104 tensors · 22,713,728 parameters · header 11 KB
- format
- pt
| Name | Dtype | Shape | Parameters |
|---|---|---|---|
| embeddings.position_ids | I64 | [1, 512] | 512 |
| embeddings.LayerNorm.bias | F32 | [384] | 384 |
| embeddings.LayerNorm.weight | F32 | [384] | 384 |
| embeddings.position_embeddings.weight | F32 | [512, 384] | 196,608 |
| embeddings.token_type_embeddings.weight | F32 | [2, 384] | 768 |
| embeddings.word_embeddings.weight | F32 | [30522, 384] | 11,720,448 |
| encoder.layer.0.attention.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.0.attention.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.0.attention.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.0.attention.output.dense.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.0.attention.self.key.bias | F32 | [384] | 384 |
| encoder.layer.0.attention.self.key.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.0.attention.self.query.bias | F32 | [384] | 384 |
| encoder.layer.0.attention.self.query.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.0.attention.self.value.bias | F32 | [384] | 384 |
| encoder.layer.0.attention.self.value.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.0.intermediate.dense.bias | F32 | [1536] | 1,536 |
| encoder.layer.0.intermediate.dense.weight | F32 | [1536, 384] | 589,824 |
| encoder.layer.0.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.0.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.0.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.0.output.dense.weight | F32 | [384, 1536] | 589,824 |
| encoder.layer.1.attention.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.1.attention.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.1.attention.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.1.attention.output.dense.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.1.attention.self.key.bias | F32 | [384] | 384 |
| encoder.layer.1.attention.self.key.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.1.attention.self.query.bias | F32 | [384] | 384 |
| encoder.layer.1.attention.self.query.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.1.attention.self.value.bias | F32 | [384] | 384 |
| encoder.layer.1.attention.self.value.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.1.intermediate.dense.bias | F32 | [1536] | 1,536 |
| encoder.layer.1.intermediate.dense.weight | F32 | [1536, 384] | 589,824 |
| encoder.layer.1.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.1.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.1.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.1.output.dense.weight | F32 | [384, 1536] | 589,824 |
| encoder.layer.2.attention.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.2.attention.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.2.attention.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.2.attention.output.dense.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.2.attention.self.key.bias | F32 | [384] | 384 |
| encoder.layer.2.attention.self.key.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.2.attention.self.query.bias | F32 | [384] | 384 |
| encoder.layer.2.attention.self.query.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.2.attention.self.value.bias | F32 | [384] | 384 |
| encoder.layer.2.attention.self.value.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.2.intermediate.dense.bias | F32 | [1536] | 1,536 |
| encoder.layer.2.intermediate.dense.weight | F32 | [1536, 384] | 589,824 |
| encoder.layer.2.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.2.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.2.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.2.output.dense.weight | F32 | [384, 1536] | 589,824 |
| encoder.layer.3.attention.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.3.attention.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.3.attention.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.3.attention.output.dense.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.3.attention.self.key.bias | F32 | [384] | 384 |
| encoder.layer.3.attention.self.key.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.3.attention.self.query.bias | F32 | [384] | 384 |
| encoder.layer.3.attention.self.query.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.3.attention.self.value.bias | F32 | [384] | 384 |
| encoder.layer.3.attention.self.value.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.3.intermediate.dense.bias | F32 | [1536] | 1,536 |
| encoder.layer.3.intermediate.dense.weight | F32 | [1536, 384] | 589,824 |
| encoder.layer.3.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.3.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.3.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.3.output.dense.weight | F32 | [384, 1536] | 589,824 |
| encoder.layer.4.attention.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.4.attention.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.4.attention.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.4.attention.output.dense.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.4.attention.self.key.bias | F32 | [384] | 384 |
| encoder.layer.4.attention.self.key.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.4.attention.self.query.bias | F32 | [384] | 384 |
| encoder.layer.4.attention.self.query.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.4.attention.self.value.bias | F32 | [384] | 384 |
| encoder.layer.4.attention.self.value.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.4.intermediate.dense.bias | F32 | [1536] | 1,536 |
| encoder.layer.4.intermediate.dense.weight | F32 | [1536, 384] | 589,824 |
| encoder.layer.4.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.4.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.4.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.4.output.dense.weight | F32 | [384, 1536] | 589,824 |
| encoder.layer.5.attention.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.5.attention.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.5.attention.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.5.attention.output.dense.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.5.attention.self.key.bias | F32 | [384] | 384 |
| encoder.layer.5.attention.self.key.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.5.attention.self.query.bias | F32 | [384] | 384 |
| encoder.layer.5.attention.self.query.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.5.attention.self.value.bias | F32 | [384] | 384 |
| encoder.layer.5.attention.self.value.weight | F32 | [384, 384] | 147,456 |
| encoder.layer.5.intermediate.dense.bias | F32 | [1536] | 1,536 |
| encoder.layer.5.intermediate.dense.weight | F32 | [1536, 384] | 589,824 |
| encoder.layer.5.output.LayerNorm.bias | F32 | [384] | 384 |
| encoder.layer.5.output.LayerNorm.weight | F32 | [384] | 384 |
| encoder.layer.5.output.dense.bias | F32 | [384] | 384 |
| encoder.layer.5.output.dense.weight | F32 | [384, 1536] | 589,824 |
| pooler.dense.bias | F32 | [384] | 384 |
| pooler.dense.weight | F32 | [384, 384] | 147,456 |
LFS-tracked file — not shown
87 MB · SHA-256 53aa51172d14…
Resolve URL: https://api.provyd.xyz/ui-inference/ui-inference-all-minilm-l6-v2/resolve/main/minilm/model.safetensors