Instructions to use patrickvonplaten/longformer-random-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickvonplaten/longformer-random-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="patrickvonplaten/longformer-random-tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/longformer-random-tiny") model = AutoModel.from_pretrained("patrickvonplaten/longformer-random-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 130 Bytes
e332bc5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7fbb6f305da1600343d0c19abf3c25a78ecb01b89293c4a4be378c9bcae823fb
size 22315
|