Instructions to use h4iku/codet5-small-t5apr-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use h4iku/codet5-small-t5apr-python with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("h4iku/codet5-small-t5apr-python") model = AutoModelForSeq2SeqLM.from_pretrained("h4iku/codet5-small-t5apr-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from h4iku/codet5-small-t5apr-python: direct link, hf CLI and curl.
- Browser
- Download file 1.37 MB
-
https://huggingface.co/h4iku/codet5-small-t5apr-python/resolve/6d0b635f04ce29fa26bcd90841587a8cecfb51fa/tokenizer.json
- Command line
-
hf download hf://h4iku/codet5-small-t5apr-python@6d0b635f04ce29fa26bcd90841587a8cecfb51fa/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/h4iku/codet5-small-t5apr-python/resolve/6d0b635f04ce29fa26bcd90841587a8cecfb51fa/tokenizer.json
1.37 MB
File too large to display, you can check the raw version instead.