Skip to content

sapromak/kotlin-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Code Completion with Phi-1 Transformer

Description

This repository offers a solution for code completion in Kotlin projects using the Phi-1 Transformer model. It includes tools to extract Kotlin code, adapt the model, and fine-tune it on a custom dataset. Evaluate its performance on both Kotlin and Python code completion tasks.

The main approaches and results are described in the analysis.ipynb file. Additional README files are also present in the project. See data and train folders.

Installation

git clone https://github.com/tejpaper/kotlin-completion.git
cd kotlin-completion
pip install -r requirements.txt

The data file for the Python code test is too big for GitHub. It must be downloaded separately by executing data/python/download.py.

License

All Kotlin code is subject to the respective licenses according to this file.

Everything else is distributed under MIT.

About

SLM fune-tuning for code completion task

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published