Instructions to use ydshieh/tiny-random-BertModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-BertModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ydshieh/tiny-random-BertModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ydshieh/tiny-random-BertModel") model = AutoModel.from_pretrained("ydshieh/tiny-random-BertModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
3ab1da2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:71f2880af25e0ce5665a93b47d5097f6a73b6d0f3c160f9b510bcc9076f8f8f1
size 382365
|