Transformers
Safetensors
t5
text2text-generation
code-translation
code-to-code
java
csharp
text-generation-inference
Instructions to use lafarizo/code_translation_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lafarizo/code_translation_v1 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("lafarizo/code_translation_v1") model = AutoModelForSeq2SeqLM.from_pretrained("lafarizo/code_translation_v1") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,8 +24,7 @@ Code Translation from Java to C#
|
|
| 24 |
### Testing Data
|
| 25 |
- [Testing Data](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test)
|
| 26 |
|
| 27 |
-
|
| 28 |
-
| Metric | Base Model | Fine Tuned |
|
| 29 |
|--------------------------|--------------------|-------------------|
|
| 30 |
| **Average BLEU Score** | 0.0116 | 0.8833 |
|
| 31 |
| **Average ROUGE-1 Score**| 0.0201 | 0.9368 |
|
|
|
|
| 24 |
### Testing Data
|
| 25 |
- [Testing Data](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test)
|
| 26 |
|
| 27 |
+
| Metric Evaluation | Base Model | Fine Tuned |
|
|
|
|
| 28 |
|--------------------------|--------------------|-------------------|
|
| 29 |
| **Average BLEU Score** | 0.0116 | 0.8833 |
|
| 30 |
| **Average ROUGE-1 Score**| 0.0201 | 0.9368 |
|