Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,15 +72,9 @@ with gr.Blocks() as demo:
|
|
72 |
|
73 |
Este espacio ha sido clonado y adaptado de: https://huggingface.co/spaces/whitead/paper-qa
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
It uses OpenAI's GPT models and thus you must enter your API key below. This
|
79 |
-
tool is under active development and currently uses many tokens - up to 10,000
|
80 |
-
for a single query. That is $0.10-0.20 per query, so please be careful!
|
81 |
-
|
82 |
-
* [PaperQA](https://github.com/whitead/paper-qa) is the code used to build this tool.
|
83 |
-
* [langchain](https://github.com/hwchase17/langchain) is the main library this tool utilizes.
|
84 |
|
85 |
## Instrucciones:
|
86 |
|
|
|
72 |
|
73 |
Este espacio ha sido clonado y adaptado de: https://huggingface.co/spaces/whitead/paper-qa
|
74 |
|
75 |
+
La idea es utilizar un modelo preentrenado de HuggingFace como "distilbert-base-cased-distilled-squad"
|
76 |
+
y responder las preguntas en inglés, para ello, será necesario hacer primero una traducción de los textos en castellano
|
77 |
+
a inglés y luego volver a traducir en sentido contrario.
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
## Instrucciones:
|
80 |
|