Requirements
transformers torchtext seaborn tqdm flask
Download the fine-tuned model weights from the URL https://convaisharables.blob.core.windows.net/lsp/multiref/medium_ft.pkl and save it in current(Emotion-Emphasis) directory. The filename of the downloaded file should be medium_ft.pkl
Run the create_checkpoint_dialogpt_ft_model.py file to save the model as PyTorch checkpoint. Please refer to https://huggingface.co/transformers/serialization.html#serialization-best-practices for more details.