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:
- cce501b436adc795e4aefe3170b80d2a648124bc56683d7272c12700147c91d9
- Size of remote file:
- 623 Bytes
- SHA256:
- 4d41c6734c2aef1f60ed0fbc886cbc351448520889799ebfa66c14f8f9e99059
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.