infercode icon indicating copy to clipboard operation
infercode copied to clipboard

[ICSE 2021] - InferCode: Self-Supervised Learning of Code Representations by Predicting Subtrees

Results 18 infercode issues
Sort by recently updated
recently updated
newest added

Thank you for your wonderful work. I have a question that, it seems the output is a 100-dimensional vector by default, how can I change the output vector size to...

Related to https://github.com/bdqnghi/infercode/blob/master/infercode/__main__.py . Execute `infercode` with 1 file succeed. ``` python3.8 -m infercode file1.c ``` But execute `infercode` with 2 files failed. ``` python3.8 -m infercode file1.c file2.c ```...

Hello, During running your model on based on your sample below: ``` from infercode.client.infercode_client import InferCodeClient import os import logging logging.basicConfig(level=logging.INFO) # Change from -1 to 0 to enable GPU...

Hello, Is the following correct to setup the parser to read python code please? ``` from infercode.client.infercode_client import InferCodeClient import os import logging logging.basicConfig(level=logging.INFO) # Change from -1 to 0...

I'm trying to get the vector representations of decompiled source codes. for example: ```python for src in list: with open(src, 'r') as f: vector = infercode.encode([f.read()])[0] print(vector) ``` When I...

Hi, thanks a lot for your work! My name is Zack. I have read the paper and it shows that this work selects several node types during the process. But...

[WinError 2] 系统找不到指定的文件。: 'C:\\Users\\Administrator\\.tree-sitter\\tree-sitter-parsers-Windows' 使用rm C:\\Users\\Administrator\\.tree-sitter 然后 pip install tree-sitter-parsers 问题依然存在,Windows miniconda python 3.8,在mac和ubuntu上都是一样的报错