Transformers
PyTorch
Safetensors
py
English
t5
text2text-generation
Code2TextGeneration
Code2TextSummarisation
text-generation-inference
Run this model with HF Jobs
Run stmnk/codet5-small-code-summarization-python on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/stmnk/codet5-small-code-summarization-python. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/stmnk/codet5-small-code-summarization-python on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 model.safetensors from stmnk/codet5-small-code-summarization-python: direct link, hf CLI and curl.
- Browser
- Download file 242 MB
-
https://huggingface.co/stmnk/codet5-small-code-summarization-python/resolve/main/model.safetensors
- Command line
-
hf download hf://stmnk/codet5-small-code-summarization-python/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/stmnk/codet5-small-code-summarization-python/resolve/main/model.safetensors
242 MB
- Xet hash:
- a1d1198f0faa53cce4002d7c10df6f5d386334cd1aab218b8f03f9cda16e7ab6
- Size of remote file:
- 242 MB
- SHA256:
- 95f557f07f13ad9912605deb918ff698a530d9d746e0ce66565cac92fe1c5982
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.