Instructions to use joelniklaus/legal-swiss-longformer-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use joelniklaus/legal-swiss-longformer-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="joelniklaus/legal-swiss-longformer-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("joelniklaus/legal-swiss-longformer-base") model = AutoModelForMaskedLM.from_pretrained("joelniklaus/legal-swiss-longformer-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d8ff82f5defc92a6a39f8b3f5ddadcb06bccde1f30c9083dd176548831e12fad
- Size of remote file:
- 834 MB
- SHA256:
- b219fe316572458efe69a4147cf93da6b3f6ee28ac3948805323c87e8cae986a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.