Instructions to use dtorber/BioNLP-tech-intro-disc-no-attention-eLife with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dtorber/BioNLP-tech-intro-disc-no-attention-eLife 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="dtorber/BioNLP-tech-intro-disc-no-attention-eLife")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dtorber/BioNLP-tech-intro-disc-no-attention-eLife") model = AutoModelForSeq2SeqLM.from_pretrained("dtorber/BioNLP-tech-intro-disc-no-attention-eLife", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 02c6b2e426d18613cb9e39142514b02a3fd3a4955834f8e89a1d02e0b50ff829
- Size of remote file:
- 5.24 kB
- SHA256:
- 016b872eede307d471003f1f8c3209d9d19469e5bcc1e444d18097cd60518efa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.