Downloads · 30 days
8
12% of all-time downloads
RichardErkhov/lidiya_-_bart-large-xsum-samsum-4bits
lidiya_-_bart-large-xsum-samsum-4bits is a text generation model from RichardErkhov. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
8
12% of all-time downloads
All-time downloads
69
Public
Parameters
257M
219 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors219 MB · 98%
How the weights are stored.
U8201M · 78%
From the Hugging Face model README
Quantization made by Richard Erkhov.
bart-large-xsum-samsum - bnb 4bits
language: en tags:
bart-large-xsum-samsumThis model was obtained by fine-tuning facebook/bart-large-xsum on Samsum dataset.
from transformers import pipeline
summarizer = pipeline("summarization", model="lidiya/bart-large-xsum-samsum")
conversation = '''Hannah: Hey, do you have Betty's number?
Amanda: Lemme check
Amanda: Sorry, can't find it.
Amanda: Ask Larry
Amanda: He called her last time we were at the park together
Hannah: I don't know him well
Amanda: Don't be shy, he's very nice
Hannah: If you say so..
Hannah: I'd rather you texted him
Amanda: Just text him 🙂
Hannah: Urgh.. Alright
Hannah: Bye
Amanda: Bye bye
'''
summarizer(conversation)
| key | value |
|---|---|
| eval_rouge1 | 54.3921 |
| eval_rouge2 | 29.8078 |
| eval_rougeL | 45.1543 |
| eval_rougeLsum | 49.942 |
| test_rouge1 | 53.3059 |
| test_rouge2 | 28.355 |
| test_rougeL | 44.0953 |
| test_rougeLsum | 48.9246 |