Instructions to use ydshieh/tiny-random-BertForNextSentencePrediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-BertForNextSentencePrediction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForNextSentencePrediction tokenizer = AutoTokenizer.from_pretrained("ydshieh/tiny-random-BertForNextSentencePrediction") model = AutoModelForNextSentencePrediction.from_pretrained("ydshieh/tiny-random-BertForNextSentencePrediction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update tiny models for BertForNextSentencePrediction
#8 opened about 4 years ago
by
ydshieh
Update tiny models for BertForNextSentencePrediction
#7 opened about 4 years ago
by
ydshieh
Update tiny models for BertForNextSentencePrediction
#6 opened about 4 years ago
by
ydshieh
Update tiny models for BertForNextSentencePrediction
#5 opened about 4 years ago
by
ydshieh
Update tiny models for BertForNextSentencePrediction
#4 opened about 4 years ago
by
ydshieh
Update tiny models for BertForNextSentencePrediction
#3 opened about 4 years ago
by
ydshieh
Update tiny models for BertForNextSentencePrediction
#2 opened about 4 years ago
by
ydshieh
Update tiny models for BertForNextSentencePrediction
#1 opened about 4 years ago
by
ydshieh