Instructions to use SEBIS/code_trans_t5_small_code_documentation_generation_java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEBIS/code_trans_t5_small_code_documentation_generation_java 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_small_code_documentation_generation_java")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SEBIS/code_trans_t5_small_code_documentation_generation_java") model = AutoModel.from_pretrained("SEBIS/code_trans_t5_small_code_documentation_generation_java", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
1e77edf -
allow flax
7a03c94
-
Update README.md
3e2d2eb
-
Update from weiding
wei812e684 -
Update README.md
4c62814 -
Update README.md
6f0c734 -
Create README.md
e8f6c87 -
Update from weiding
weifad7a7e -
initial commit
65ca2f4