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