Skip to content

Track07-cda/Extended-Modified-RelexNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended-Modified-RelexNet

This project is based on LSX-Sneakerprogrammer/Modified-RelexNet project.

Files

Start-up

Data graph generation

  • If you want to train and export the model you can run python relexnet_classifier_with_explaination.py --config configs/config-train.json. The config file have most of the parameters for training the model.
  • After the model trained you can run relexnet_classifier_with_explaination with config.json. The data graph will save to datagraphs directory.

Visualisation

Run flask run in RelexNet with Modifiers directory will start up the develop web server for the explanation visualization. You can access the page on http://localhost:5000. You need to have flask package installed to run the app.


Below is the README of the base project from LSX-Sneakerprogrammer/Modified-RelexNet


Modified-RelexNet

This is the project based on RelexNet. There are three models under the file, the modified RelexNet, the modified RelexNet with Negative words and Modifiers, the modified RelexNet without Modifiers.

Start-up

If you have enough memory (perhaps more than 25gb), you could download the three files and run the file relexnet_classifier.py (the three files all have this .py file)

For me, because of the limit memory size, I used Google Colab pro (could provide 25gb memory) to run the three models. If you use Colab pro, you could run the .ipynb file under each three file. In order to Loading data, you need to first upload the whole project to Google Drive. Then, run .ipynb file, which helps get access to dataset and run the relexnet_classifier.py file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published