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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("lafarizo/code_translation_v1") model = AutoModelForSeq2SeqLM.from_pretrained("lafarizo/code_translation_v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,11 @@
|
|
| 1 |
-
# Model Card
|
| 2 |
-
|
| 3 |
Translate Java to C#
|
| 4 |
|
| 5 |
### Model Sources
|
| 6 |
-
|
| 7 |
- **Repository:** michaelnath/dummy_code_to_code_model
|
| 8 |
|
| 9 |
### Dataset
|
| 10 |
-
|
| 11 |
- **Repository:** google/code_x_glue_cc_code_to_code_trans
|
| 12 |
|
| 13 |
#### Testing Data
|
| 14 |
-
|
| 15 |
-
https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test
|
|
|
|
| 1 |
+
# Model Card
|
|
|
|
| 2 |
Translate Java to C#
|
| 3 |
|
| 4 |
### Model Sources
|
|
|
|
| 5 |
- **Repository:** michaelnath/dummy_code_to_code_model
|
| 6 |
|
| 7 |
### Dataset
|
|
|
|
| 8 |
- **Repository:** google/code_x_glue_cc_code_to_code_trans
|
| 9 |
|
| 10 |
#### Testing Data
|
| 11 |
+
- https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test
|
|
|