Download edubotics_core/retriever/base.py from dl4ds/tutor_dev: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/spaces/dl4ds/tutor_dev/resolve/main/edubotics_core/retriever/base.py
- Command line
-
hf download hf://spaces/dl4ds/tutor_dev/edubotics_core/retriever/base.py
-
curl -L -o base.py https://huggingface.co/spaces/dl4ds/tutor_dev/resolve/main/edubotics_core/retriever/base.py
245 Bytes
| # template for retriever classes | |
| class BaseRetriever: | |
| def __init__(self, config): | |
| self.config = config | |
| def return_retriever(self): | |
| """ | |
| Returns the retriever object | |
| """ | |
| raise NotImplementedError | |