Transformers
PyTorch
Safetensors
py
English
t5
text2text-generation
Code2TextGeneration
Code2TextSummarisation
text-generation-inference
Instructions to use stmnk/codet5-small-code-summarization-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stmnk/codet5-small-code-summarization-python with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("stmnk/codet5-small-code-summarization-python") model = AutoModelForSeq2SeqLM.from_pretrained("stmnk/codet5-small-code-summarization-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from stmnk/codet5-small-code-summarization-python: direct link, hf CLI and curl.
- Browser
- Download file 145 Bytes
-
https://huggingface.co/stmnk/codet5-small-code-summarization-python/resolve/78a65bd5da998539b599d06a4bfaf6efcce8e7a2/README.md
- Command line
-
hf download hf://stmnk/codet5-small-code-summarization-python@78a65bd5da998539b599d06a4bfaf6efcce8e7a2/README.md
-
curl -L -o README.md https://huggingface.co/stmnk/codet5-small-code-summarization-python/resolve/78a65bd5da998539b599d06a4bfaf6efcce8e7a2/README.md
145 Bytes
| <iframe src="https://wandb.ai/stmnk/CodeT5/reports/Code-T5-code_x_glue_code2text--VmlldzoxMjM4MTUy" style="border:none;height:1024px;width:100%"> |