Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 590 Bytes

README.md

File metadata and controls

22 lines (20 loc) · 590 Bytes

nlp-based-data-compression

possible arguments:

-v --version
    Prints current program version
-h --help
    Prints arguments informations
-e --encode file_path
    Encodes file indicated by "file_path"
-d --decode file_path
    Decodes file indicated by "file_path"

installation of necessary libraries plus download and save pretrained model

python3.8 -m venv venv
source ./venv/bin/activate
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip3 install transformers
python3 ./src/python_helpers/serialize_model.py