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
|
@@ -16,10 +16,10 @@ widget:
|
|
| 16 |
Code Translation from Java to C#
|
| 17 |
|
| 18 |
### Model Sources
|
| 19 |
-
- **Repository:** michaelnath/dummy_code_to_code_model
|
| 20 |
|
| 21 |
### Dataset
|
| 22 |
-
- **Repository:** google/code_x_glue_cc_code_to_code_trans
|
| 23 |
|
| 24 |
#### Testing Data
|
| 25 |
- [Testing Data](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test)
|
|
|
|
| 16 |
Code Translation from Java to C#
|
| 17 |
|
| 18 |
### Model Sources
|
| 19 |
+
- **Repository:** [michaelnath/dummy_code_to_code_model](https://huggingface.co/michaelnath/dummy_code_to_code_model)
|
| 20 |
|
| 21 |
### Dataset
|
| 22 |
+
- **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 Data
|
| 25 |
- [Testing Data](https://huggingface.co/datasets/google/code_x_glue_cc_code_to_code_trans/viewer/default/test)
|