Spaces:
Runtime error
Runtime error
Marvin M. Agüero-Torales
commited on
Commit
·
aa5ad4d
1
Parent(s):
de5036b
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,8 +68,12 @@ if __name__ == '__main__':
|
|
| 68 |
# Auto-Complete
|
| 69 |
This is an example of an auto-complete approach where the next token suggested based on users's history Keyword match & Semantic similarity of users's history (log).
|
| 70 |
The next token is predicted per probability and a weight if it is appeared in keyword user's history or there is a similarity to semantic user's history.
|
| 71 |
-
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
""")
|
| 74 |
history_keyword_text = st.text_input("Enter users's history <Keywords Match> (optional, i.e., 'Premio Cervantes')", value="")
|
| 75 |
|
|
|
|
| 68 |
# Auto-Complete
|
| 69 |
This is an example of an auto-complete approach where the next token suggested based on users's history Keyword match & Semantic similarity of users's history (log).
|
| 70 |
The next token is predicted per probability and a weight if it is appeared in keyword user's history or there is a similarity to semantic user's history.
|
| 71 |
+
|
| 72 |
+
## Source
|
| 73 |
+
Forked from **[mbahrami/Auto-Complete_Semantic](https://huggingface.co/spaces/mbahrami/Auto-Complete_Semantic)** with *[osanseviero/fork_a_repo](https://huggingface.co/spaces/osanseviero/fork_a_repo)*.
|
| 74 |
+
|
| 75 |
+
## Disclaimer
|
| 76 |
+
The behind idea is to compare our models that included Guarani during pre-training vs. the models that do not have saw it. That is, the multilingual ones: XLM-RoBERTa, mBERT and Spanish BERTs (BETO and PLAN-TL-RoBERTa). Additionally, we include English models: BERT and RoBERTa, for comparison reasons.
|
| 77 |
""")
|
| 78 |
history_keyword_text = st.text_input("Enter users's history <Keywords Match> (optional, i.e., 'Premio Cervantes')", value="")
|
| 79 |
|