Update README.md
Browse files
README.md
CHANGED
@@ -26,6 +26,7 @@ The goal of this meticulous training process is to equip the model with the abil
|
|
26 |
### How to Use
|
27 |
To use this model for text summarization, you can follow these steps:
|
28 |
|
|
|
29 |
```python
|
30 |
from transformers import pipeline
|
31 |
|
@@ -55,6 +56,8 @@ Hugging Face's story is one of transformation, collaboration, and empowerment. T
|
|
55 |
"""
|
56 |
print(summarizer(ARTICLE, max_length=230, min_length=30, do_sample=False))
|
57 |
>>> [{'summary_text': 'Hugging Face has emerged as a prominent and innovative force in NLP . From its inception to its role in democratizing AI, the company has left an indelible mark on the industry . The name "Hugging Face" was chosen to reflect the company\'s mission of making AI models more accessible and friendly to humans .'}]
|
|
|
|
|
58 |
|
59 |
Limitations
|
60 |
Specialized Task Fine-Tuning: While the model excels at text summarization, its performance may vary when applied to other natural language processing tasks. Users interested in employing this model for different tasks should explore fine-tuned versions available in the model hub for optimal results.
|
|
|
26 |
### How to Use
|
27 |
To use this model for text summarization, you can follow these steps:
|
28 |
|
29 |
+
|
30 |
```python
|
31 |
from transformers import pipeline
|
32 |
|
|
|
56 |
"""
|
57 |
print(summarizer(ARTICLE, max_length=230, min_length=30, do_sample=False))
|
58 |
>>> [{'summary_text': 'Hugging Face has emerged as a prominent and innovative force in NLP . From its inception to its role in democratizing AI, the company has left an indelible mark on the industry . The name "Hugging Face" was chosen to reflect the company\'s mission of making AI models more accessible and friendly to humans .'}]
|
59 |
+
```
|
60 |
+
|
61 |
|
62 |
Limitations
|
63 |
Specialized Task Fine-Tuning: While the model excels at text summarization, its performance may vary when applied to other natural language processing tasks. Users interested in employing this model for different tasks should explore fine-tuned versions available in the model hub for optimal results.
|