mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-02 18:07:43 +00:00
68d47e1f1f
* Init todo * Evaluation & dataset * Generate new data * dataset generation * add the result * Analysis * Factor update * Updates * Reformat analysis.py * CI fix * Revised Preprocessing & Supported Random Forest * Revised to support three models with feature * Further revised prompts * Slight Revision * docs: update contributors (#230) * Revised to support three models with feature * Further revised prompts * Slight Revision * feat: kaggle model and feature (#238) * update first version code * make hypothesis_gen and experiment_builder fit for both feature and model * feat: continue kaggle feature and model coder (#239) * use qlib docker to run qlib models * feature coder ready * model coder ready * fix CI * finish the first round of runner (#240) * Optimized the factor scenario and added the front-end. * fix a small bug * fix a typo * update the kaggle scenario * delete model_template folder * use experiment to run data preprocess script * add source data to scenarios * minor fix * minor bug fix * train.py debug * fixed a bug in train.py and added some TODOs * For Debugging * fix two small bugs in based_exp * fix some bugs * update preprocess * fix a bug in preprocess * fix a bug in train.py * reformat * Follow-up * fix a bug in train.py * fix a bug in workspace * fix a bug in feature duplication * fix a bug in feedback * fix a bug in preprocessed data * fix a bug om feature engineering * fix a ci error * Debugged & Connected * Fixed error on feedback & added other fixes * fix CI errors * fix a CI bug * fix: fix_dotenv_error (#257) * fix_dotenv_error * format with isort * Update rdagent/app/cli.py --------- Co-authored-by: you-n-g <you-n-g@users.noreply.github.com> * chore(main): release 0.2.1 (#249) Release-As: 0.2.1 * init a scenario for kaggle feature engineering * delete error codes * Delete rdagent/app/kaggle_feature/conf.py --------- Co-authored-by: Young <afe.young@gmail.com> Co-authored-by: Taozhi Wang <taozhi.mark.wang@gmail.com> Co-authored-by: you-n-g <you-n-g@users.noreply.github.com> Co-authored-by: cyncyw <47289405+taozhiwang@users.noreply.github.com> Co-authored-by: Xisen-Wang <xisen_application@163.com> Co-authored-by: Haotian Chen <113661982+Hytn@users.noreply.github.com> Co-authored-by: WinstonLiye <1957922024@qq.com> Co-authored-by: WinstonLiyt <104308117+WinstonLiyt@users.noreply.github.com> Co-authored-by: Linlang <30293408+SunsetWolf@users.noreply.github.com>
48 lines
3.2 KiB
YAML
48 lines
3.2 KiB
YAML
hypothesis_gen:
|
|
system_prompt: |-
|
|
The user is trying to generate new hypothesis on the {{targets}} in data-driven research and development.
|
|
The {{targets}} are used in a certain scenario, the scenario is as follows:
|
|
{{ scenario }}
|
|
The user has made several hypothesis on this scenario and did several evaluation on them. The user will provide this information to you. Check if a new hypothesis has already been proposed. If it is already generated and you agree with it, just use it. If you don't agree, generate a better one.
|
|
{% if hypothesis_specification %}
|
|
To help you generate new hypothesis, the user has prepared some additional information for you. You should use this information to help generate new {{targets}}.
|
|
Here are the specifications: {{ hypothesis_specification }}
|
|
{% endif %}
|
|
Please generate the output following the format and specifications below:
|
|
{{ hypothesis_output_format }}
|
|
|
|
user_prompt: |-
|
|
{% if hypothesis_and_feedback|length == 0 %} It is the first round of hypothesis generation. The user has no hypothesis on this scenario yet.
|
|
{% else %}It is not the first round, the user has made several hypothesis on this scenario and did several evaluation on them.
|
|
The former hypothesis and the corresponding feedbacks are as follows (focus on the last one & the new hypothesis that it provides and reasoning to see if you agree):
|
|
{{ hypothesis_and_feedback }}
|
|
{% endif %}
|
|
{% if RAG %}To help you generate new {{targets}}, we have prepared the following information for you:
|
|
{{ RAG }}{% endif %}
|
|
Please generate the new hypothesis based on the information above. Also generate the relevant keys for the reasoning and the distilled knowledge that follows. For those keys, in particular for knowledge, explain in the context of the specific scenario to build up domain knowledge in the specific field rather than general knowledge.
|
|
|
|
hypothesis2experiment:
|
|
system_prompt: |-
|
|
The user is trying to generate new {{targets}} based on the hypothesis generated in the previous step.
|
|
The {{targets}} are used in certain scenario, the scenario is as follows:
|
|
{{ scenario }}
|
|
The user will use the {{targets}} generated to do some experiments. The user will provide this information to you:
|
|
1. The target hypothesis you are targeting to generate {{targets}} for.
|
|
2. The hypothesis generated in the previous steps and their corresponding feedbacks.
|
|
3. Former proposed {{targets}} on similar hypothesis.
|
|
4. Some additional information to help you generate new {{targets}}.
|
|
Please generate the output following the format below:
|
|
{{ experiment_output_format }}
|
|
|
|
user_prompt: |-
|
|
The user has made several hypothesis on this scenario and did several evaluation on them.
|
|
The target hypothesis you are targeting to generate {{targets}} for is as follows:
|
|
{{ target_hypothesis }}
|
|
The former hypothesis and the corresponding feedbacks are as follows:
|
|
{{ hypothesis_and_feedback }}
|
|
The former proposed {{targets}} on similar hypothesis are as follows:
|
|
{{ target_list }}
|
|
To help you generate new {{targets}}, we have prepared the following information for you:
|
|
{{ RAG }}
|
|
Please generate the new {{targets}} based on the information above.
|