Instructions to use DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed") model = AutoModelForSeq2SeqLM.from_pretrained("DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .gitignore from DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed: direct link, hf CLI and curl.
- Browser
- Download file 13 Bytes
-
https://huggingface.co/DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed/resolve/main/.gitignore
- Command line
-
hf download hf://DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed/.gitignore
-
curl -L -o .gitignore https://huggingface.co/DunnBC22/codet5-small-Generate_Docstrings_for_Python-Condensed/resolve/main/.gitignore
13 Bytes
| checkpoint-*/ |