paper-with-me

Papers

COMEX: A Tool for Generating Customized Source Code Representations

2023-07-10 · Debeshee Das, Noble Saji Mathews, Alex Mathai, Srikanth Tamilselvam, Kranthi Sedamaki, Sridhar Chimalakonda, Atul Kumar

Learning effective representations of source code is critical for any Machine Learning for Software Engineering (ML4SE) system. Inspired by natural language processing, large language models (LLMs) like Codex and CodeGen treat code as generic sequences of text and are trained on huge corpora of code data, achieving state of the art performance on several software engineering (SE) tasks. However, valid source code, unlike natural language, follows a strict structure and pattern governed by the underlying grammar of the programming language. Current LLMs do not exploit this property of the source code as they treat code like a sequence of tokens and overlook key structural and semantic properties of code that can be extracted from code-views like the Control Flow Graph (CFG), Data Flow Graph (DFG), Abstract Syntax Tree (AST), etc. Unfortunately, the process of generating and integrating code-views for every programming language is cumbersome and time consuming. To overcome this barrier, we propose our tool COMEX - a framework that allows researchers and developers to create and combine multiple code-views which can be used by machine learning (ML) models for various SE tasks. Some salient features of our tool are: (i) it works directly on source code (which need not be compilable), (ii) it currently supports Java and C#, (iii) it can analyze both method-level snippets and program-level snippets by using both intra-procedural and inter-procedural analysis, and (iv) it is easily extendable to other languages as it is built on tree-sitter - a widely used incremental parser that supports over 40 languages. We believe this easy-to-use code-view generation and customization tool will give impetus to research in source code representation learning methods and ML4SE. Tool: https://pypi.org/project/comex - GitHub: https://github.com/IBM/tree-sitter-codeviews - Demo: https://youtu.be/GER6U87FVbU

📄 PDF Abstract BibTeX arXiv:2307.04693

Code (1)

ibm/tree-sitter-codeviews 공식 구현

Tasks

Representation Learning

Methods 이 논문이 사용한 방법론

CodeGen CodeGen is an autoregressive transformers with next-token prediction language modeling as the learning objective trained on a natural language corpus and programming language…

Similar Papers 제목 키워드 기반

HiCOMEX: Facial Action Unit Recognition Based on Hierarchy Intensity Distribution and COMEX Relation Learning

2020-09-23 · Ziqiang Shi, Liu Liu, Zhongling Liu, Rujie Liu 외

The detection of facial action units (AUs) has been studied as it has the competition due to the wide-ranging applications thereof. In this paper, we propose a novel framework for the AU detection from a single input ima…

Action Unit DetectionFacial Action Unit DetectionRelationRepresentation Learning

Divide and Conquer: Compositional Experts for Generalized Novel Class Discovery

2022-01-01 · CVPR 2022 1 · Muli Yang, Yuehua Zhu, Jiaping Yu, Aming Wu 외

In response to the explosively-increasing requirement of annotated data, Novel Class Discovery (NCD) has emerged as a promising alternative to automatically recognize unknown classes without any annotation. To this e…

Novel Class Discovery

COMEX Copper Futures Volatility Forecasting: Econometric Models and Deep Learning

2024-09-12 · Zian Wang, Xinyi Lu

This paper investigates the forecasting performance of COMEX copper futures realized volatility across various high-frequency intervals using both econometric volatility models and deep learning recurrent neural network …

Deep Learning

ExtremeBERT: A Toolkit for Accelerating Pretraining of Customized BERT

2022-11-30 · Rui Pan, Shizhe Diao, Jianlin Chen, Tong Zhang

In this paper, we present ExtremeBERT, a toolkit for accelerating and customizing BERT pretraining. Our goal is to provide an easy-to-use BERT pretraining toolkit for the research community and industry. Thus, the pretra…

Molecular System PredictionSentence Classification

ChronoLLM: Customizing Language Models for Physics-Based Simulation Code Generation

2025-08-19 · Jingquan Wang, Andrew Negrut, Harry Zhang, Khailanii Slaton 외 arxiv

This contribution is concerned with the following issue: can pretrained large language models (LLMs) be refined and customized to the point where they become virtual assistants helping experts with the effective use of a…

Code Generation