Summarization
Transformers
PyTorch
English
bart
text2text-generation
sagemaker
Eval Results (legacy)
Run this model with HF Jobs
Run philschmid/bart-base-samsum on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/philschmid/bart-base-samsum. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/philschmid/bart-base-samsum on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use philschmid/bart-base-samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/bart-base-samsum 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="philschmid/bart-base-samsum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("philschmid/bart-base-samsum") model = AutoModelForSeq2SeqLM.from_pretrained("philschmid/bart-base-samsum", 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.53a9292
-
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#2)
- Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (bfa5399e93645cec4accdf24b592ee729f4b3bf4) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>ed8aad5
-
Add evaluation results on samsum dataset (#1)
- Add evaluation results on samsum dataset (1641ce08c58858b7757e7006f8e90afab049ae7b) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>807745b
-
Update README.md
38a5b89
-
Update README.md
5918ef4 -
Update README.md
618c352 -
Update README.md
65f8cc1 -
commit files to HF hub
philschmid3456945 -
initial commit
c0060c5