Skip to content
Automatically label downloaded files based on your previous tags!
Python JavaScript Jupyter Notebook HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
chrome_extension
nn/bert
.gitignore
20news.ipynb
LICENSE
README.md
requirements.txt

README.md

Fabel

Demo video

https://www.youtube.com/watch?v=L-01TIbkgkE

Team members

Parth Doshi (parthsdoshi), Max Lin (maxlincode)

Goals

Tag files with multiple classes to easily index new downloads. User can train the program as it indexes their files.

Running this repo

  1. First, download the Bert pretrained model from https://storage.googleapis.com/bert_models/2018_10_18/uncased_L-12_H-768_A-12.zip
  2. Place the unzipped pretrained model in the nn/bert/pretrained/ folder.
  3. Navigate to the root of this repo and run pip install -r requirements.txt.
  4. Run cd nn/bert/ && python3 bert_server.py.
  5. This will load the Bert model and creates a REST API around it to respond to external requests.
  6. Next, edit app/server.py and change the value of BERT_SERVER to the appropriate ip address and port.
  7. Finally, navigate to ./app and run python3 main.py. This will launch the frontend.
  8. Download the chrome extension under ./chrome_extension/src in to chrome which will allow us to automatically run downloaded documents through the app and tag them.
  • Open the Extension Management page by navigating to chrome://extensions.
  • Enable Developer Mode by clicking the toggle switch next to Developer mode.
  • Click the LOAD UNPACKED button and select the extension directory.
You can’t perform that action at this time.