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 50
Browse files- model.safetensors +1 -1
- training_args.bin +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:0555a9160082206afdca9a641f15c79ff6bcfd30d99493aae17a3f151f7e7ae2
|
| 3 |
size 1222284056
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3f52733e65f37f78659a72c3750cceff4f24b585ef5b1dd1a41f6b93d1f518e
|
| 3 |
size 4728
|