Spaces:
Sleeping
Sleeping
Update pages/3_QA.py
Browse files- pages/3_QA.py +13 -0
pages/3_QA.py
CHANGED
|
@@ -26,6 +26,19 @@ st.markdown("""
|
|
| 26 |
<li>Importantly the fine tuned model used for Q & A was DistilledBert squad. </li>
|
| 27 |
</ul>
|
| 28 |
</div>""",unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
#creating a loop to see if a csv file is there
|
| 30 |
if "uploaded_content" not in st.session_state:
|
| 31 |
st.warning("Please upload and classify a CSV on the Classification page first.")
|
|
|
|
| 26 |
<li>Importantly the fine tuned model used for Q & A was DistilledBert squad. </li>
|
| 27 |
</ul>
|
| 28 |
</div>""",unsafe_allow_html=True)
|
| 29 |
+
|
| 30 |
+
st.markdown("""<div class="feature_text"> Reasons for choosing DistilledBert squad,
|
| 31 |
+
</div>""",unsafe_allow_html=True)
|
| 32 |
+
st.markdown("""
|
| 33 |
+
<div class="feature_text">
|
| 34 |
+
<ul>
|
| 35 |
+
<li> Firstly the DistilledBert model retained almost the same accuracy as the bigger BERT dataset </li>
|
| 36 |
+
<li> Whilst it holds almost the same accuracy the size of the model is siginificantly smaller meaning it is around 60% faster </li>
|
| 37 |
+
<li> Due to being a smaller model it is very strong for a smaller to medium size >200mb csv files that are being classified in this app </li>
|
| 38 |
+
<li> The model is also optimized to be bi-directional so it checks the answer key from both the starting and ending point </li>
|
| 39 |
+
</ul>
|
| 40 |
+
</div>""",unsafe_allow_html=True)
|
| 41 |
+
|
| 42 |
#creating a loop to see if a csv file is there
|
| 43 |
if "uploaded_content" not in st.session_state:
|
| 44 |
st.warning("Please upload and classify a CSV on the Classification page first.")
|