Reboot Agents #30387

LysandreJik merged 98 commits into main from agents
aymeric-roucher
aymeric-roucher aymeric-roucher marked this pull request as draft 1 year ago
aymeric-roucher aymeric-roucher added Agents
aymeric-roucher aymeric-roucher requested a review from LysandreJik LysandreJik 1 year ago
aymeric-roucher aymeric-roucher changed the title Agents Reboot Agents 1 year ago
LysandreJik LysandreJik force pushed to 502f2d82 1 year ago
aymeric-roucher aymeric-roucher force pushed 1 year ago
aymeric-roucher aymeric-roucher force pushed to 5b859e96 1 year ago
LysandreJik
LysandreJik commented on 2024-05-01
LysandreJik LysandreJik force pushed 1 year ago
HuggingFaceDocBuilderDev
LysandreJik LysandreJik force pushed 1 year ago
LysandreJik LysandreJik requested a review from ArthurZucker ArthurZucker 1 year ago
LysandreJik LysandreJik marked this pull request as ready for review 1 year ago
ArthurZucker
ArthurZucker commented on 2024-05-03
aymeric-roucher aymeric-roucher force pushed 1 year ago
aymeric-roucher aymeric-roucher force pushed 1 year ago
aymeric-roucher Create CodeAgent and ReactAgent
27731ecd
aymeric-roucher Fix formatting errors
b8c048bf
aymeric-roucher Update documentation for agents
28ed42c7
aymeric-roucher Add custom errors, improve logging
9bb52f05
aymeric-roucher Support variable usage in ReactAgent
39951d98
cyril-k add messages
d473d330
aymeric-roucher Add message passing format
74afc581
aymeric-roucher Create React Code Agent
df584a7e
aymeric-roucher Update
2682c4fa
aymeric-roucher Refactoring
ef3ffb73
aymeric-roucher Fix errors
3b7d6a1d
aymeric-roucher Improve python interpreter
f3f72dcd
LysandreJik Only non-tensor inputs should be sent to device
b8adf718
LysandreJik Calculator tool slight refactor
d0b10f67
aymeric-roucher Improve docstrings
5b3e2bb6
LysandreJik Refactor
6f6efc2b
aymeric-roucher Fix tests
de578f89
aymeric-roucher Fix more tests
9d70d9bc
aymeric-roucher Fix even more tests
de49a98a
aymeric-roucher Fix tests by replacing output and input types
b433afe8
LysandreJik Fix operand type issue
6ecc9ecc
LysandreJik two small fixes
6fe538b0
LysandreJik EM TTS
95c0d91a
aymeric-roucher Fix agent running type errors
7180cc04
aymeric-roucher Change text to speech tests to allow changed outputs
3a9f4d69
aymeric-roucher Update doc with new agent types
8bc3c2dd
aymeric-roucher Improve code interpreter
78362bc1
aymeric-roucher If max iterations reached, provide a real answer instead of an error
74a12e90
aymeric-roucher Add edge case in interpreter
b8649bd5
aymeric-roucher Add safe imports to the interpreter
532e7bd3
aymeric-roucher Interpreter tweaks: tuples and listcomp
405b9152
aymeric-roucher Make style
2cc57bdb
aymeric-roucher Make quality
943675e5
aymeric-roucher Add dictcomp to interpreter
a281ae4c
aymeric-roucher Rename ReactJSONAgent to ReactJsonAgent
d0bcc8fb
LysandreJik Misc changes
6cc15671
LysandreJik ToolCollection
89f2e334
aymeric-roucher Rename agent's logger to self.logger
b5247598
aymeric-roucher Add while loops to interpreter
d7afadf2
aymeric-roucher Update doc with new tools. still need to mention collections
bda64b8c
aymeric-roucher Add collections to the doc
4a638420
aymeric-roucher Small fixes on logs and interpretor
77fc71fa
LysandreJik Fix toolbox return type
9601b288
LysandreJik Docs + fixup
94cbe941
LysandreJik Skip doctests
c934ebe2
aymeric-roucher Correct prompts with improved examples and formatting
fd8abad1
aymeric-roucher Update prompt
445830b3
LysandreJik Remove outdated docs
cc308422
aymeric-roucher Change agent to accept Toolbox object for tools
a1337cb8
aymeric-roucher Remove calculator tool
73e7781b
aymeric-roucher Propagate removal of calculator in doc
240729a2
LysandreJik Fix 2 failing workflows
8c91daf7
aymeric-roucher Simplify additional argument passing
da2a4d28
LysandreJik AgentType audio
a3fc545d
aymeric-roucher Minor changes: function name, types
cc3aceba
aymeric-roucher Remove calculator tests
80654407
aymeric-roucher Fix test
e10d0c41
LysandreJik Fix torch requirement
e858f594
aymeric-roucher Fix final answer tests
9a4630f8
aymeric-roucher Style fixes
c8b97ebb
LysandreJik Fix tests
e176b43f
aymeric-roucher Update docstrings with calculator removal
c8e2baf0
aymeric-roucher Small type hint fixes
97c6fa32
aymeric-roucher Update tests/agents/test_translation.py
33b174bc
aymeric-roucher Update tests/agents/test_python_interpreter.py
5f44104c
aymeric-roucher Update src/transformers/agents/default_tools.py
6ec7c831
aymeric-roucher Update src/transformers/agents/tools.py
11e36740
aymeric-roucher Update tests/agents/test_agents.py
8381ea6e
aymeric-roucher Update src/transformers/models/bert/configuration_bert.py
e54b2d0d
aymeric-roucher Update src/transformers/agents/tools.py
a63ab7fb
aymeric-roucher Update src/transformers/agents/speech_to_text.py
60d3bba3
aymeric-roucher Update tests/agents/test_speech_to_text.py
370d2f3b
aymeric-roucher Update tests/agents/test_tools_common.py
7446c996
LysandreJik pygments
929d30e8
aymeric-roucher Answer comments
e4f1b2ac
aymeric-roucher Cleaning up
7f5695f3
aymeric-roucher Simplifying init for all agents
812c4a61
aymeric-roucher Improving prompts and making code nicer
8f519629
aymeric-roucher Style fixes
670f32e9
aymeric-roucher Add multiple comparator test in interpreter
56cafac3
aymeric-roucher Style fixes
b57f0b1e
aymeric-roucher Improve BERT example in documentation
fb880578
aymeric-roucher Add examples to doc
bd5b89e0
aymeric-roucher Fix python interpreter quality
1b2df687
aymeric-roucher Make quality
943675e5
aymeric-roucher Add dictcomp to interpreter
a281ae4c
aymeric-roucher Rename ReactJSONAgent to ReactJsonAgent
d0bcc8fb
LysandreJik Misc changes
6cc15671
LysandreJik ToolCollection
89f2e334
aymeric-roucher Rename agent's logger to self.logger
b5247598
aymeric-roucher Add while loops to interpreter
d7afadf2
aymeric-roucher Update doc with new tools. still need to mention collections
bda64b8c
aymeric-roucher Add collections to the doc
4a638420
aymeric-roucher Small fixes on logs and interpretor
77fc71fa
LysandreJik Fix toolbox return type
9601b288
LysandreJik Docs + fixup
94cbe941
LysandreJik Skip doctests
c934ebe2
aymeric-roucher Correct prompts with improved examples and formatting
fd8abad1
aymeric-roucher Update prompt
445830b3
LysandreJik Remove outdated docs
cc308422
aymeric-roucher Change agent to accept Toolbox object for tools
a1337cb8
aymeric-roucher Remove calculator tool
73e7781b
aymeric-roucher Propagate removal of calculator in doc
240729a2
LysandreJik Fix 2 failing workflows
8c91daf7
aymeric-roucher Simplify additional argument passing
da2a4d28
LysandreJik AgentType audio
a3fc545d
aymeric-roucher Minor changes: function name, types
cc3aceba
aymeric-roucher Remove calculator tests
80654407
aymeric-roucher Fix test
e10d0c41
LysandreJik Fix torch requirement
e858f594
aymeric-roucher Fix final answer tests
9a4630f8
aymeric-roucher Style fixes
c8b97ebb
LysandreJik Fix tests
e176b43f
aymeric-roucher Update docstrings with calculator removal
c8e2baf0
aymeric-roucher Small type hint fixes
97c6fa32
aymeric-roucher Update tests/agents/test_translation.py
33b174bc
aymeric-roucher Update tests/agents/test_python_interpreter.py
5f44104c
aymeric-roucher Update src/transformers/agents/default_tools.py
6ec7c831
aymeric-roucher Update tests/agents/test_agents.py
8381ea6e
aymeric-roucher Update src/transformers/models/bert/configuration_bert.py
e54b2d0d
aymeric-roucher Update src/transformers/agents/tools.py
a63ab7fb
aymeric-roucher Update src/transformers/agents/speech_to_text.py
60d3bba3
aymeric-roucher Update tests/agents/test_speech_to_text.py
370d2f3b
aymeric-roucher Update tests/agents/test_tools_common.py
7446c996
LysandreJik pygments
929d30e8
aymeric-roucher Answer comments
e4f1b2ac
aymeric-roucher Cleaning up
7f5695f3
aymeric-roucher Simplifying init for all agents
812c4a61
aymeric-roucher Improving prompts and making code nicer
8f519629
aymeric-roucher Style fixes
670f32e9
aymeric-roucher Add multiple comparator test in interpreter
56cafac3
aymeric-roucher Style fixes
b57f0b1e
aymeric-roucher Improve BERT example in documentation
fb880578
aymeric-roucher Add examples to doc
bd5b89e0
aymeric-roucher Logging improvements
6811520e
aymeric-roucher Change test flag to agents
eda303a5
aymeric-roucher Quality fix
d6b1400d
aymeric-roucher Add example for HfEngine
3499af4c
aymeric-roucher Improve conversation example for HfEngine
4848fdea
LysandreJik typo fix
689e70ce
aymeric-roucher Verify doc
88381f94
aymeric-roucher aymeric-roucher force pushed to 88381f94 1 year ago
ArthurZucker
ArthurZucker approved these changes on 2024-05-06
aymeric-roucher Update docs/source/en/agents.md
d824ce9c
aymeric-roucher Update src/transformers/agents/agents.py
7f10419e
aymeric-roucher Update src/transformers/agents/prompts.py
2a65ee7a
aymeric-roucher Update src/transformers/agents/python_interpreter.py
bc9f96f6
aymeric-roucher Update docs/source/en/agents.md
e8c4cd6f
aymeric-roucher Fix style issues
fcb5e951
LysandreJik local s2t tool
58f4cf1b
LysandreJik LysandreJik merged 0ba15ced into main 1 year ago
LysandreJik LysandreJik deleted the agents branch 1 year ago
Wladastic

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone