Instructions to use Azirqui/codet5-python-summarizer-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Azirqui/codet5-python-summarizer-v4 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-v4") - Transformers
How to use Azirqui/codet5-python-summarizer-v4 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Azirqui/codet5-python-summarizer-v4", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
50634b0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9857de996d80bfc23af206e710127f30ecf1d68eff4e59da32e504990fb5a1ec
size 5905
|