Model
rv2-datasets/rv2-datasets-model-a
- License:mit
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-datasets/rv2-datasets-model-a'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-datasets/rv2-datasets-model-a',
revision='001d4194b466cafcc7d1c6cb23f5c94409169850',
endpoint='https://api.provyd.xyz',
token=os.environ.get("HF_TOKEN") or False,
)Clone with git
git clone 'https://api.provyd.xyz/rv2-datasets/rv2-datasets-model-a'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/rv2-datasets/rv2-datasets-model-a'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-datasets/rv2-datasets-model-a/revision/001d4194b466cafcc7d1c6cb23f5c94409169850' \
-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 README.md at 001d419
| Line | Commit | Author | Date | Code |
|---|---|---|---|---|
| 1 | Upload README.md with huggingface_hub001d419 | rv2-datasets | --- | |
| 2 | license: mit | |||
| 3 | datasets: | |||
| 4 | - rv2-datasets/rv2-datasets-mrpc | |||
| 5 | model-index: | |||
| 6 | - name: m | |||
| 7 | results: | |||
| 8 | - task: | |||
| 9 | type: text-classification | |||
| 10 | name: Text Classification | |||
| 11 | dataset: | |||
| 12 | name: GLUE MRPC | |||
| 13 | type: rv2-datasets/rv2-datasets-mrpc | |||
| 14 | config: mrpc | |||
| 15 | split: validation | |||
| 16 | metrics: | |||
| 17 | - type: accuracy | |||
| 18 | value: 0.871 | |||
| 19 | name: Accuracy | |||
| 20 | - type: f1 | |||
| 21 | value: 0.905 | |||
| 22 | name: F1 | |||
| 23 | --- | |||
| 24 | # model |