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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -9,14 +9,14 @@ target_to_label = {'cs': 'Computer Science', 'econ': 'Economics', 'eess': 'Elect
9
  ind_to_target = {ind: target for target, ind in target_to_ind.items()}
10
 
11
 
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
 
9
  ind_to_target = {ind: target for target, ind in target_to_ind.items()}
10
 
11
 
 
12
 
13
+ st.title('papers_classifier 🤓')
14
+ st.text("Hey! I'm papers_classifier and I'm here to help you with answering the question 'WTF is this paper about?'\
15
+ According to arXiv there are 8 different fields of study - Computer Science, Economics, Electrical Engineering and Systems Science, Mathematics, Physics, Quantitative Biology, \
16
+ Quantitative Finance and Statistics. So, everything I'll tell you will be about these eight gentlemen.\
17
+ You need to give me paper's title and (if you have one) it's abstract. Also you need to choose classification mode - there are 2 of them:\
18
+ best prediction and top 95% which means that you'll see as many classes as I need to show you to be confident with probability at least 0.95 that the correct one is among them. \
19
  After that you need to press the Get prediction button and I'll tell you to which fields of study this paper is related. \
 
 
20
  ")
21
 
22
  @st.cache_resource