Skip to content
yilinfangPublic

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

CLCC

Requirements

  • Python 3.8+
  • Refer to requirements.txt for other dependencies

Usage

Extract dataset

tar -xzf dataset/java-python-clones.db.tar.gz -C dataset/

Configuration

Please refer to src/config.py for configuration options.

Load database

python3 src/load_data.py

Generate dataset

python3 src/generate_dataset.py

Embedding with CodeBERT

python3 src/codebert_embedding.py

Train model

python3 src/train.py

Evaluate model

python3 src/classify.py

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages