Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,13 +33,14 @@ article = '''
|
|
33 |
This App uses an "MPNet" sentence-transformer to encode information from the website into an embedding space.
|
34 |
When faced with a query, the semantically most similar document is retrieved.
|
35 |
A text and a table language model ("Deberta-large" and "Tapas" here) extract the answers to the original question from the respective document and return them to the interface
|
|
|
36 |
'''
|
37 |
|
38 |
#examples = ["When is the add/dropp period?", "What does it mean if instructor consent is required?", "Where is the english preparatory unit located?"]
|
39 |
examples = [
|
40 |
-
["When is the add/dropp period?"
|
41 |
-
["What does it mean if instructor consent is required?"
|
42 |
-
["Where is the english preparatory unit located?"
|
43 |
]
|
44 |
|
45 |
label = gr.outputs.Label(num_top_classes=3)
|
|
|
33 |
This App uses an "MPNet" sentence-transformer to encode information from the website into an embedding space.
|
34 |
When faced with a query, the semantically most similar document is retrieved.
|
35 |
A text and a table language model ("Deberta-large" and "Tapas" here) extract the answers to the original question from the respective document and return them to the interface
|
36 |
+
For a more detailed description of the workings of this model, please refer to the full report, which is hosted on GitHub (https://github.com/LeoGitGuy/Bounwiki/blob/main/BounWiki.pdf)
|
37 |
'''
|
38 |
|
39 |
#examples = ["When is the add/dropp period?", "What does it mean if instructor consent is required?", "Where is the english preparatory unit located?"]
|
40 |
examples = [
|
41 |
+
["When is the add/dropp period?"],
|
42 |
+
["What does it mean if instructor consent is required?"],
|
43 |
+
["Where is the english preparatory unit located?"],
|
44 |
]
|
45 |
|
46 |
label = gr.outputs.Label(num_top_classes=3)
|