Instructions to use casehold/legalbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use casehold/legalbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="casehold/legalbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("casehold/legalbert", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Lucia Zheng8aead03
-
Merge branch 'main' of https://huggingface.co/zlucia/legalbert
Lucia Zhenga1cb1e9 -
Add pipeline tag
Lucia Zheng0d55c26
-
upload flax model
5541b56 -
allow flax
9bbbde3
-
Update README.md
0c4e25f -
Update README.md
3c0cb71 -
Update README.md
e7bff2b -
Update model card
8d55ad0 -
Update model card
Lucia Zheng0b9e19e -
Add model card
2e68954 -
Update vocab.txt
Lucia Zhengac7e707 -
Update tokenizer_config.json
Lucia Zhengabc0887 -
Update tf_model.h5
Lucia Zheng2db4bc0 -
Update special_tokens_map.json
Lucia Zheng28b6ea8 -
Update pytorch_model.bin
Lucia Zheng5ae1407 -
Update config.json
Lucia Zheng71ecb71 -
initial commit
f07ed27