# Finetuning a model for machine translation on a programming language

**URL:** <https://discuss.huggingface.co/t/finetuning-a-model-for-machine-translation-on-a-programming-language/1669>\
**Category:** Models\
**Created:** [October 21, 2020, 11:35am UTC](https://discuss.huggingface.co/t/finetuning-a-model-for-machine-translation-on-a-programming-language/1669 "2020-10-21T11:35:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![berkayberabi](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@berkayberabi](https://discuss.huggingface.co/u/berkayberabi)\
**Post date:** [October 21, 2020, 11:35am UTC](https://discuss.huggingface.co/t/finetuning-a-model-for-machine-translation-on-a-programming-language/1669/1 "2020-10-21T11:35:49Z")

</div>

Hi all,

I have a neural machine translation problem, I have my own custom dataset and my dataset is not natural language. Both source and target languages are code.

Can I use all models that have a ConditionalGeneration head for this task? Most of these models mention summarization task but they do not say machine translation. Also, on the models page where one can search for all uploaded models, I only see T5 and FMST if I filter out the search with “translation”.

Could you clarify the situation in general and which models would you suggest?

---

<div class="post-metadata">

**Author:** ![raffian](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/raffian/32/21029_2.png) [@raffian](https://discuss.huggingface.co/u/raffian)\
**Post date:** [November 29, 2023, 8:16pm UTC](https://discuss.huggingface.co/t/finetuning-a-model-for-machine-translation-on-a-programming-language/1669/2 "2023-11-29T20:16:48Z")

</div>

We too are searching models for source-to-source conversion, aka, transpiling.  
What models have you found that perform this task?
