Skip to content

chatotp/HackyAIMod

Repository files navigation

HackyAIMod

This repository contains the source code of HackyAIMod.

Deployment

Using Docker

  1. Download the Dockerfile from repository.
  2. Build the image:
docker build -t HackyAI
  1. Turn off access control for Docker to your X11 server.
xhost +local:docker
  1. If you have Nvidia GPU installed:
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --security-opt=label=disable --runtime=nvidia -d --name HackyAIMod -i HackyAI

If you don't have Nvidia GPU installed:

docker run --security-opt=label=disable -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -d --name HackyAIMod -i HackyAI

Without using Docker [Recommended]

Recommended Python Version: 3.11.x

  1. Clone the git repository.
git clone https://github.com/chatotp/HackyAIMod.git
  1. Install required dependencies from requirements.txt
cd HackyAIMod
pip install -r requirements.txt
  1. To test the model, use the following command.
python test_model.py
  1. To test the Chat UI, use the following command.
python test_ui.py

About

A Content Moderator BiLSTM made for Hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published