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 training_args.bin from lexlms/legal-roberta-large: direct link, hf CLI and curl.
- Browser
- Download file 3.38 kB
-
https://huggingface.co/lexlms/legal-roberta-large/resolve/main/training_args.bin
- Command line
-
hf download hf://lexlms/legal-roberta-large/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/lexlms/legal-roberta-large/resolve/main/training_args.bin
3.38 kB
- Xet hash:
- e49011c276243dad41f6408164f78b8b3852c3c1fcf0e5f747fa35325e3946fe
- Size of remote file:
- 3.38 kB
- SHA256:
- 9acc38a0c2ea8063b40d23b5b3f37586825abd6167da2cabb0023a1b6161974f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.