Instructions to use hf-internal-testing/tiny-random-bert-sharded with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-bert-sharded with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-bert-sharded")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-bert-sharded") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-bert-sharded", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (21af1fc9c6df551ed8900cc6e7d7bc427ff6069f) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>04a52fc
-
commit files to HF hub
6ef72e8 -
initial commit
64ab594