Instructions to use SEBIS/code_trans_t5_base_code_comment_generation_java_transfer_learning_finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEBIS/code_trans_t5_base_code_comment_generation_java_transfer_learning_finetune with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="SEBIS/code_trans_t5_base_code_comment_generation_java_transfer_learning_finetune")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SEBIS/code_trans_t5_base_code_comment_generation_java_transfer_learning_finetune") model = AutoModel.from_pretrained("SEBIS/code_trans_t5_base_code_comment_generation_java_transfer_learning_finetune") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ widget:
|
|
| 7 |
---
|
| 8 |
|
| 9 |
|
| 10 |
-
# CodeTrans model for code
|
| 11 |
Pretrained model on programming language java using the t5 base model architecture. It was first released in
|
| 12 |
[this repository](https://github.com/agemagician/CodeTrans). This model is trained on tokenized java code functions: it works best with tokenized java functions.
|
| 13 |
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
|
| 10 |
+
# CodeTrans model for code comment generation java
|
| 11 |
Pretrained model on programming language java using the t5 base model architecture. It was first released in
|
| 12 |
[this repository](https://github.com/agemagician/CodeTrans). This model is trained on tokenized java code functions: it works best with tokenized java functions.
|
| 13 |
|