CoolFace
Modelpublic

lafarizo/code_translation_v1

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes18downloads
README.md35 linesDownload Raw Back to root
1---2title: "Code Translation v1"3tags:4  - code-translation5  - code-to-code6  - java7  - csharp8library_name: "transformers"9datasets:10  - google/code_x_glue_cc_code_to_code_trans11widget:12  - text: "public class HelloWorld { public static void main(String[] args) { System.out.println(\"Hello, World!\"); } }"13---14 15# Code Translation v116Code Translation from Java to C#17 18### Base Model19- **Repository:** [michaelnath/dummy_code_to_code_model](https://huggingface.co/michaelnath/dummy_code_to_code_model)20 21### Dataset22- **Repository:** [google/code_x_glue_cc_code_to_code_trans](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans)23 24### Testing Data25- [Testing Data](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test)26 27| Metric                                   | Pre-Trained        | Fine Tuned        |28|------------------------------------------|--------------------|-------------------|29| **BLEU Score**                           | 1.18%              | 87.82%            |30| **ROUGE-1 Score**                        | 2.55%              | 93.87%            |31| **ROUGE-2 Score**                        | 0.56%              | 90.17%            |32| **ROUGE-L Score**                        | 2.55%              | 63%               |33| **Exact Match Accuracy**                 | 0%                 | 0.6800            |34| **Mutation-Based Translation Score**     | 1                  | 0.318             |35