Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train multi-node tasks including cycle multi-hop rag and trainable agent #306

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2aac4ff
build cycle multi-hop rag, trainable, added component graph with cycl…
liyin2015 Dec 17, 2024
66390d6
add scripts to summarize multiple runs
liyin2015 Dec 18, 2024
ca95233
added test to react agent
liyin2015 Dec 19, 2024
3f4dd33
change reactagent to trainable
liyin2015 Dec 20, 2024
5886648
v1 agent rag debug and loss works
liyin2015 Dec 20, 2024
ac9dfe6
create Greadient class and separate it from parameter to simplify the…
liyin2015 Dec 21, 2024
fadcf35
separate the output parameter out from the base parameter which handl…
liyin2015 Dec 21, 2024
f9e5d39
improve the gradient engine prompt to deal with multi-node and peer n…
liyin2015 Dec 22, 2024
9c0c5b6
improved html visualization and monitoring on the graidents, and rese…
liyin2015 Dec 23, 2024
9c1c07d
optimizer works well, and it knows a cycle if it exists, and the data…
liyin2015 Dec 23, 2024
ee842b8
generator's pred can have feedback all at once
liyin2015 Dec 24, 2024
f8d006c
clean up on react
liyin2015 Dec 24, 2024
117ae1b
add context in the react agent
liyin2015 Dec 25, 2024
4db576e
react v2 with ablity to train functiontool
liyin2015 Dec 26, 2024
50cfbf2
tool manager and func_tool needs to handble both trainable and untrai…
liyin2015 Dec 26, 2024
d0c8bc4
add test case for function tool, and add support for using component …
liyin2015 Dec 26, 2024
6f0bb4c
fix all tests
liyin2015 Dec 26, 2024
32dda35
clean up and rasise error in react agent for debug
liyin2015 Dec 27, 2024
8ac80e4
fix the trace component in grad component taking parameter version of…
liyin2015 Dec 27, 2024
86665d9
missed a return in _execute_action_eval_mode, resulting none as stepo…
liyin2015 Dec 27, 2024
f831344
code simplify and bug
liyin2015 Dec 27, 2024
04cd65b
fix the trainer debug path and save the interactive html graph path i…
liyin2015 Dec 27, 2024
2f19a14
clean up code in functool and add decorator to quickly handle the gra…
liyin2015 Dec 28, 2024
ec3dfa2
remove html
liyin2015 Dec 28, 2024
4af0b8d
clean up code, and simplify the step history representation in the ba…
liyin2015 Dec 28, 2024
daa8178
generator will always use generatoroutput in parameter, setup compone…
liyin2015 Dec 29, 2024
3889f8a
finalizing agent tracining, goes from 0.68 to 0.8 for hotpot qa answe…
liyin2015 Dec 29, 2024
a185e7f
make the outptu processors a parser class instead of a component, imp…
liyin2015 Dec 29, 2024
540b161
use random seed to control the order of training samples, add backwar…
liyin2015 Jan 2, 2025
f0328b0
fix the bug in hotpot qa
liyin2015 Jan 3, 2025
0ad2490
a high performning meta prompt for the tgd optimizer adding prompt en…
liyin2015 Jan 5, 2025
e06fd7b
fix the hotpotqa dataaset, add the retriever recall and precision, tr…
liyin2015 Jan 6, 2025
e204688
adapt the gradcomponent to a version where we support backpropagation…
liyin2015 Jan 8, 2025
bdd0418
fix the bug in set pred score
liyin2015 Jan 8, 2025
e251d7c
tested on using query to supervise retriever, but does not work well
liyin2015 Jan 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion adalflow/adalflow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__version__ = "0.2.6"

from adalflow.core.component import Component, fun_to_component
from adalflow.core.component import Component
from adalflow.core.container import Sequential, ComponentList
from adalflow.core.base_data_class import DataClass, DataClassFormatType, required_field

Expand All @@ -24,6 +24,9 @@
FloatParser,
ListParser,
BooleanParser,
Parser,
func_to_parser,
FuncParser,
)
from adalflow.core.retriever import Retriever
from adalflow.components.output_parsers import (
Expand Down Expand Up @@ -101,6 +104,9 @@
"FloatParser",
"ListParser",
"BooleanParser",
"Parser",
"func_to_parser",
"FuncParser",
# Output Parsers with dataclass formatting
"YamlOutputParser",
"JsonOutputParser",
Expand Down
Loading
Loading