Giter VIP home page Giter VIP logo

spyrchat / project-moriarty Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 3.0 3.64 MB

We are building solutions to stop harrashment and hate speech in online voice communication

License: Other

Jupyter Notebook 96.63% Python 0.10% Shell 0.11% HTML 1.38% JavaScript 1.14% CSS 0.64%
hate-speech-detection nlp-machine-learning openai python3 pytorch text-classification voice-interface voice-recognition whisper voice-chat

project-moriarty's Introduction

Project-Moriarty

We are building solutions to stop harrashment and hate speech in online voice communication. The project's goal in this state, is to take user input using the default system microphone and transcode the speech to text. After that a model (unitaryai/detoxify) is used to classify the text produced from whisper as toxic, severe_toxic, obscene, threat, insult, identity_atttack.

OpenAI Whisper Hackathon

This project was build as project for openAI's Whisper hackathon. Our project was place 2nd by the judges out of 104 teams. We intend to continue working on it in order to implement more useful features such as Real Time Speech Recognition, Multilinguality and more

Here is a link with our presentation: https://www.canva.com/design/DAFPGvMqwIk/KbN69ps29X0USU02Uip_wA/view?website#4:intro

Whisper

Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification.

image

A Transformer sequence-to-sequence model is trained on various speech processing tasks, including multilingual speech recognition, speech translation, spoken language identification, and voice activity detection. All of these tasks are jointly represented as a sequence of tokens to be predicted by the decoder, allowing for a single model to replace many different stages of a traditional speech processing pipeline. The multitask training format uses a set of special tokens that serve as task specifiers or classification targets.

Available models and languages

There are five model sizes, four with English-only versions, offering speed and accuracy tradeoffs. Below are the names of the available models and their approximate memory requirements and relative speed.

Size Parameters English-only model Multilingual model Required VRAM Relative speed
tiny 39 M tiny.en tiny ~1 GB ~32x
base 74 M base.en base ~1 GB ~16x
small 244 M small.en small ~2 GB ~6x
medium 769 M medium.en medium ~5 GB ~2x
large 1550 M N/A large ~10 GB 1x

For English-only applications, the .en models tend to perform better, especially for the tiny.en and base.en models. We observed that the difference becomes less significant for the small.en and medium.en models.

Credits

Athanasiadou Christina ECE AUTH, https://github.com/christina-ath

Chatzigeorgiou Spiros ECE AUTH, https://github.com/Themanwhosoldtheworldd

Whisper: https://github.com/openai/whisper

Detoxify: https://github.com/unitaryai/detoxify

project-moriarty's People

Contributors

christina-ath avatar spyrchat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.