Download code/RL_model/verl/Search-R1/retrieval_launch.sh from shahidul034/readCtrl_lambda: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/shahidul034/readCtrl_lambda/resolve/main/code/RL_model/verl/Search-R1/retrieval_launch.sh
- Command line
-
hf download hf://shahidul034/readCtrl_lambda/code/RL_model/verl/Search-R1/retrieval_launch.sh
-
curl -L -o retrieval_launch.sh https://huggingface.co/shahidul034/readCtrl_lambda/resolve/main/code/RL_model/verl/Search-R1/retrieval_launch.sh
578 Bytes
| file_path=/the/path/you/save/corpus | |
| index_file=$file_path/e5_Flat.index | |
| corpus_file=$file_path/wiki-18.jsonl | |
| retriever_name=e5 | |
| retriever_path=intfloat/e5-base-v2 | |
| python search_r1/search/retrieval_server.py --index_path $index_file \ | |
| --corpus_path $corpus_file \ | |
| --topk 3 \ | |
| --retriever_name $retriever_name \ | |
| --retriever_model $retriever_path \ | |
| --faiss_gpu | |