Exploring Code Style Transfer with Neural Networks
Style is a significant component of natural language text, reflecting a change in the tone of text while keeping the underlying information the same. Even though programming languages have strict syntax rules, they also have style. Code can be written with the same functionality but using different language features. However, programming style is difficult to quantify, and thus as part of this work, we define style attributes, specifically for Python. To build a definition of style, we utilized hierarchical clustering to capture a style definition without needing to specify transformations. In addition to defining style, we explore the capability of a pre-trained code language model to capture information about code style. To do this, we fine-tuned pre-trained code-language models and evaluated their performance in code style transfer tasks.
Code (0)
등록된 구현이 없습니다.
Tasks
ClusteringLanguage ModelingLanguage ModellingStyle TransferSimilar Papers 제목 키워드 기반
Exploring synthetic data for cross-speaker style transfer in style representation based TTS
Incorporating cross-speaker style transfer in text-to-speech (TTS) models is challenging due to the need to disentangle speaker and style information in audio. In low-resource expressive data scenarios, voice conversion …
Style Transfertext-to-speechText to SpeechVoice ConversionExploring Contextual Word-level Style Relevance for Unsupervised Style Transfer
Unsupervised style transfer aims to change the style of an input sentence while preserving its original content without using parallel training data. In current dominant approaches, owing to the lack of fine-grained cont…
DecoderDenoisingSentenceStyle TransferRLMiniStyler: Light-weight RL Style Agent for Arbitrary Sequential Neural Style Generation
Arbitrary style transfer aims to apply the style of any given artistic image to another content image. Still, existing deep learning-based methods often require significant computational costs to generate diverse stylize…
Multi-Task Learningreinforcement-learningReinforcement LearningStyle TransferDIFF-NST: Diffusion Interleaving For deFormable Neural Style Transfer
Neural Style Transfer (NST) is the field of study applying neural techniques to modify the artistic appearance of a content image to match the style of a reference style image. Traditionally, NST methods have focused on …
Image GenerationStyle TransferArtFID: Quantitative Evaluation of Neural Style Transfer
The field of neural style transfer has experienced a surge of research exploring different avenues ranging from optimization-based approaches and feed-forward models to meta-learning methods. The developed techniques hav…
BenchmarkingMeta-LearningStyle Transfer