Skip to content

How is Input Structured for Comment Generation with CodeT5 #318

@ChunhuaLiu596

Description

@ChunhuaLiu596

Hello, thank you for providing the code base for CodeReviewer

I'm attempting to replicate some experimental results in Table 5 for comment generation.

I would be grateful if you could shed some light on how the input is formalized when the model is not CodeReviewer, specifically in the case of the CodeT5 model. Could you confirm whether code diff hunks are provided as input or not? If they are indeed provided, I'm curious to learn more about how the diff tags (-, +) are processed. Your timely response to this matter would be greatly appreciated. Thank you.

### Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions