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

How to run it? :) #202

Open
simjak opened this issue Jul 1, 2024 · 3 comments
Open

How to run it? :) #202

simjak opened this issue Jul 1, 2024 · 3 comments

Comments

@simjak
Copy link
Contributor

simjak commented Jul 1, 2024

python3.11 examples/software_dev/run_train.py

global_logger_for_training - INFO - Logs are saved inexamples/software_dev/logs/2024-07-01_10-27-11
wandb: Currently logged in as: simjak (simjak-Aurelio AI). Use `wandb login --relogin` to force relogin
wandb: wandb version 0.17.3 is available!  To upgrade, please run:
wandb:  $ pip install wandb --upgrade
wandb: Tracking run with wandb version 0.16.6
wandb: Run data is saved locally in /Users/jakit/simonas/open-source/agents/wandb/run-20240701_102712-9vs5z39t
wandb: Run `wandb offline` to turn off syncing.
wandb: Syncing run exalted-waterfall-2
wandb: ⭐️ View project at https://wandb.ai/simjak-Aurelio%20AI/agents-examples_software_dev
wandb: 🚀 View run at https://wandb.ai/simjak-Aurelio%20AI/agents-examples_software_dev/runs/9vs5z39t
global_logger_for_training - INFO - has_ground_truth: False, has_eval_score: False
global_logger_for_training - INFO - meta_loss["order"]: ['part1_no_gt_no_score', 'task_description', 'model_output', 'note_output_score']
Traceback (most recent call last):
  File "/Users/jakit/simonas/open-source/agents/examples/software_dev/run_train.py", line 19, in <module>
    trainer.train()
  File "/Users/jakit/simonas/open-source/agents/src/agents/optimization/trainer.py", line 248, in train
    solution = Solution(config=SolutionConfig(self.initial_solution_path))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jakit/simonas/open-source/agents/src/agents/task/solution.py", line 75, in __init__
    self.sop.init_node_prompts()
  File "/Users/jakit/simonas/open-source/agents/src/agents/task/sop.py", line 196, in init_node_prompts
    node.node_prompts = node.load_node_prompts()
                        ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jakit/simonas/open-source/agents/src/agents/task/node.py", line 393, in load_node_prompts
    node_prompts[agent_name][prompt_type] = Node.apply_var_to_prompt(
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jakit/simonas/open-source/agents/src/agents/task/node.py", line 426, in apply_var_to_prompt
    raise ValueError(
ValueError: Invalid prompt type 'task', the supported prompt types are dict_keys(['target']).
wandb: 🚀 View run exalted-waterfall-2 at: https://wandb.ai/simjak-Aurelio%20AI/agents-examples_software_dev/runs/9vs5z39t
wandb: ⭐️ View project at: https://wandb.ai/simjak-Aurelio%20AI/agents-examples_software_dev
wandb: Synced 5 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
wandb: Find logs at: ./wandb/run-20240701_102712-9vs5z39t/logs

@zdondada
Copy link

I integrated the concept with CrewAI to make it easier to run

@MichaelZhouwang
Copy link
Contributor

I integrated the concept with CrewAI to make it easier to run

That would be super cool! Could you share your implementations? That would be super nice!

@zdondada
Copy link

zdondada commented Jul 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants