Instructions to use Azirqui/codet5-python-summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Azirqui/codet5-python-summarizer with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-small") model = PeftModel.from_pretrained(base_model, "Azirqui/codet5-python-summarizer") - Transformers
How to use Azirqui/codet5-python-summarizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Azirqui/codet5-python-summarizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from Azirqui/codet5-python-summarizer: direct link, hf CLI and curl.
- Browser
- Download file 5.91 kB
-
https://huggingface.co/Azirqui/codet5-python-summarizer/resolve/b3a8b9a18c21337a24c9d3fa7bd3cf8a92d4af35/training_args.bin
- Command line
-
hf download hf://Azirqui/codet5-python-summarizer@b3a8b9a18c21337a24c9d3fa7bd3cf8a92d4af35/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Azirqui/codet5-python-summarizer/resolve/b3a8b9a18c21337a24c9d3fa7bd3cf8a92d4af35/training_args.bin
5.91 kB
- Xet hash:
- 0730e54184dbc617b8e1e95022a468f2afd2e5685f45f2f94a63e91925dac684
- Size of remote file:
- 5.91 kB
- SHA256:
- 64c66bf47dcefe9cb8cdad3efe6151bb2939b01a16f987f1329b2ced61df9308
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.