Instructions to use law-ai/InCaseLawBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use law-ai/InCaseLawBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="law-ai/InCaseLawBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("law-ai/InCaseLawBERT") model = AutoModelForPreTraining.from_pretrained("law-ai/InCaseLawBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
7f2c2a0 -
Update README.md
c5b6b1b
-
Update README.md
178380a -
Update README.md
e8d1e90 -
Update README.md
5cd5ee0
-
Update README.md
86d70c1
-
Update README.md
f70b87f -
Update README.md
24c7e92 -
Update README.md
2ab1999 -
Upload config.json
c1a4bbe -
Upload pytorch_model.bin
0c00932 -
Upload special_tokens_map.json
1ed2249 -
Upload tokenizer_config.json
260b881 -
Upload vocab.txt
8494521 -
initial commit
1ec0f88