Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ This particular model, Bart-Large, is the larger version of the Bart model. It c
|
|
37 |
To use this model, you can leverage the Hugging Face [Transformers](https://huggingface.co/transformers/) library. Here's an example of how to use it in Python:
|
38 |
|
39 |
```python
|
40 |
-
from transformers import BartTokenizer, BartForConditionalGeneration
|
41 |
|
42 |
# Load the model and tokenizer
|
43 |
model_name = "com3dian/Bart-large-paper2slides-summarizer"
|
|
|
37 |
To use this model, you can leverage the Hugging Face [Transformers](https://huggingface.co/transformers/) library. Here's an example of how to use it in Python:
|
38 |
|
39 |
```python
|
40 |
+
from transformers import BartTokenizer, BartForConditionalGeneration, pipeline
|
41 |
|
42 |
# Load the model and tokenizer
|
43 |
model_name = "com3dian/Bart-large-paper2slides-summarizer"
|