Update README.md
Browse files
README.md
CHANGED
@@ -87,6 +87,10 @@ datasets:
|
|
87 |
---
|
88 |
# Model Card
|
89 |
|
|
|
|
|
|
|
|
|
90 |
```python3
|
91 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline
|
92 |
|
@@ -98,7 +102,5 @@ inputs = ["In this paper, we delve into advanced techniques and methods in Natur
|
|
98 |
print(pipe(inputs, max_length=512, do_sample=False))
|
99 |
```
|
100 |
|
101 |
-
[Add more information here](https://huggingface.co/templates/model-card-example)
|
102 |
-
|
103 |
---
|
104 |
This model was trained with a synthetic dataset with [DataDreamer 🤖💤](https://datadreamer.dev). The synthetic dataset card and model card can be found [here](datadreamer.json). The training arguments can be found [here](training_args.json).
|
|
|
87 |
---
|
88 |
# Model Card
|
89 |
|
90 |
+
This is an "Abstract to Tweet" model that crafts a tweet summarizing a research paper abstract trained on a [synthetic dataset of arXiv abstracts and tweets](https://huggingface.co/datasets/datadreamer-dev/abstracts_and_tweets/). It is used as a demonstration of the [DataDreamer 🤖💤 library](https://datadreamer.dev/docs/latest/).
|
91 |
+
|
92 |
+
## Example Usage
|
93 |
+
|
94 |
```python3
|
95 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline
|
96 |
|
|
|
102 |
print(pipe(inputs, max_length=512, do_sample=False))
|
103 |
```
|
104 |
|
|
|
|
|
105 |
---
|
106 |
This model was trained with a synthetic dataset with [DataDreamer 🤖💤](https://datadreamer.dev). The synthetic dataset card and model card can be found [here](datadreamer.json). The training arguments can be found [here](training_args.json).
|