Instructions to use activebus/BERT-PT_rest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use activebus/BERT-PT_rest with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="activebus/BERT-PT_rest")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("activebus/BERT-PT_rest") model = AutoModelForMaskedLM.from_pretrained("activebus/BERT-PT_rest", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
2d8fa90 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b5404b0ddfd07babbf46a6a372fd524f90fb9fbf7ac0c339d52cb33e199c8c61
size 440483788
|