Instructions to use Gabriel/bart-base-cnn-xsum-wiki-swe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gabriel/bart-base-cnn-xsum-wiki-swe 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="Gabriel/bart-base-cnn-xsum-wiki-swe")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Gabriel/bart-base-cnn-xsum-wiki-swe") model = AutoModelForSeq2SeqLM.from_pretrained("Gabriel/bart-base-cnn-xsum-wiki-swe") - Notebooks
- Google Colab
- Kaggle
Training complete 1 for wiki_lingua
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 557723065
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3246eccee24334af7b6739614969e961850b2d5656ff0cbcb57bc10b337d1f4
|
| 3 |
size 557723065
|
runs/Sep28_20-23-26_aed4cce14aae/events.out.tfevents.1664396623.aed4cce14aae.76.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:10feb0bea0b28c910fa3c9daebe777bc9c667e9c6394e491ea6ed7414d4c1eaa
|
| 3 |
+
size 17769
|