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")# pip install -U transformers accelerate # 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
Commit History
-
Adding `safetensors` variant of this model (#2)
Verified signature- Adding `safetensors` variant of this model (206d6a1b57e3689f740d203c8ae56a22630fdc6d) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>0c76ee2
-
Thesis citation was added
Verified signature5fb1ef6
-
A simple code block that shows the usage of the model was added.
Verified signature2bc1922
-
Added link to test dataset
Verified signature99e2463
-
Update README.md
Verified signature2ef7861 -
Update README.md
Verified signature5e19dd8 -
Upload 4 files
Verified signaturee3c4632 -
Create README.md
Verified signatureaaefc86 -
initial commit
Verified signaturec224766