Instructions to use nlpaueb/sec-bert-shape with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlpaueb/sec-bert-shape with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nlpaueb/sec-bert-shape")# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("nlpaueb/sec-bert-shape") model = AutoModelForPreTraining.from_pretrained("nlpaueb/sec-bert-shape", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 33 Bytes
08799be | 1 2 3 4 | ---
license: cc-by-sa-4.0
---
|