Yijia Shao
Yijia Shao
Yeah, you could test the API separately by only running the `YouRM` in `src/rm.py`. I suspect this when we are debugging this issue #12, we got similar errors.
Thanks for the effort! We will test this on our side first. Also, we plan to have a major update to this open-source repo to make it easier to customize...
My RAM size is 216G. I think the problem happens in `Launcher.launch()`. A process is killed and the program crashes. I tracked memory usage through `htop` when I reran the...
Sorry, but how to check how many processes I launch? The main part of my code follows the readme file: ```python with Run().context(RunConfig(nranks=args.nranks, experiment=args.experiment_name)): config = ColBERTConfig(doc_maxlen=args.doc_maxlen, nbits=args.nbits) indexer =...
Thanks for the feature! Adding `log_openai_usge=True` [here](https://github.com/stanfordnlp/dspy/blob/87e58d943c93766f08ccfe3b4c35d689c32bd7d8/dsp/utils/settings.py#L35) works for me. I would suggest adding some explanation [here](https://github.com/stanfordnlp/dspy/pull/211/files#diff-f83a6b9860ba9226694bff0362b70ce0f09e4583e6a1a4484e8b5a162b41fb8bR99), e.g. `logging.info(f'#Total token in a LLM call: {total_tokens}')` rather than just logging the...
This is what I change in my dsp/utils/settings.py: ``` class Settings(object): """DSP configuration settings.""" _instance = None _token_usage_lock = threading.Lock() def __new__(cls): """ Singleton Pattern. See https://python-patterns.guide/gang-of-four/singleton/ """ if cls._instance...
Hi, thanks for your interest! We view this project as an example of a knowledge curation engine that serves as the intermediate layer between vase unstructured information and human. So,...
Great, thank you!
@dl942702882 , for switching to customized sources (before we support this officially), maybe you can check out what this PR (#20) tries to do?
An update in this thread: We just release the refactored code to make it easier to run/customize/develop the STORM engine. Now, search API, retrieval model integration in [`src/rm.py`](https://github.com/stanford-oval/storm/blob/main/src/rm.py). The knowledge...