Instructions to use rpharale/dialog_summarization_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rpharale/dialog_summarization_model 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="rpharale/dialog_summarization_model")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rpharale/dialog_summarization_model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,6 +4,8 @@ datasets:
|
|
| 4 |
- Samsung/samsum
|
| 5 |
language:
|
| 6 |
- en
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
# Dialog summarization model
|
| 9 |
|
|
@@ -56,4 +58,4 @@ B: I wonder what he'll name it.
|
|
| 56 |
A: He said he’d name it after his dead hamster – Lemmy - he's a great Motorhead fan :-)))
|
| 57 |
|
| 58 |
Summary:
|
| 59 |
-
A wants to get a puppy for her son. A took him to the animal shelter last Monday and he showed her a dog he liked. A wants to get a small dog. A son wants to name it Lemmy.
|
|
|
|
| 4 |
- Samsung/samsum
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
+
library_name: transformers
|
| 8 |
+
pipeline_tag: summarization
|
| 9 |
---
|
| 10 |
# Dialog summarization model
|
| 11 |
|
|
|
|
| 58 |
A: He said he’d name it after his dead hamster – Lemmy - he's a great Motorhead fan :-)))
|
| 59 |
|
| 60 |
Summary:
|
| 61 |
+
A wants to get a puppy for her son. A took him to the animal shelter last Monday and he showed her a dog he liked. A wants to get a small dog. A son wants to name it Lemmy.
|