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