Thomas De Decker commited on
Commit
11261a5
β€’
1 Parent(s): 024ed28

Update author

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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/DeDeckerThomas/{st.session_state.chosen_model})."
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 deep learning methods (such as recurrent neural networks and transformers, GANS, ... ), keyphrase extraction can be improved. These new methods also focus on the semantics and context of a document, which is quite an improvement.",
3
- "model_author": "DeDeckerThomas",
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",