Instructions to use claudios/ContraBERT_C with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use claudios/ContraBERT_C with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="claudios/ContraBERT_C")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("claudios/ContraBERT_C") model = AutoModelForMaskedLM.from_pretrained("claudios/ContraBERT_C", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update tokenizer_config.json
Verified signature15324aa -
Update README.md
Verified signaturefd97c52 -
Upload README.md with huggingface_hub
Verified signaturea7d7e92
-
Upload folder using huggingface_hub
Verified signature01b5c9f -
initial commit
Verified signature085a782