Instructions to use lexlms/legal-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lexlms/legal-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="lexlms/legal-roberta-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("lexlms/legal-roberta-large") model = AutoModelForMaskedLM.from_pretrained("lexlms/legal-roberta-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from lexlms/legal-roberta-large: direct link, hf CLI and curl.
- Browser
- Download file 1.42 GB
-
https://huggingface.co/lexlms/legal-roberta-large/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://lexlms/legal-roberta-large/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/lexlms/legal-roberta-large/resolve/main/pytorch_model.bin
1.42 GB
- Xet hash:
- 99fb5d4f7d66546a23b0873441cc115256f9fffbb95b5c8b6e749c0292b8b62c
- Size of remote file:
- 1.42 GB
- SHA256:
- c0a529311e7b73b1544a6d34e823d88935fc28967cab28dfe3641c41ef9d9245
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.