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
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.fe58abf
-
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