Instructions to use neulab/docprompting-codet5-python-doc-retriever with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neulab/docprompting-codet5-python-doc-retriever with Transformers:
# Load model directly from transformers import AutoTokenizer, BERTScorerForCL tokenizer = AutoTokenizer.from_pretrained("neulab/docprompting-codet5-python-doc-retriever") model = BERTScorerForCL.from_pretrained("neulab/docprompting-codet5-python-doc-retriever") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
A code doc retriever given NL intent.
|
| 2 |
+
|
| 3 |
+
The model is based on salesforce/codet5-base. It is finetuned on neulab/docprompting-conala
|
| 4 |
+
|
| 5 |
+
For more details, check out our [github](https://github.com/shuyanzhou/docprompting)
|