-
Install the latest version of python Download Python
-
Clone the repository
git clone https://github.com/shaban00/esg-bert.git
-
Change directory to the project
cd esg-bert -
Install python virtual environment
python -m venv .venv
-
Activate python virtual environment
- On Windows
.venv\Scripts\activate
- On Linux/MacOS
source .venv/bin/activate -
Install python dependencies
pip install pandas transformers tika tqdm openpyxl
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
-
Run the script
python app.py -d 'directory1,directory2' -f 'file1,file2' -o 'filename.json'
- You can specify either -d or -f or both
- "-d" specifies directories separated with commas
- "-f" specifies files separted with commas
- "-o" specifies the JSON output filename. eg: output.json
-
Convert JSON output to CSV
Online
Offline
python convert.py -i "input_filename.json" -o "output_filename"
-
Import CSV into excel for analysis (optional)
-
Notifications
You must be signed in to change notification settings - Fork 0
shaban00/esg-bert
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Domain Specific BERT Model for Text Mining in Sustainable Investing
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published