Spaces:
Runtime error
Runtime error
add bold
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ iface = gr.Interface(
|
|
140 |
gr.outputs.Textbox(label="Docstring Generated (NL)"),
|
141 |
title='Generate a documentation string for Python code',
|
142 |
description='The application takes as input the python code for a function, or a class, and generates a documentation string, or code comment, for it using codeT5 fine tuned for code2text generation. Code to text generation, or code summarization, is a CodeXGLUE generation, or sequence to sequence, downstream task. CodeXGLUE stands for General Language Understanding Evaluation benchmark *for code*, which includes diversified code intelligence downstream inference tasks and datasets.',
|
143 |
-
article=r"""CodeXGLLUE task definition (and dataset):
|
144 |
|
145 |
_A model is given the task to generate natural language comments for a programming language code input._
|
146 |
|
|
|
140 |
gr.outputs.Textbox(label="Docstring Generated (NL)"),
|
141 |
title='Generate a documentation string for Python code',
|
142 |
description='The application takes as input the python code for a function, or a class, and generates a documentation string, or code comment, for it using codeT5 fine tuned for code2text generation. Code to text generation, or code summarization, is a CodeXGLUE generation, or sequence to sequence, downstream task. CodeXGLUE stands for General Language Understanding Evaluation benchmark *for code*, which includes diversified code intelligence downstream inference tasks and datasets.',
|
143 |
+
article=r"""CodeXGLLUE task definition (and dataset): **Code summarization (CodeSearchNet)**:
|
144 |
|
145 |
_A model is given the task to generate natural language comments for a programming language code input._
|
146 |
|