Instructions to use grenmon/bart-large-finetuned-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use grenmon/bart-large-finetuned-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="grenmon/bart-large-finetuned-summarization")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("grenmon/bart-large-finetuned-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("grenmon/bart-large-finetuned-summarization") - Notebooks
- Google Colab
- Kaggle
Training complete1
Browse files
generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 0,
|
| 3 |
+
"decoder_start_token_id": 2,
|
| 4 |
+
"early_stopping": true,
|
| 5 |
+
"eos_token_id": 2,
|
| 6 |
+
"forced_bos_token_id": 0,
|
| 7 |
+
"forced_eos_token_id": 2,
|
| 8 |
+
"no_repeat_ngram_size": 3,
|
| 9 |
+
"num_beams": 4,
|
| 10 |
+
"pad_token_id": 1,
|
| 11 |
+
"transformers_version": "4.28.0"
|
| 12 |
+
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1625541389
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:756708c734fcb41b3d4e2ee05f518a6ecdd5952bdb9b4ed3185036f3ab52ac57
|
| 3 |
size 1625541389
|
runs/May12_14-28-23_ba2393e9f9f5/events.out.tfevents.1683901716.ba2393e9f9f5.16333.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b217d7e4f5ea0b85f90e0ec5e791ca7f7901e6285224e4ab40c8c04edb3474c7
|
| 3 |
+
size 8728
|
runs/May12_14-28-23_ba2393e9f9f5/events.out.tfevents.1683902836.ba2393e9f9f5.16333.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69f8cc54bb2f2f2d8f4fcef0a36bcb16d1f32dabbfd6c1b705889c27e558cfc7
|
| 3 |
+
size 562
|