# LiteCoder Experiment Reproducing package
- To run the pre-train objective use the following scripts:
- Reproduce LiteCoder with all objectives:
- Navigate the folder `Pre-training` containing the `LiteCoder.py` file
- Then, run `Python LiteCoder.py --train-tt --train-cs --train-pd`
- The pretrained model is released on [hugging face](https://huggingface.co/LiteCoder/LiteCoder_pretrained), therefore it automatically loads.
- To run the ablation studies:
- Ablation 1: `Python LiteCoder.py --train-tt`
- Ablation 2: `Python LiteCoder.py --train-tt --train-cs`
- Ablation 3: `Python LiteCoder.py --train-tt --train-cs --train-pd`
- To `Fine-tuning` LiteCoder on downstream tasks:
- Navigate to the `Fine-tuning` folder and then `Downstream task` folder:
- Code Clone Detection:
- Follow the instruction of `readme.md` file.
- Code Translation:
- Run `setup.sh` file.
- Navigate to the `scrip…