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")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("casehold/custom-legalbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a9e5018 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:849fbb9481f0142223e379dc712f36184cb55ab6fd2be4361dbfb8df16b247bf
size 445060790
|