|pengf fd8a9e25b6||1 month ago|
|README.md||1 month ago|
|nezha_evaluate.py||1 month ago|
|tokenization.py||1 month ago|
The scripts and model are based on https://github.com/huawei-noah/Pretrained-Language-Model/tree/master/NEZHA-Gen-TensorFlow
First version: 2021/04/22
The scripts are tested sucessfully with Tensorflow 1.13 and Python 3.6.
The python package
fire is required. You may need to install the
fire package with the command:
pip3 install fire
Step 1: Download the folder named
models_gpt from the link below and move the folder to the same directory with the scripts.
Step 2: Move the file named
dev.json to the same directory with the scripts.
Step 3: Run the script
nezha_evaluate.py with the command: