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:
- 9748b70b9da9da54c07247013855f380c6911e8baaa0661e83f0f32384f94cfa
- Size of remote file:
- 834 MB
- SHA256:
- 673ac62a80dcc8c7dcaf1349eabda0bda23e6d751fefb44d0b2d19229735b6e6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.