Summarization
Transformers
PyTorch
TensorBoard
Swedish
bart
text2text-generation
Eval Results (legacy)
Instructions to use Gabriel/bart-base-cnn-swe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gabriel/bart-base-cnn-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-swe")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Gabriel/bart-base-cnn-swe") model = AutoModelForSeq2SeqLM.from_pretrained("Gabriel/bart-base-cnn-swe", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Librarian Bot: Add base_model information to model
This pull request aims to enrich the metadata of your model by adding [`KBLab/bart-base-swedish-cased`](https://huggingface.co/KBLab/bart-base-swedish-cased) as a `base_model` field, situated in the `YAML` block of your model's `README.md`. How did we find this information? We performed a regular expression match on your `README.md` file to determine the connection. **Why add this?** Enhancing your model's metadata in this way: - **Boosts Discoverability** - It becomes straightforward to trace the relationships between various models on the Hugging Face Hub. - **Highlights Impact** - It showcases the contributions and influences different models have within the community. For a hands-on example of how such metadata can play a pivotal role in mapping model connections, take a look at [librarian-bots/base_model_explorer](https://huggingface.co/spaces/librarian-bots/base_model_explorer). This PR comes courtesy of [Librarian Bot](https://huggingface.co/librarian-bot). If you have any f…297d649
-
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#1)
- Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (782ed8b0ef939620b48ff466bbc2279fb1669fc2) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>b280d8f
-
Update README.md
d016818 -
Update README.md
d6e1210
-
Update README.md
e2b2b92 -
Update README.md
94973ca -
Update README.md
038f161 -
Update README.md
5269fa2 -
Update README.md
75ab7d6
-
Update README.md
2c01530 -
Update README.md
c254ed4 -
Update README.md
f1849e8 -
Update README.md
16d5256 -
Update README.md
98b37fd -
Update README.md
9960650 -
Update README.md
2cdf74d
-
Training in progress, step 500
4e4ee63
-
update model card README.md
c1817b2 -
End of training
8366724 -
Training in progress, step 500
0613c5e
-
update model card README.md
83ab60e -
End of training
6a96ced -
Training in progress, step 500
3e74671
-
update model card README.md
c287791 -
End of training
7ca68fe
-
Training in progress, step 500
53532a6 -
Training in progress, step 500
e24243a
-
Update README.md
efbe2aa -
Update README.md
cbc69cf
-
Update README.md
558b8f1 -
Update README.md
37eff9a -
Update README.md
ce25583 -
Update README.md
a0e1a56 -
Update README.md
e9d70b8 -
Update README.md
6c21295 -
Update README.md
e15a8c7 -
Update README.md
f8e01ee -
Update README.md
29fb6e4 -
Update README.md
1bea949 -
update model card README.md
3c6af8a -
End of training
1116bed -
Training in progress, step 500
69bb1eb -
initial commit
efeebc0