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