paper-with-me

Papers

Generating Examples From CLI Usage: Can Transformers Help?

2022-04-27 · Roshanak Zilouchian Moghaddam, Spandan Garg, Colin B. Clement, Yevhen Mohylevskyy, Neel Sundaresan

Continuous evolution in modern software often causes documentation, tutorials, and examples to be out of sync with changing interfaces and frameworks. Relying on outdated documentation and examples can lead programs to fail or be less efficient or even less secure. In response, programmers need to regularly turn to other resources on the web such as StackOverflow for examples to guide them in writing software. We recognize that this inconvenient, error-prone, and expensive process can be improved by using machine learning applied to software usage data. In this paper, we present our practical system which uses machine learning on large-scale telemetry data and documentation corpora, generating appropriate and complex examples that can be used to improve documentation. We discuss both feature-based and transformer-based machine learning approaches and demonstrate that our system achieves 100% coverage for the used functionalities in the product, providing up-to-date examples upon every release and reduces the numbers of PRs submitted by software owners writing and editing documentation by >68%. We also share valuable lessons learnt during the 3 years that our production quality system has been deployed for Azure Cloud Command Line Interface (Azure CLI).

📄 PDF Abstract BibTeX arXiv:2204.12648

Code (0)

등록된 구현이 없습니다.

Tasks

BIG-bench Machine Learning

Similar Papers 제목 키워드 기반

Controllable Dictionary Example Generation: Generating Example Sentences for Specific Targeted Audiences

2022-05-01 · ACL 2022 5 · Xingwei He, Siu Ming Yiu

Example sentences for targeted words in a dictionary play an important role to help readers understand the usage of words. Traditionally, example sentences in a dictionary are usually created by linguistics experts, whic…

Sentence

CodeScholar: Growing Idiomatic Code Examples

2023-12-23 · Manish Shetty, Koushik Sen, Ion Stoica

Programmers often search for usage examples for API methods. A tool that could generate realistic, idiomatic, and contextual usage examples for one or more APIs would be immensely beneficial to developers. Such a tool wo…

Program Synthesis

Adv-OLM: Generating Textual Adversaries via OLM

2021-01-21 · EACL 2021 2 · Vijit Malik, Ashwani Bhat, Ashutosh Modi

Deep learning models are susceptible to adversarial examples that have imperceptible perturbations in the original input, resulting in adversarial attacks against these models. Analysis of these attacks on the state of t…

Sentencetext-classificationText Classification

Adaptive Transformers for Learning Multimodal Representations

2020-05-15 · ACL 2020 6 · Prajjwal Bhargava

The usage of transformers has grown from learning about language semantics to forming meaningful visiolinguistic representations. These architectures are often over-parametrized, requiring large amounts of computation. I…

Computational Efficiency

Generating Black-Box Adversarial Examples for Text Classifiers Using a Deep Reinforced Model

2019-09-17 · Prashanth Vijayaraghavan, Deb Roy

Recently, generating adversarial examples has become an important means of measuring robustness of a deep learning model. Adversarial examples help us identify the susceptibilities of the model and further counter those …

reinforcement-learningReinforcement LearningReinforcement Learning (RL)Sentiment Analysis+1