Summarization
Transformers
PyTorch
Safetensors
bart
text2text-generation
distilbart
Eval Results (legacy)
Instructions to use DeepNLP-22-23/MLQ-distilbart-bbc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepNLP-22-23/MLQ-distilbart-bbc 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="DeepNLP-22-23/MLQ-distilbart-bbc")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DeepNLP-22-23/MLQ-distilbart-bbc") model = AutoModelForSeq2SeqLM.from_pretrained("DeepNLP-22-23/MLQ-distilbart-bbc") - Notebooks
- Google Colab
- Kaggle
Commit ·
03e3513
1
Parent(s): a9f45b9
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (596fc2fffbe923d9c9179f125029a316c0ab9d91)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11a85ef03e9296af3c2c06da6de40458ff320f13a9340420ef84bee3bc2f9662
|
| 3 |
+
size 1222284056
|