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:
- 18939d1a3cae8b70180eacf5cecca14dbdf56d8476c6bfa0f18bb46efa052882
- Size of remote file:
- 3.77 kB
- SHA256:
- cc7a2fca956110fa8feafc0aa6cd21981160f54c916ff419fbc9ee0826ac6859
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.