lm-xccd

Built with Qwen. Some models in this repository are fine-tuned from Qwen2.5-Coder-3B-Instruct. They are covered by the Qwen Research License (research and evaluation use only).

This repository holds the fine-tuned models for cross-language code clone detection (X-CCD) from the paper Standing on the Shoulder of Giants. Code and data: https://github.com/FARD-Lab/lm-xccd

Licences

This repository has no single licence. Each folder follows the licence of its base model. See LICENSE.md.

Base model Folders Licence
Phi-3-mini-128k-instruct mini-*, phi3-*, clone_head_ckpt, clone_head_binary_ckpt, clone_head_binary_fine_tuned_ckpt, clone_head_contrastive_ckpt, clone_head_contrastive_fine_tuned_ckpt MIT (Microsoft)
Qwen2.5-Coder-3B-Instruct qwen-*, clone_head_*qwen* Qwen Research License, non-commercial. Each Qwen folder also contains a copy as LICENSE.

Models used in the paper

Paper condition Folder
KD-pj, Phi-3 mini-v2-fine-tuned-kd-merged
SFT-r, Phi-3 mini-sft-r-pj-merged
KD-pj, Qwen (full-sequence loss) qwen-coder-kd-merged
SFT-r, Qwen (full-sequence loss) qwen-sft-r-pj-merged
KD-pj, Qwen (answer-only loss) qwen-kd-pj-answer-only-merged
SFT-r, Qwen (answer-only loss) qwen-sft-r-pj-answer-only-merged

All are merged LoRA fine-tunes in bf16 on Java-Python pairs from Project CodeNet with DeepSeek-R1 teacher outputs. KD-pj models learn from the teacher's reasoning and answer. SFT-r models learn from the teacher's answer only, on the same pairs. The other folders hold models from an earlier version of the work and are not used in the paper.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mkhfring/lm-xccd

Base model

Qwen/Qwen2.5-3B
Finetuned
(170)
this model