Instructions to use Salesforce/codet5p-220m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/codet5p-220m with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Salesforce/codet5p-220m") model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5p-220m") - Notebooks
- Google Colab
- Kaggle
Usage for Retrieval
#1
by kevinlu1248 - opened
Can this model be used for retrieval?
Looking at the paper, it seems that using the encoder is viable!
@JoaoLages I mean this model in particular. Just using it directly without any fine-tuning or anything.
The model is better suited for generation tasks, but you can try to just use the encoder part for retrieval purposes.
Can this model be used for zero-shot function name prediction?