Instructions to use lexlms/legal-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lexlms/legal-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="lexlms/legal-roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("lexlms/legal-roberta-base") model = AutoModelForMaskedLM.from_pretrained("lexlms/legal-roberta-base") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a6857dd6b87d9cca4104614ffb4ea54b97e5c7a48b49519275cb9569f5c4cfe8
- Size of remote file:
- 498 MB
- SHA256:
- b2517996d5c4c4163884506060e457650dff4618ff3814b55dc92b5b3c209528
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.