Instructions to use NotXia/longformer-bio-ext-summ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NotXia/longformer-bio-ext-summ with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="NotXia/longformer-bio-ext-summ", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NotXia/longformer-bio-ext-summ", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
6f408cf | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:19bfa03d5f00f4e0fa6b5af68e53ad26cfc4ee6ab11cee26560272f8df2500b4
size 651442429
|