File size: 1,275 Bytes
4af0bb2
 
 
 
 
 
 
 
 
 
 
 
 
 
3726294
8b95523
83ee185
3a7f190
58fec06
83ee185
3a7f190
58fec06
83ee185
ca0c3a9
4af0bb2
c104f91
acc625a
fb4b998
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: "Code Translation v1"
tags:
  - code-translation
  - code-to-code
  - java
  - csharp
library_name: "transformers"
datasets:
  - google/code_x_glue_cc_code_to_code_trans
widget:
  - text: "public class HelloWorld { public static void main(String[] args) { System.out.println(\"Hello, World!\"); } }"
---

# Code Translation v1
Code Translation from Java to C#

### Model Sources
- **Repository:** [michaelnath/dummy_code_to_code_model](https://huggingface.co/michaelnath/dummy_code_to_code_model)

### Dataset
- **Repository:** [google/code_x_glue_cc_code_to_code_trans](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans)

### Testing Data
- [Testing Data](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test)

| Metric                   | Pre-Trained        | Fine Tuned        |
|--------------------------|--------------------|-------------------|
| **Average BLEU Score**   | 0.0116             | 0.8833            |
| **Average ROUGE-1 Score**| 0.0201             | 0.9368            |
| **Average ROUGE-2 Score**| 0.0009             | 0.9027            |
| **Average ROUGE-L Score**| 0.0201             | 0.9344            |
| **Exact Match Accuracy** | 0.0000             | 0.6800            |