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
Adding `safetensors` variant of this model
#9 opened almost 2 years ago
by
SFconvertbot
Update tiny models for BertModel
#8 opened about 4 years ago
by
ydshieh
Update tiny models for BertModel
#7 opened about 4 years ago
by
ydshieh
Update tiny models for BertModel
#6 opened about 4 years ago
by
ydshieh
Update tiny models for BertModel
#5 opened about 4 years ago
by
ydshieh
Update tiny models for BertModel
#4 opened about 4 years ago
by
ydshieh
Update tiny models for BertModel
#3 opened about 4 years ago
by
ydshieh
Update tiny models for BertModel
#2 opened about 4 years ago
by
ydshieh
Update tiny models for BertModel
#1 opened about 4 years ago
by
ydshieh