Instructions to use law-ai/InLegalBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use law-ai/InLegalBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="law-ai/InLegalBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("law-ai/InLegalBERT") model = AutoModelForPreTraining.from_pretrained("law-ai/InLegalBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
b5ecfed -
Update README.md
7702263 -
Update README.md
2290b0c
-
Update README.md
6dc9118 -
Update README.md
b06a360 -
Update README.md
7a2772f
-
Update README.md
4c30273 -
Update README.md
04ef5bf -
Update README.md
c1c0d41 -
Update README.md
74ff41d
-
Update README.md
8005ecd -
Update README.md
4b9c41c -
Update README.md
f0171f5 -
Update README.md
c8d6ef6 -
Update README.md
527c498 -
Update README.md
0d71062 -
Update README.md
f72722a -
Update README.md
7d17a94 -
Upload config.json
23bcdec -
Delete config.json
72ee184 -
Upload pytorch_model.bin
d6168ef -
Upload config.json
4906739 -
Upload special_tokens_map.json
1dda64e -
Upload tokenizer_config.json
44e6860 -
Upload vocab.txt
2a50ea8 -
initial commit
50c1ae6