Instructions to use dtorber/BioNLP-2024-dtorber-BioBART-baseline-eLife with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dtorber/BioNLP-2024-dtorber-BioBART-baseline-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-2024-dtorber-BioBART-baseline-eLife")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dtorber/BioNLP-2024-dtorber-BioBART-baseline-eLife") model = AutoModelForSeq2SeqLM.from_pretrained("dtorber/BioNLP-2024-dtorber-BioBART-baseline-eLife") - Notebooks
- Google Colab
- Kaggle
Training complete
Browse files
README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: GanjinZero/biobart-v2-large
|
| 4 |
tags:
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
model-index:
|
| 7 |
- name: BioNLP-2024-dtorber-BioBART-baseline-eLife
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: GanjinZero/biobart-v2-large
|
| 4 |
tags:
|
| 5 |
+
- summarization
|
| 6 |
- generated_from_trainer
|
| 7 |
model-index:
|
| 8 |
- name: BioNLP-2024-dtorber-BioBART-baseline-eLife
|