CodeT5
CodeT5 copied to clipboard
Home of CodeT5: Open Code LLMs for Code Understanding and Generation
Hi, could you please clarify the dataset you use for pretaining? In one of the earlier answers, I saw a mention of using "all non-valid/test examples from CodeSearchNet for pretaining"....
I have a couple of questions: a) How can I use CodeT5 to extract embedding for JavaScript and Python code? b) Can I feed incomplete code JavaScript and Python snippet...
Automatic determination of the CodeT5 directory based on the parent of the directory the script resides in
I was using hugging faces [codet5-base](https://huggingface.co/Salesforce/codet5-base) to try code generation and understanding tasks. I cannot find documentation anywhere that indicates how to use "task control codes" for different input types....
Hi! I evaluated your finetuned checkpoint on java-cs translation but could not get the exactly same results as your paper reported. I got 83.89/64.7 but the paper reported 84.03/65.9. I...
I want to create my own dataset for the generation task. I want to convert text to SySML code. The SysML code examples are here (https://github.com/Systems-Modeling/SysML-v2-Release/tree/master/sysml/src/examples). In the data/concode folder...
Hi Does code-t5 give proper embeddings for python code with multiple methods as well? Or only for the code with single method?
Could you please give a clean demo to use Salesforce/codet5-base-codexglue-clone? Including codes like ``` model = T5ForConditionalGeneration.from_pretrained('Salesforce/codet5-base-codexglue-clone') ``` like the demo of code summarization shown in README ``` from transformers...
Hi! When I reproduced your result about code generation task, i found the code in [line 32 of _utils.py](https://github.com/salesforce/CodeT5/blob/main/_utils.py#LL32C6-L32C6). I don't know why do you replace to . Looking forward...