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")# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("law-ai/InLegalBERT") model = AutoModelForPreTraining.from_pretrained("law-ai/InLegalBERT") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#9 opened about 1 year ago
by
SFconvertbot
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
1
#8 opened about 2 years ago
by
Fawazzx
How to use the model??!
➕ 7
1
#7 opened over 2 years ago
by
liz12
Adding `safetensors` variant of this model
#5 opened almost 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#4 opened about 3 years ago
by
SFconvertbot
Sagemaker inference endpoint throughs error when i try to summarize.
1
#3 opened over 3 years ago
by
vvsks
getting errors while training the model with few fine tuning modification.
3
#1 opened over 3 years ago
by
DivyanshuDaftari