Instructions to use Azirqui/codet5-python-doc-generator-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Azirqui/codet5-python-doc-generator-v2 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-doc-generator-v2") - Transformers
How to use Azirqui/codet5-python-doc-generator-v2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Azirqui/codet5-python-doc-generator-v2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 7288a31a254c55c7f7e802298f4e65a83ae372ff8312467e6854dacac072114f
- Size of remote file:
- 2.37 MB
- SHA256:
- a494431f5ab1ddd5148fbe0b7b82ef20622cf0ac61fe3c50e6b25257b33d1244
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.