Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,12 +12,12 @@ ind_to_target = {ind: target for target, ind in target_to_ind.items()}
|
|
12 |

|
13 |
|
14 |
st.title('papers_classifier - your best friend in 🤓')
|
15 |
-
st.text(
|
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 |

|
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():
|