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