microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.51k stars 363 forks source link

predict single instances #134

Closed martino-canavate closed 1 year ago

martino-canavate commented 1 year ago

thanks for the answer

celbree commented 1 year 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.