Spaces:
Sleeping
Sleeping
Thomas De Decker
commited on
Commit
β’
11261a5
1
Parent(s):
024ed28
Update author
Browse files- app.py +1 -1
- config.json +2 -2
app.py
CHANGED
@@ -155,7 +155,7 @@ with st.form("keyphrase-extraction-form"):
|
|
155 |
)
|
156 |
|
157 |
st.markdown(
|
158 |
-
f"For more information about the chosen model, please be sure to check out the [π€ Model Card](https://huggingface.co/
|
159 |
)
|
160 |
|
161 |
st.session_state.input_text = (
|
|
|
155 |
)
|
156 |
|
157 |
st.markdown(
|
158 |
+
f"For more information about the chosen model, please be sure to check out the [π€ Model Card](https://huggingface.co/{st.session_state.get('config').get('model_author')}/{st.session_state.chosen_model})."
|
159 |
)
|
160 |
|
161 |
st.session_state.input_text = (
|
config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
-
"example_text": "Keyphrase extraction is a technique in text analysis where you extract the important keyphrases from a text. Since this is a time-consuming process, Artificial Intelligence is used to automate it. Currently, classical machine learning methods, that use statistics and linguistics, are widely used for the extraction process. The fact that these methods have been widely used in the community has the advantage that there are many easy-to-use libraries. Now with the recent innovations in
|
3 |
-
"model_author": "
|
4 |
"models": [
|
5 |
"keyphrase-extraction-kbir-inspec",
|
6 |
"keyphrase-extraction-distilbert-inspec",
|
|
|
1 |
{
|
2 |
+
"example_text": "Keyphrase extraction is a technique in text analysis where you extract the important keyphrases from a text. Since this is a time-consuming process, Artificial Intelligence is used to automate it. Currently, classical machine learning methods, that use statistics and linguistics, are widely used for the extraction process. The fact that these methods have been widely used in the community has the advantage that there are many easy-to-use libraries. Now with the recent innovations in NLP, transformers can be used to improve keyphrase extraction. Transformers also focus on the semantics and context of a document, which is quite an improvement.",
|
3 |
+
"model_author": "ml6team",
|
4 |
"models": [
|
5 |
"keyphrase-extraction-kbir-inspec",
|
6 |
"keyphrase-extraction-distilbert-inspec",
|