dfedukov commited on
Commit
b4d98ff
·
verified ·
1 Parent(s): aa45a03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,12 +12,12 @@ ind_to_target = {ind: target for target, ind in target_to_ind.items()}
12
  ![image/gif](https://cdn-uploads.huggingface.co/production/uploads/67f0e021e17e5360e7c18a52/oNcjUz7MbWW0Bymah31y7.gif)
13
 
14
  st.title('papers_classifier - your best friend in 🤓')
15
- st.text('You need to give me paper's title and (if you want to) it's abstract. Also you need to choose classification mode - there are 2 of them:\
16
  best prediction and top 95% which means that you'll see as many classes as model needs to show to be confident with probability at least 0.95 that the correct one is among them. \
17
  After that you need to press the Get prediction button and I'll tell you to which fields of study this paper is related. \
18
  According to arXiv there are 8 different fields - Computer Science, Economics, Electrical Engineering and Systems Science, Mathematics, Physics, Quantitative Biology, \
19
  Quantitative Finance and Statistics.\
20
- ')
21
 
22
  @st.cache_resource
23
  def load_model_and_tokenizer():
 
12
  ![image/gif](https://cdn-uploads.huggingface.co/production/uploads/67f0e021e17e5360e7c18a52/oNcjUz7MbWW0Bymah31y7.gif)
13
 
14
  st.title('papers_classifier - your best friend in 🤓')
15
+ st.text("You need to give me paper's title and (if you want to) it's abstract. Also you need to choose classification mode - there are 2 of them:\
16
  best prediction and top 95% which means that you'll see as many classes as model needs to show to be confident with probability at least 0.95 that the correct one is among them. \
17
  After that you need to press the Get prediction button and I'll tell you to which fields of study this paper is related. \
18
  According to arXiv there are 8 different fields - Computer Science, Economics, Electrical Engineering and Systems Science, Mathematics, Physics, Quantitative Biology, \
19
  Quantitative Finance and Statistics.\
20
+ ")
21
 
22
  @st.cache_resource
23
  def load_model_and_tokenizer():