Update pages/7_Advance_vectorization_techniques.py
Browse files
pages/7_Advance_vectorization_techniques.py
CHANGED
|
@@ -175,14 +175,12 @@ if file_type == "Word2Vec":
|
|
| 175 |
|
| 176 |
st.markdown(
|
| 177 |
"""
|
| 178 |
-
<div class='box'>
|
| 179 |
<h3 style='color: #6A0572;'>π How Does It Preserve Meaning?</h3>
|
| 180 |
<ul>
|
| 181 |
<li>It learns from the <strong>context</strong> of words in the <span class='highlight'>corpus</span></li>
|
| 182 |
<li>When given a word, it checks in the dictionary and retrieves the <strong>semantic vector</strong></li>
|
| 183 |
<li>Unlike other models, <span class='highlight'>dimensions are not words</span>, but their meanings</li>
|
| 184 |
</ul>
|
| 185 |
-
</div>
|
| 186 |
""",
|
| 187 |
unsafe_allow_html=True,
|
| 188 |
)
|
|
@@ -200,11 +198,6 @@ if file_type == "Word2Vec":
|
|
| 200 |
""",
|
| 201 |
unsafe_allow_html=True,
|
| 202 |
)
|
| 203 |
-
st.markdown(
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
<strong>Word2Vec understands words by their meaning, not just their presence! π</strong>
|
| 207 |
-
</div>
|
| 208 |
-
""",
|
| 209 |
-
unsafe_allow_html=True,
|
| 210 |
-
)
|
|
|
|
| 175 |
|
| 176 |
st.markdown(
|
| 177 |
"""
|
|
|
|
| 178 |
<h3 style='color: #6A0572;'>π How Does It Preserve Meaning?</h3>
|
| 179 |
<ul>
|
| 180 |
<li>It learns from the <strong>context</strong> of words in the <span class='highlight'>corpus</span></li>
|
| 181 |
<li>When given a word, it checks in the dictionary and retrieves the <strong>semantic vector</strong></li>
|
| 182 |
<li>Unlike other models, <span class='highlight'>dimensions are not words</span>, but their meanings</li>
|
| 183 |
</ul>
|
|
|
|
| 184 |
""",
|
| 185 |
unsafe_allow_html=True,
|
| 186 |
)
|
|
|
|
| 198 |
""",
|
| 199 |
unsafe_allow_html=True,
|
| 200 |
)
|
| 201 |
+
st.markdown('''
|
| 202 |
+
-
|
| 203 |
+
''')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|