Instructions to use nytkng/distilbart_summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nytkng/distilbart_summarization 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="nytkng/distilbart_summarization")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("nytkng/distilbart_summarization") model = AutoModelForSeq2SeqLM.from_pretrained("nytkng/distilbart_summarization") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 200
Browse files- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1222284056
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24ef52dfbb0c128802d60f603125428d8f8403c755e4e3f943c7b44c947e083e
|
| 3 |
size 1222284056
|