Model
rv-clients/rv-clients-tiny-bert
- Libraries:transformerspytorch
- 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 'rv-clients/rv-clients-tiny-bert'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='rv-clients/rv-clients-tiny-bert',
revision='b4147cfa5c4643088f14b27bb469bc1aa35f6164',
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('rv-clients/rv-clients-tiny-bert')
model = AutoModel.from_pretrained('rv-clients/rv-clients-tiny-bert')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 'rv-clients/rv-clients-tiny-bert'Clone with git
git clone 'https://api.provyd.xyz/rv-clients/rv-clients-tiny-bert'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/rv-clients/rv-clients-tiny-bert'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/rv-clients/rv-clients-tiny-bert/revision/b4147cfa5c4643088f14b27bb469bc1aa35f6164' \
-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
100 tensors · 126,851 parameters · header 11 KB
- format
- pt
- cls.predictions.decoder.bias
- cls.predictions.bias
| Name | Dtype | Shape | Parameters |
|---|---|---|---|
| bert.embeddings.position_ids | I64 | [1, 512] | 512 |
| bert.embeddings.LayerNorm.bias | F32 | [32] | 32 |
| bert.embeddings.LayerNorm.weight | F32 | [32] | 32 |
| bert.embeddings.position_embeddings.weight | F32 | [512, 32] | 16,384 |
| bert.embeddings.token_type_embeddings.weight | F32 | [16, 32] | 512 |
| bert.embeddings.word_embeddings.weight | F32 | [1124, 32] | 35,968 |
| bert.encoder.layer.0.attention.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.0.attention.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.0.attention.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.0.attention.output.dense.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.0.attention.self.key.bias | F32 | [32] | 32 |
| bert.encoder.layer.0.attention.self.key.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.0.attention.self.query.bias | F32 | [32] | 32 |
| bert.encoder.layer.0.attention.self.query.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.0.attention.self.value.bias | F32 | [32] | 32 |
| bert.encoder.layer.0.attention.self.value.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.0.intermediate.dense.bias | F32 | [37] | 37 |
| bert.encoder.layer.0.intermediate.dense.weight | F32 | [37, 32] | 1,184 |
| bert.encoder.layer.0.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.0.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.0.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.0.output.dense.weight | F32 | [32, 37] | 1,184 |
| bert.encoder.layer.1.attention.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.1.attention.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.1.attention.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.1.attention.output.dense.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.1.attention.self.key.bias | F32 | [32] | 32 |
| bert.encoder.layer.1.attention.self.key.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.1.attention.self.query.bias | F32 | [32] | 32 |
| bert.encoder.layer.1.attention.self.query.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.1.attention.self.value.bias | F32 | [32] | 32 |
| bert.encoder.layer.1.attention.self.value.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.1.intermediate.dense.bias | F32 | [37] | 37 |
| bert.encoder.layer.1.intermediate.dense.weight | F32 | [37, 32] | 1,184 |
| bert.encoder.layer.1.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.1.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.1.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.1.output.dense.weight | F32 | [32, 37] | 1,184 |
| bert.encoder.layer.2.attention.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.2.attention.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.2.attention.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.2.attention.output.dense.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.2.attention.self.key.bias | F32 | [32] | 32 |
| bert.encoder.layer.2.attention.self.key.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.2.attention.self.query.bias | F32 | [32] | 32 |
| bert.encoder.layer.2.attention.self.query.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.2.attention.self.value.bias | F32 | [32] | 32 |
| bert.encoder.layer.2.attention.self.value.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.2.intermediate.dense.bias | F32 | [37] | 37 |
| bert.encoder.layer.2.intermediate.dense.weight | F32 | [37, 32] | 1,184 |
| bert.encoder.layer.2.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.2.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.2.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.2.output.dense.weight | F32 | [32, 37] | 1,184 |
| bert.encoder.layer.3.attention.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.3.attention.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.3.attention.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.3.attention.output.dense.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.3.attention.self.key.bias | F32 | [32] | 32 |
| bert.encoder.layer.3.attention.self.key.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.3.attention.self.query.bias | F32 | [32] | 32 |
| bert.encoder.layer.3.attention.self.query.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.3.attention.self.value.bias | F32 | [32] | 32 |
| bert.encoder.layer.3.attention.self.value.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.3.intermediate.dense.bias | F32 | [37] | 37 |
| bert.encoder.layer.3.intermediate.dense.weight | F32 | [37, 32] | 1,184 |
| bert.encoder.layer.3.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.3.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.3.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.3.output.dense.weight | F32 | [32, 37] | 1,184 |
| bert.encoder.layer.4.attention.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.4.attention.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.4.attention.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.4.attention.output.dense.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.4.attention.self.key.bias | F32 | [32] | 32 |
| bert.encoder.layer.4.attention.self.key.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.4.attention.self.query.bias | F32 | [32] | 32 |
| bert.encoder.layer.4.attention.self.query.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.4.attention.self.value.bias | F32 | [32] | 32 |
| bert.encoder.layer.4.attention.self.value.weight | F32 | [32, 32] | 1,024 |
| bert.encoder.layer.4.intermediate.dense.bias | F32 | [37] | 37 |
| bert.encoder.layer.4.intermediate.dense.weight | F32 | [37, 32] | 1,184 |
| bert.encoder.layer.4.output.LayerNorm.bias | F32 | [32] | 32 |
| bert.encoder.layer.4.output.LayerNorm.weight | F32 | [32] | 32 |
| bert.encoder.layer.4.output.dense.bias | F32 | [32] | 32 |
| bert.encoder.layer.4.output.dense.weight | F32 | [32, 37] | 1,184 |
| bert.pooler.dense.bias | F32 | [32] | 32 |
| bert.pooler.dense.weight | F32 | [32, 32] | 1,024 |
| classifier.bias | F32 | [2] | 2 |
| classifier.weight | F32 | [2, 32] | 64 |
| cls.predictions.bias | F32 | [1124] | 1,124 |
| cls.predictions.decoder.weight | F32 | [1124, 32] | 35,968 |
| cls.predictions.transform.LayerNorm.bias | F32 | [32] | 32 |
| cls.predictions.transform.LayerNorm.weight | F32 | [32] | 32 |
| cls.predictions.transform.dense.bias | F32 | [32] | 32 |
| cls.predictions.transform.dense.weight | F32 | [32, 32] | 1,024 |
| cls.seq_relationship.bias | F32 | [2] | 2 |
| cls.seq_relationship.weight | F32 | [2, 32] | 64 |
| qa_outputs.bias | F32 | [2] | 2 |
| qa_outputs.weight | F32 | [2, 32] | 64 |
Binary file — not shown
508 KB
Resolve URL: https://api.provyd.xyz/rv-clients/rv-clients-tiny-bert/resolve/main/model.safetensors