Instructions to use hf-internal-testing/tiny-random-MPNetForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MPNetForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/tiny-random-MPNetForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MPNetForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/tiny-random-MPNetForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-MPNetForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 974 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-MPNetForSequenceClassification/resolve/5ad0e4c029bcad9dd62943bc917931effac45246/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MPNetForSequenceClassification@5ad0e4c029bcad9dd62943bc917931effac45246/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MPNetForSequenceClassification/resolve/5ad0e4c029bcad9dd62943bc917931effac45246/pytorch_model.bin
974 kB
- Xet hash:
- be9902999d182a482c7aeb351740436315a3f8d0f54119b2823a8c1f615927f4
- Size of remote file:
- 974 kB
- SHA256:
- d344fd3380e27307ff352800c664ce13957d54f09e29ea1d051096aaa865b612
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.