Instructions to use StrangeCroissant/BERT-base-uncased-synthtetic-finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use StrangeCroissant/BERT-base-uncased-synthtetic-finetune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="StrangeCroissant/BERT-base-uncased-synthtetic-finetune")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("StrangeCroissant/BERT-base-uncased-synthtetic-finetune") model = AutoModelForMaskedLM.from_pretrained("StrangeCroissant/BERT-base-uncased-synthtetic-finetune", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K