Instructions to use casehold/custom-legalbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use casehold/custom-legalbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="casehold/custom-legalbert")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("casehold/custom-legalbert", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Lucia Zheng commited on
Commit ·
6a9d4c3
1
Parent(s): a9e5018
Update special_tokens_map.json
Browse files- special_tokens_map.json +1 -0
special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|