mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-09 04:57:44 +00:00
Data mining (#103)
* scen * scen2 * app * fix * Simplify workflow * We can share more code in new scenarios * rename model to rd loop * Optimize data path * Update rdagent/app/data_mining/model.py * Add TODO * Support GPU * gpu --------- Co-authored-by: SH-Src <suhan.c@outlook.com>
This commit is contained in:
@@ -9,6 +9,7 @@ from typing import Generic, TypeVar
|
||||
|
||||
from rdagent.core.evaluation import Feedback
|
||||
from rdagent.core.experiment import ASpecificExp, Experiment
|
||||
from rdagent.core.prompts import Prompts
|
||||
from rdagent.core.scenario import Scenario
|
||||
|
||||
# class data_ana: XXX
|
||||
@@ -81,6 +82,12 @@ class Trace(Generic[ASpecificScen]):
|
||||
|
||||
|
||||
class HypothesisGen(ABC):
|
||||
# NOTE: the design is a little wierd
|
||||
# - Sometimes we want accurate access the prompts in a specific level
|
||||
# - It renders the prompt to a specific abstract level
|
||||
# - Sometimes we want to access the most recent level prompts
|
||||
prompts: Prompts # this is a class level prompt.
|
||||
|
||||
def __init__(self, scen: Scenario) -> None:
|
||||
self.scen = scen
|
||||
|
||||
|
||||
Reference in New Issue
Block a user