Downloads · 30 days
43
1% of all-time downloads
nov3630/RLRetriever
RLRetriever is a feature extraction model from nov3630. Use it when you need embeddings to search or compare text. It is set up for transformers. The card lists the license as apache-2.0.
RLRetriever is a retriever for repository-level code completion which disregard seemingly useful yet ultimately unhelpful reference code snippets, focusing on those more likely to contribute to accurate code generation.
Downloads · 30 days
43
1% of all-time downloads
All-time downloads
4.2K
Public
Repo size
1 GB
Likes
4
Public
Click a slice to open those files.
.bin504 MB · 99%
From the Hugging Face model README
RLRetriever is a retriever for repository-level code completion which disregard seemingly useful yet ultimately unhelpful reference code snippets, focusing on those more likely to contribute to accurate code generation.
BibTeX:
@misc{wang2024rlcoderreinforcementlearningrepositorylevel,
title={RLCoder: Reinforcement Learning for Repository-Level Code Completion},
author={Yanlin Wang and Yanli Wang and Daya Guo and Jiachi Chen and Ruikai Zhang and Yuchi Ma and Zibin Zheng},
year={2024},
eprint={2407.19487},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2407.19487},
}
Use the code below to get started with the model.
<details> <summary> Click to expand </summary>from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("nov3630/RLRetriever")
model = AutoModel.from_pretrained("nov3630/RLRetriever")
</details>