Model
rv2-clients/rv2-clients-tf-push
- Task:Text Classification
- Libraries:transformers
- Formats:safetensors
- arXiv:arXiv:1910.09700
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 'rv2-clients/rv2-clients-tf-push'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='rv2-clients/rv2-clients-tf-push',
revision='6e35233452ec946e779ef1924643fccf84e68d37',
endpoint='https://api.provyd.xyz',
token=os.environ.get("HF_TOKEN") or False,
)Classify with transformers
import os
os.environ["HF_ENDPOINT"] = 'https://api.provyd.xyz'
from transformers import pipeline
pipe = pipeline("text-classification", model='rv2-clients/rv2-clients-tf-push')
labels = pipe("Hello")Call it with huggingface_hub
Works once the owner has started the model. Set WD_INFERENCE_KEY to a model API key.
import os
from huggingface_hub import InferenceClient
client = InferenceClient(model='https://api.provyd.xyz/api/wd/inference/models/rv2-clients/rv2-clients-tf-push', token=os.environ["WD_INFERENCE_KEY"])
labels = client.text_classification("Hello")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 'rv2-clients/rv2-clients-tf-push'Clone with git
git clone 'https://api.provyd.xyz/rv2-clients/rv2-clients-tf-push'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/rv2-clients/rv2-clients-tf-push'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/rv2-clients/rv2-clients-tf-push/revision/6e35233452ec946e779ef1924643fccf84e68d37' \
-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.
Initial commit
rv2-clients committed on October 20, 2026
2a57fd8e6ac573b27fa8ae91d8d171e23fb64db5Browse files
1 file changed+35 -0
.gitattributes
Added+35 -0
.gitattributes
| @@ -0,0 +1,35 @@ | |||
| 1 | Added: *.7z filter=lfs diff=lfs merge=lfs -text | ||
| 2 | Added: *.arrow filter=lfs diff=lfs merge=lfs -text | ||
| 3 | Added: *.bin filter=lfs diff=lfs merge=lfs -text | ||
| 4 | Added: *.bz2 filter=lfs diff=lfs merge=lfs -text | ||
| 5 | Added: *.ckpt filter=lfs diff=lfs merge=lfs -text | ||
| 6 | Added: *.ftz filter=lfs diff=lfs merge=lfs -text | ||
| 7 | Added: *.gz filter=lfs diff=lfs merge=lfs -text | ||
| 8 | Added: *.h5 filter=lfs diff=lfs merge=lfs -text | ||
| 9 | Added: *.joblib filter=lfs diff=lfs merge=lfs -text | ||
| 10 | Added: *.lfs.* filter=lfs diff=lfs merge=lfs -text | ||
| 11 | Added: *.mlmodel filter=lfs diff=lfs merge=lfs -text | ||
| 12 | Added: *.model filter=lfs diff=lfs merge=lfs -text | ||
| 13 | Added: *.msgpack filter=lfs diff=lfs merge=lfs -text | ||
| 14 | Added: *.npy filter=lfs diff=lfs merge=lfs -text | ||
| 15 | Added: *.npz filter=lfs diff=lfs merge=lfs -text | ||
| 16 | Added: *.onnx filter=lfs diff=lfs merge=lfs -text | ||
| 17 | Added: *.ot filter=lfs diff=lfs merge=lfs -text | ||
| 18 | Added: *.parquet filter=lfs diff=lfs merge=lfs -text | ||
| 19 | Added: *.pb filter=lfs diff=lfs merge=lfs -text | ||
| 20 | Added: *.pickle filter=lfs diff=lfs merge=lfs -text | ||
| 21 | Added: *.pkl filter=lfs diff=lfs merge=lfs -text | ||
| 22 | Added: *.pt filter=lfs diff=lfs merge=lfs -text | ||
| 23 | Added: *.pth filter=lfs diff=lfs merge=lfs -text | ||
| 24 | Added: *.rar filter=lfs diff=lfs merge=lfs -text | ||
| 25 | Added: *.safetensors filter=lfs diff=lfs merge=lfs -text | ||
| 26 | Added: saved_model/**/* filter=lfs diff=lfs merge=lfs -text | ||
| 27 | Added: *.tar.* filter=lfs diff=lfs merge=lfs -text | ||
| 28 | Added: *.tar filter=lfs diff=lfs merge=lfs -text | ||
| 29 | Added: *.tflite filter=lfs diff=lfs merge=lfs -text | ||
| 30 | Added: *.tgz filter=lfs diff=lfs merge=lfs -text | ||
| 31 | Added: *.wasm filter=lfs diff=lfs merge=lfs -text | ||
| 32 | Added: *.xz filter=lfs diff=lfs merge=lfs -text | ||
| 33 | Added: *.zip filter=lfs diff=lfs merge=lfs -text | ||
| 34 | Added: *.zst filter=lfs diff=lfs merge=lfs -text | ||
| 35 | Added: *tfevents* filter=lfs diff=lfs merge=lfs -text | ||