microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.56k stars 366 forks source link

predict single instances #134

Closed martino-canavate closed 2 years ago

martino-canavate commented 2 years ago

thanks for the answer

celbree commented 2 years ago

Like the testing code, you don't need consider the file processing or pytorch dataloader. Replace the source_ids in line491 with your tokenized comment. Then print text after line497.