jordiclive
commited on
Commit
•
370207a
1
Parent(s):
f44af57
Update README.md
Browse files
README.md
CHANGED
@@ -46,12 +46,11 @@ example_prompts = {
|
|
46 |
"summary": "Write a ~ 100 word summary of the following text:",
|
47 |
"short": "Provide a short summary of the following article:",
|
48 |
}
|
49 |
-
|
50 |
The model has also learned for the length of the summary to be specified in words by a range "x-y words" or e.g. "~/approximately/about/ x words."
|
51 |
|
52 |
Prompts should be formatted with a colon at the end so that the input to the model is formatted as e.g. "Summarize the following: \n\n <input text>"
|
53 |
|
54 |
-
```
|
55 |
After `pip install transformers` run the following code:
|
56 |
|
57 |
This pipeline will run slower and not have some of the tokenization parameters as the colab.
|
|
|
46 |
"summary": "Write a ~ 100 word summary of the following text:",
|
47 |
"short": "Provide a short summary of the following article:",
|
48 |
}
|
49 |
+
```
|
50 |
The model has also learned for the length of the summary to be specified in words by a range "x-y words" or e.g. "~/approximately/about/ x words."
|
51 |
|
52 |
Prompts should be formatted with a colon at the end so that the input to the model is formatted as e.g. "Summarize the following: \n\n <input text>"
|
53 |
|
|
|
54 |
After `pip install transformers` run the following code:
|
55 |
|
56 |
This pipeline will run slower and not have some of the tokenization parameters as the colab.
|