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
|
@@ -26,7 +26,7 @@ Code Translation from Java to C#
|
|
| 26 |
|
| 27 |
### Model Evaluation
|
| 28 |
|
| 29 |
-
|
| 30 |
| Metric | Score |
|
| 31 |
|------------------------|-------------------|
|
| 32 |
| Average BLEU Score | 0.0116 |
|
|
@@ -35,7 +35,7 @@ Code Translation from Java to C#
|
|
| 35 |
| Average ROUGE-L Score | 0.0201 |
|
| 36 |
| Exact Match Accuracy | 0.0000 |
|
| 37 |
|
| 38 |
-
|
| 39 |
| Metric | Score |
|
| 40 |
|------------------------|-------------------|
|
| 41 |
| Average BLEU Score | 0.8833 |
|
|
|
|
| 26 |
|
| 27 |
### Model Evaluation
|
| 28 |
|
| 29 |
+
| Before Fine Tuning |
|
| 30 |
| Metric | Score |
|
| 31 |
|------------------------|-------------------|
|
| 32 |
| Average BLEU Score | 0.0116 |
|
|
|
|
| 35 |
| Average ROUGE-L Score | 0.0201 |
|
| 36 |
| Exact Match Accuracy | 0.0000 |
|
| 37 |
|
| 38 |
+
| After Fine Tuning |
|
| 39 |
| Metric | Score |
|
| 40 |
|------------------------|-------------------|
|
| 41 |
| Average BLEU Score | 0.8833 |
|