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")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("lexlms/legal-roberta-large") model = AutoModelForMaskedLM.from_pretrained("lexlms/legal-roberta-large") - Notebooks
- Google Colab
- Kaggle
modify LeXFiles dataset link
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ datasets:
|
|
| 18 |
|
| 19 |
# LexLM large
|
| 20 |
|
| 21 |
-
This model was continued pre-trained from RoBERTa large (https://huggingface.co/roberta-large) on the LeXFiles corpus (https://huggingface.co/datasets/lexlms/
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
|
|
| 18 |
|
| 19 |
# LexLM large
|
| 20 |
|
| 21 |
+
This model was continued pre-trained from RoBERTa large (https://huggingface.co/roberta-large) on the LeXFiles corpus (https://huggingface.co/datasets/lexlms/lex_files).
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|