clean up retriever model