Spaces:
Runtime error
Runtime error
π add details on csearch
Browse filesSigned-off-by: peter szemraj <peterszemraj@gmail.com>
README.md
CHANGED
|
@@ -6,8 +6,9 @@ colorTo: blue
|
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 3.1.4
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
license: apache-2.0
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 3.1.4
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
license: apache-2.0
|
| 11 |
+
tags: [email, autocomplete, text generation, contrastive search]
|
| 12 |
---
|
| 13 |
|
| 14 |
+
Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference>
|
app.py
CHANGED
|
@@ -214,7 +214,7 @@ if __name__ == "__main__":
|
|
| 214 |
gr.Markdown("---")
|
| 215 |
gr.Markdown("## Advanced Options")
|
| 216 |
gr.Markdown(
|
| 217 |
-
"This demo generates text via
|
| 218 |
)
|
| 219 |
with gr.Row():
|
| 220 |
model_name = gr.Dropdown(
|
|
@@ -258,7 +258,7 @@ if __name__ == "__main__":
|
|
| 258 |
|
| 259 |
gr.Markdown("## About")
|
| 260 |
gr.Markdown(
|
| 261 |
-
"[This model](https://huggingface.co/postbot/distilgpt2-emailgen) is a fine-tuned version of distilgpt2 on a dataset of
|
| 262 |
)
|
| 263 |
gr.Markdown(
|
| 264 |
"The intended use of this model is to provide suggestions to _auto-complete_ the rest of your email. Said another way, it should serve as a **tool to write predictable emails faster**. It is not intended to write entire emails from scratch; at least **some input** is required to guide the direction of the model.\n\nPlease verify any suggestions by the model for A) False claims and B) negation statements **before** accepting/sending something."
|
|
|
|
| 214 |
gr.Markdown("---")
|
| 215 |
gr.Markdown("## Advanced Options")
|
| 216 |
gr.Markdown(
|
| 217 |
+
"This demo generates text via the new [constrastive search](https://huggingface.co/blog/introducing-csearch). See details on the csearch blog post for the methods' parameters or [here](https://huggingface.co/blog/how-to-generate), for general decoding."
|
| 218 |
)
|
| 219 |
with gr.Row():
|
| 220 |
model_name = gr.Dropdown(
|
|
|
|
| 258 |
|
| 259 |
gr.Markdown("## About")
|
| 260 |
gr.Markdown(
|
| 261 |
+
"[This model](https://huggingface.co/postbot/distilgpt2-emailgen) is a fine-tuned version of distilgpt2 on a dataset of 100k emails sourced from the internet, including the classic `aeslc` dataset.\n\nCheck out the model card for details on notebook & command line usage."
|
| 262 |
)
|
| 263 |
gr.Markdown(
|
| 264 |
"The intended use of this model is to provide suggestions to _auto-complete_ the rest of your email. Said another way, it should serve as a **tool to write predictable emails faster**. It is not intended to write entire emails from scratch; at least **some input** is required to guide the direction of the model.\n\nPlease verify any suggestions by the model for A) False claims and B) negation statements **before** accepting/sending something."
|