Digibento

Hate Speech Detection

Hands-on project · Sold on Manning

Hate Speech Detection by Manning Publications is a hands-on project sold by Manning. It costs $29.99. Refund policy: 7-day refund on liveProjects, before your first upload.

$29.99

Buy at Manning

Digibento may earn a commission at no extra cost to you.

Hate Speech Detection

Our take

Hate Speech Detection is a Manning liveProject where you detect hate speech in social media posts with ALBERT, a lighter variant of BERT suited to slangy, unstructured text. You load the pretrained model with Hugging Face, fine-tune a text classifier with PyTorch Lightning and optimize for precision, since false flags are costly. The final product runs as a GPU notebook in Google Colab. Rohan Khilnani guides it over one week at 5 to 7 hours.

Level: Intermediate

What you get

  • Pretrained ALBERT via Hugging Face
  • Text classifier fine-tuned in PyTorch Lightning
  • Evaluation focused on precision
  • Runs on a GPU in Google Colab
  • Social media dataset

Ideal for

  • NLP practitioners working on moderation
  • Trust and safety data scientists
  • Python developers learning Transformers

Use it for

  • Flagging harmful posts
  • Fine-tuning a Transformer classifier

What you need

  • A Google account for Colab

About this

From Manning

In this liveProject, you’ll use the ALBERT variation of the BERT Transformer to detect occurrences of hate speech in a data set. The ALBERT model uses fewer parameters than BERT, making it more suitable to the unstructured and slang-heavy text of social media. You’ll load this powerful pretrained model using the Hugging Face library and fine-tune it for your specific needs with PyTorch Lightning. As falsely tagging hate speech can be a big problem, the success of your model will involve calculating and optimizing its precision score. Your final product will run as a notebook on a GPU in the Google Colab environment.

Highlights

  • Loading and configuring pretrained ALBERT model using HuggingFace
  • Building and training a text classifier using PyTorch Lightning
  • Validating the performance of the model and quantifying the results

What’s included

  • Self-paced
  • Project roadmap
  • Get Help
  • Compare with others
  • Books included as resources
  • Also included in a Manning Online subscription
Store
Manning
Type
Hands-on project
Category
Online courses
Creator
Manning Publications
Level
Intermediate
Duration
1 week, 5-7 hours per week
Instructor
Rohan Khilnani
Released
2021-09-10
Refund
7-day refund on liveProjects, before your first upload

Questions and answers

What's included in Hate Speech Detection?
Self-paced. Project roadmap. Get Help. Compare with others. Books included as resources.
What does Hate Speech Detection work on?
It works on the web.
Can I get a refund on Hate Speech Detection?
Manning says: 7-day refund, before your first upload.

You may also like

More in Online courses

More from Manning

See all