Spaces:
Build error
Build error
README.md
CHANGED
|
@@ -12,7 +12,7 @@ license: apache-2.0
|
|
| 12 |
models: [maxidl/Llama-OpenReviewer-8B]
|
| 13 |
tags: [paper, review, generation, automatic, llm, llama, openreview, peer, conference, article, manuscript, feedback]
|
| 14 |
preload_from_hub: [maxidl/Llama-OpenReviewer-8B, vikp/surya_det3, vikp/surya_layout3, vikp/surya_order, vikp/surya_rec]
|
| 15 |
-
hf_oauth: true
|
| 16 |
---
|
| 17 |
|
| 18 |
A demo featuring [Llama-OpenReviewer-8B](https://huggingface.co/maxidl/Llama-OpenReviewer-8B), a large language model that generates high-quality reviews for machine learning and AI papers.
|
|
|
|
| 12 |
models: [maxidl/Llama-OpenReviewer-8B]
|
| 13 |
tags: [paper, review, generation, automatic, llm, llama, openreview, peer, conference, article, manuscript, feedback]
|
| 14 |
preload_from_hub: [maxidl/Llama-OpenReviewer-8B, vikp/surya_det3, vikp/surya_layout3, vikp/surya_order, vikp/surya_rec]
|
| 15 |
+
# hf_oauth: true
|
| 16 |
---
|
| 17 |
|
| 18 |
A demo featuring [Llama-OpenReviewer-8B](https://huggingface.co/maxidl/Llama-OpenReviewer-8B), a large language model that generates high-quality reviews for machine learning and AI papers.
|
app.py
CHANGED
|
@@ -233,11 +233,11 @@ description = """This is an online demo featuring [Llama-OpenReviewer-8B](https:
|
|
| 233 |
|
| 234 |
3. Having obtained a markdown version of your paper, you can now click *Generate Review*.
|
| 235 |
|
| 236 |
-
|
| 237 |
|
| 238 |
-
|
| 239 |
|
| 240 |
-
**GPU quota
|
| 241 |
|
| 242 |
"""
|
| 243 |
|
|
@@ -245,7 +245,7 @@ theme = gr.themes.Default(primary_hue="gray", secondary_hue="blue", neutral_hue=
|
|
| 245 |
with gr.Blocks(theme=theme) as demo:
|
| 246 |
title = gr.HTML(title)
|
| 247 |
description = gr.Markdown(description)
|
| 248 |
-
login_button = gr.LoginButton()
|
| 249 |
# instr = gr.Markdown("Upload your paper in pdf format")
|
| 250 |
file_input = gr.File(file_types=[".pdf"], file_count="single")
|
| 251 |
paper_text_field= gr.Textbox("Upload a pdf or paste the full text of your paper in markdown format here.", label="Paper Text", lines=20, max_lines=20, autoscroll=False)
|
|
|
|
| 233 |
|
| 234 |
3. Having obtained a markdown version of your paper, you can now click *Generate Review*.
|
| 235 |
|
| 236 |
+
Take a look at the Review Template to properly interpret the generated review. You can also change the review template before generating in case you want to generate a review with a different schema and aspects.
|
| 237 |
|
| 238 |
+
To obtain more than one review, just generate again.
|
| 239 |
|
| 240 |
+
**GPU quota:** If exceeded, either sign in with your HF account or come back later. Your quota has a half-life of 2 hours.
|
| 241 |
|
| 242 |
"""
|
| 243 |
|
|
|
|
| 245 |
with gr.Blocks(theme=theme) as demo:
|
| 246 |
title = gr.HTML(title)
|
| 247 |
description = gr.Markdown(description)
|
| 248 |
+
# login_button = gr.LoginButton()
|
| 249 |
# instr = gr.Markdown("Upload your paper in pdf format")
|
| 250 |
file_input = gr.File(file_types=[".pdf"], file_count="single")
|
| 251 |
paper_text_field= gr.Textbox("Upload a pdf or paste the full text of your paper in markdown format here.", label="Paper Text", lines=20, max_lines=20, autoscroll=False)
|