An API Field Design Method Based on Pre-trained Model
Application programming interface (API) plays an important role in modern software development, a well designed API can provide tremendous convenience for developers. However, designing an excellent API is not a trivial task, each field in the API should avoid any ambiguity. Besides, in some special cases, for instance, a Chinese developer might not accurately translate the meaning of a Chinese API field into its English counterpart. Therefore, there exists a tremendous requirement in designing high quality API field. In this paper, a fine-tuning pre-trained model based method is proposed for API field design task. Firstly, we consider the design of API fields as a translation task, converting the fields from another language into English. Secondly, we fine-tune a pre-trained model for API field design task. In the end, we curate two datasets to illustrate our method and the experiment results demonstrate that our method has a better performance in designing API field.
Authors
- Xingchuang Liao (ORCID: https://orcid.org/0009-0001-5626-3171)
- Jingbo Yang (ORCID: https://orcid.org/0009-0005-4270-9389)
- Hai Wang (ORCID: https://orcid.org/0009-0005-1734-8390)
- Yi Yang (ORCID: https://orcid.org/0000-0001-8234-5915)
- Ru Xu (ORCID: https://orcid.org/0000-0002-4508-0855)
- Y.‐Q. Lou (ORCID: https://orcid.org/0009-0007-9405-0381)
Institutions
- Chinese Academy of Civil Aviation Science and Technology (CN)
- Beihang University (CN)
Publication Details
- Published
- 2024-08-16
- DOI
- https://doi.org/10.1109/icste63875.2024.00012
- Primary Topic
- Advanced Computational Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00