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