deep-code-search icon indicating copy to clipboard operation
deep-code-search copied to clipboard

DeepCS: Deep Code Search

Results 27 deep-code-search issues
Sort by recently updated
recently updated
newest added

We're trying to apply this model to JavaScript and Python dataset, but we don't know how to get the class or type of a variable using static code analysis. So...

when i run the validation code 'ACC, MRR, MAP, NDGG, IDCG', I found all of these evaluation metrics have same value , for example ![image](https://user-images.githubusercontent.com/45426458/168834141-6fde6313-29f3-4a91-85f7-b666dff88ce6.png)

[20, [8, [14, [73]], [14, [36]], [4, [28]]], [4, [1516], [660]], [19, [15, [11, [8, [4, [169], [66], [4]]], [4, [4]]]], [15, [11, [8, [4, [4, [6599]], [9, [7, [4]]]]],...

您好,我运行了pytorch版本的train.py,但是出现了以下错误,在/data/github/目录下并没有valid.apiseq.h5等文件,请问是哪里出了问题?怎么解决呢? OSError: ``./data/github/valid.apiseq.h5`` does not exist

I would like to build a search engine for python code snippet for that I want to prepare a data set u prepared in java snippet. According to me rest...

您好! 我使用的是Pytorch版本, 训练数据集使用的是您提供的 train.methname.h5 ;train.apiseq.h5;train.tokens.h5;train.desc.h5. 模型训练时将batch_size由64改为了256, 训练15个epoch, 这是第15个epoch的验证结果{'acc': 0.3899, 'mrr': 0.3899, 'map': 0.3899, 'ndcg': 0.3899}. 当我把训练好的模型在 use.rawcode.txt去做Benchmark Queries and Evaluation Results时, 第一列为code的id, 第二列为相似度, 第三列为rawcode. 由结果可以看到, 搜索到的代码相似度均为0.7~0.85 , 但人工去看代码的时候, 发现query与搜到的代码并不相关. 比较疑惑,...

Hello @guxd, When I test the tool using a pre-trained model, it shows me an ETA of 25 hrs. Is this the right way, or am I missing something? I...

Hello @guxd, I tried downloading the real dataset from google drive and training the model for 2 epochs. It worked fine for it. When I am trying code embedding with...