Skip to content

Commit

Permalink
added faq question
Browse files Browse the repository at this point in the history
  • Loading branch information
syke9p3 committed Jul 21, 2024
1 parent 7f1d54e commit 74bf5ef
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 8 deletions.
39 changes: 34 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,17 +302,21 @@ <h2>What is MLTHSC?</h2>
</div>

</article>

<!-- <article class="faq">
<div class="qna" style="background-color: white; padding: 48px 24px;">
<h2>Why MLTHSC is useful?</h2>
<ul class="faq-features">
<p> Hate speech rising social media. contribute to the deterioration of an individual’s mental health,
fueling feelings of worthlessness, depression, anxiety, and isolation. Contibute to improved approach for platform moderators through</p>
<li>
<h3>Automated Detection</h3>
<p>Automatically </p>
<p>Automatically categgorize Tagalog hate speech across various categories with a click of a button. Given the large volume of malicious content posted online, manual efforts in detecting and reporting hate speech is becoming
increasingly tedious task for moderators, that's why.</p>
</li>
<li>
<h3>Tagalog Language-Specific</h3>
<p></p>
<p>The Philippines - growing in social media landscape more users, along this the proliferation of hate speen in Filipino social media landscape especially during election thats why need Fil-based language specific tools. We also aim to address/contribute low-resourced Filipino</p>
</li>
<li>
<h3>Multilabel Classification</h3>
Expand Down Expand Up @@ -383,6 +387,31 @@ <h4 style="background-color: var(--out-other)">Others</h4>
</p>
</div>
</article>
<article class="faq">
<div class="qna" style="padding: 48px 24px;">
<h2>How does MLTHSC work?</h2>
<p style="max-width: 768px;">
MLTHSC is uses a machine learning model based on the BERT architecture fine-tuned on Tagalog
hate speech data. When you input text and press the Classify button, the <span class="tooltip">
quantized model
<span class="tooltiptext">
We used a quantized model for this demo because loading the original model would take
time to load and perform classifications due to its larger size (500+ mb). The model
being quantized means its size was reduced (100+ mb) so that it load and perform faster
inference on phones while maintaining
similar albeit reduced accuracy as the original.
</span>
</span> (hosted on <a
href="https://huggingface.co/syke9p3/bert-multilabel-tagalog-hate-speech-classifier"
target="_blank" style="color: #424BFC;">Hugging Face <i
class='bx bx-link-external'></i></a>)
will process the text and
outputs the probability scores for
each hate speech category. For this demo, we used a 30% threshold to determine if a category is
present in the hate speech text.
</p>
</div>
</article>
</section>
</div>

Expand Down Expand Up @@ -413,9 +442,9 @@ <h4>
<div>
<h4>DISCLAIMER</h4>
<p class="footer_size">
This website does not collect any user credentials. In the event
that data is saved, it is stored only in the local storage of your
device, ensuring your information remains secure and within your
This website does not collect any user credentials. When an output is saved, it is stored only
in the localstorage of your
browser's device, so your information remains secure and within your
control.
</p>
</div>
Expand Down
10 changes: 7 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ textarea {
color: inherit;
}


.btn-extract,
.btn-analyze {
background-color: #3A36E4;
Expand Down Expand Up @@ -1089,7 +1088,8 @@ footer {

.tooltip .tooltiptext {
visibility: hidden;
width: 300px;
width: 200px;

background-color: #000;
/* box-shadow: ; */
color: #fff;
Expand All @@ -1104,6 +1104,11 @@ footer {
opacity: 0;
transition: opacity 0.3s;
font-size: 12px;

@media screen and (min-width: 600px) {
width: 300px;

}
}

.dark-mode .tooltiptext {
Expand Down Expand Up @@ -1570,7 +1575,6 @@ footer {
position: fixed;
inset: 0;


/* z-index must be higher than everything else on the page */
z-index: 10000;

Expand Down

0 comments on commit 74bf5ef

Please sign in to comment.