Instructions to use ltg/ltg-bert-bnc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ltg/ltg-bert-bnc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ltg/ltg-bert-bnc", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("ltg/ltg-bert-bnc", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
7f719ea | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:820ee7f7fdb806b0ce34758331cc6efb0f8b8bc4ba988d507386e5dfd3ef30a1
size 418130297
|