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.
push model
rv2-clients committed on October 20, 2026
e4796820c839fda1aaa818ca36731bc23783e5abParent 2a57fd8Browse files
3 files changed+229 -0
README.md
Added+199 -0
README.md
| @@ -0,0 +1,199 @@ | |||
| 1 | Added: --- | ||
| 2 | Added: library_name: transformers | ||
| 3 | Added: tags: [] | ||
| 4 | Added: --- | ||
| 5 | Added: | ||
| 6 | Added: # Model Card for Model ID | ||
| 7 | Added: | ||
| 8 | Added: <!-- Provide a quick summary of what the model is/does. --> | ||
| 9 | Added: | ||
| 10 | Added: | ||
| 11 | Added: | ||
| 12 | Added: ## Model Details | ||
| 13 | Added: | ||
| 14 | Added: ### Model Description | ||
| 15 | Added: | ||
| 16 | Added: <!-- Provide a longer summary of what this model is. --> | ||
| 17 | Added: | ||
| 18 | Added: This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated. | ||
| 19 | Added: | ||
| 20 | Added: - **Developed by:** [More Information Needed] | ||
| 21 | Added: - **Funded by [optional]:** [More Information Needed] | ||
| 22 | Added: - **Shared by [optional]:** [More Information Needed] | ||
| 23 | Added: - **Model type:** [More Information Needed] | ||
| 24 | Added: - **Language(s) (NLP):** [More Information Needed] | ||
| 25 | Added: - **License:** [More Information Needed] | ||
| 26 | Added: - **Finetuned from model [optional]:** [More Information Needed] | ||
| 27 | Added: | ||
| 28 | Added: ### Model Sources [optional] | ||
| 29 | Added: | ||
| 30 | Added: <!-- Provide the basic links for the model. --> | ||
| 31 | Added: | ||
| 32 | Added: - **Repository:** [More Information Needed] | ||
| 33 | Added: - **Paper [optional]:** [More Information Needed] | ||
| 34 | Added: - **Demo [optional]:** [More Information Needed] | ||
| 35 | Added: | ||
| 36 | Added: ## Uses | ||
| 37 | Added: | ||
| 38 | Added: <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. --> | ||
| 39 | Added: | ||
| 40 | Added: ### Direct Use | ||
| 41 | Added: | ||
| 42 | Added: <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. --> | ||
| 43 | Added: | ||
| 44 | Added: [More Information Needed] | ||
| 45 | Added: | ||
| 46 | Added: ### Downstream Use [optional] | ||
| 47 | Added: | ||
| 48 | Added: <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app --> | ||
| 49 | Added: | ||
| 50 | Added: [More Information Needed] | ||
| 51 | Added: | ||
| 52 | Added: ### Out-of-Scope Use | ||
| 53 | Added: | ||
| 54 | Added: <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. --> | ||
| 55 | Added: | ||
| 56 | Added: [More Information Needed] | ||
| 57 | Added: | ||
| 58 | Added: ## Bias, Risks, and Limitations | ||
| 59 | Added: | ||
| 60 | Added: <!-- This section is meant to convey both technical and sociotechnical limitations. --> | ||
| 61 | Added: | ||
| 62 | Added: [More Information Needed] | ||
| 63 | Added: | ||
| 64 | Added: ### Recommendations | ||
| 65 | Added: | ||
| 66 | Added: <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. --> | ||
| 67 | Added: | ||
| 68 | Added: Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. | ||
| 69 | Added: | ||
| 70 | Added: ## How to Get Started with the Model | ||
| 71 | Added: | ||
| 72 | Added: Use the code below to get started with the model. | ||
| 73 | Added: | ||
| 74 | Added: [More Information Needed] | ||
| 75 | Added: | ||
| 76 | Added: ## Training Details | ||
| 77 | Added: | ||
| 78 | Added: ### Training Data | ||
| 79 | Added: | ||
| 80 | Added: <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. --> | ||
| 81 | Added: | ||
| 82 | Added: [More Information Needed] | ||
| 83 | Added: | ||
| 84 | Added: ### Training Procedure | ||
| 85 | Added: | ||
| 86 | Added: <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. --> | ||
| 87 | Added: | ||
| 88 | Added: #### Preprocessing [optional] | ||
| 89 | Added: | ||
| 90 | Added: [More Information Needed] | ||
| 91 | Added: | ||
| 92 | Added: | ||
| 93 | Added: #### Training Hyperparameters | ||
| 94 | Added: | ||
| 95 | Added: - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision --> | ||
| 96 | Added: | ||
| 97 | Added: #### Speeds, Sizes, Times [optional] | ||
| 98 | Added: | ||
| 99 | Added: <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. --> | ||
| 100 | Added: | ||
| 101 | Added: [More Information Needed] | ||
| 102 | Added: | ||
| 103 | Added: ## Evaluation | ||
| 104 | Added: | ||
| 105 | Added: <!-- This section describes the evaluation protocols and provides the results. --> | ||
| 106 | Added: | ||
| 107 | Added: ### Testing Data, Factors & Metrics | ||
| 108 | Added: | ||
| 109 | Added: #### Testing Data | ||
| 110 | Added: | ||
| 111 | Added: <!-- This should link to a Dataset Card if possible. --> | ||
| 112 | Added: | ||
| 113 | Added: [More Information Needed] | ||
| 114 | Added: | ||
| 115 | Added: #### Factors | ||
| 116 | Added: | ||
| 117 | Added: <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. --> | ||
| 118 | Added: | ||
| 119 | Added: [More Information Needed] | ||
| 120 | Added: | ||
| 121 | Added: #### Metrics | ||
| 122 | Added: | ||
| 123 | Added: <!-- These are the evaluation metrics being used, ideally with a description of why. --> | ||
| 124 | Added: | ||
| 125 | Added: [More Information Needed] | ||
| 126 | Added: | ||
| 127 | Added: ### Results | ||
| 128 | Added: | ||
| 129 | Added: [More Information Needed] | ||
| 130 | Added: | ||
| 131 | Added: #### Summary | ||
| 132 | Added: | ||
| 133 | Added: | ||
| 134 | Added: | ||
| 135 | Added: ## Model Examination [optional] | ||
| 136 | Added: | ||
| 137 | Added: <!-- Relevant interpretability work for the model goes here --> | ||
| 138 | Added: | ||
| 139 | Added: [More Information Needed] | ||
| 140 | Added: | ||
| 141 | Added: ## Environmental Impact | ||
| 142 | Added: | ||
| 143 | Added: <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly --> | ||
| 144 | Added: | ||
| 145 | Added: Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). | ||
| 146 | Added: | ||
| 147 | Added: - **Hardware Type:** [More Information Needed] | ||
| 148 | Added: - **Hours used:** [More Information Needed] | ||
| 149 | Added: - **Cloud Provider:** [More Information Needed] | ||
| 150 | Added: - **Compute Region:** [More Information Needed] | ||
| 151 | Added: - **Carbon Emitted:** [More Information Needed] | ||
| 152 | Added: | ||
| 153 | Added: ## Technical Specifications [optional] | ||
| 154 | Added: | ||
| 155 | Added: ### Model Architecture and Objective | ||
| 156 | Added: | ||
| 157 | Added: [More Information Needed] | ||
| 158 | Added: | ||
| 159 | Added: ### Compute Infrastructure | ||
| 160 | Added: | ||
| 161 | Added: [More Information Needed] | ||
| 162 | Added: | ||
| 163 | Added: #### Hardware | ||
| 164 | Added: | ||
| 165 | Added: [More Information Needed] | ||
| 166 | Added: | ||
| 167 | Added: #### Software | ||
| 168 | Added: | ||
| 169 | Added: [More Information Needed] | ||
| 170 | Added: | ||
| 171 | Added: ## Citation [optional] | ||
| 172 | Added: | ||
| 173 | Added: <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. --> | ||
| 174 | Added: | ||
| 175 | Added: **BibTeX:** | ||
| 176 | Added: | ||
| 177 | Added: [More Information Needed] | ||
| 178 | Added: | ||
| 179 | Added: **APA:** | ||
| 180 | Added: | ||
| 181 | Added: [More Information Needed] | ||
| 182 | Added: | ||
| 183 | Added: ## Glossary [optional] | ||
| 184 | Added: | ||
| 185 | Added: <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. --> | ||
| 186 | Added: | ||
| 187 | Added: [More Information Needed] | ||
| 188 | Added: | ||
| 189 | Added: ## More Information [optional] | ||
| 190 | Added: | ||
| 191 | Added: [More Information Needed] | ||
| 192 | Added: | ||
| 193 | Added: ## Model Card Authors [optional] | ||
| 194 | Added: | ||
| 195 | Added: [More Information Needed] | ||
| 196 | Added: | ||
| 197 | Added: ## Model Card Contact | ||
| 198 | Added: | ||
| 199 | Added: [More Information Needed](no newline at end of file) | ||
config.json
Added+30 -0
config.json
| @@ -0,0 +1,30 @@ | |||
| 1 | Added: { | ||
| 2 | Added: "add_cross_attention": false, | ||
| 3 | Added: "architectures": [ | ||
| 4 | Added: "BertForSequenceClassification" | ||
| 5 | Added: ], | ||
| 6 | Added: "attention_probs_dropout_prob": 0.1, | ||
| 7 | Added: "bos_token_id": null, | ||
| 8 | Added: "classifier_dropout": null, | ||
| 9 | Added: "dtype": "float32", | ||
| 10 | Added: "eos_token_id": null, | ||
| 11 | Added: "gradient_checkpointing": false, | ||
| 12 | Added: "hidden_act": "gelu", | ||
| 13 | Added: "hidden_dropout_prob": 0.1, | ||
| 14 | Added: "hidden_size": 32, | ||
| 15 | Added: "initializer_range": 0.02, | ||
| 16 | Added: "intermediate_size": 37, | ||
| 17 | Added: "is_decoder": false, | ||
| 18 | Added: "layer_norm_eps": 1e-12, | ||
| 19 | Added: "max_position_embeddings": 512, | ||
| 20 | Added: "model_type": "bert", | ||
| 21 | Added: "num_attention_heads": 4, | ||
| 22 | Added: "num_hidden_layers": 5, | ||
| 23 | Added: "pad_token_id": 0, | ||
| 24 | Added: "position_embedding_type": "absolute", | ||
| 25 | Added: "tie_word_embeddings": true, | ||
| 26 | Added: "transformers_version": "5.17.0", | ||
| 27 | Added: "type_vocab_size": 16, | ||
| 28 | Added: "use_cache": true, | ||
| 29 | Added: "vocab_size": 1124 | ||
| 30 | Added: } | ||
model.safetensors
Added
model.safetensors
Large (LFS-tracked) file content changed — 353 KB