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

I got zero score running Webshop.ipython #12

Closed
yhao-wang opened this issue Jun 14, 2023 · 8 comments
Closed

I got zero score running Webshop.ipython #12

yhao-wang opened this issue Jun 14, 2023 · 8 comments

Comments

@yhao-wang
Copy link

I tried to run Webshop.ipython, and here are some of the outputs:

Observation: Invalid action!

Action: click[Add to Cart]
Observation: 

Action: click[Add to Cart]
Observation: 

Action: click[Checkout]
Observation: 

Action: click[Checkout]
Observation: 

Action: click[Proceed to checkout]
Observation: 

Action: click[Proceed to checkout]
Observation: 

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

1 0.0 0.0 0.0
-------------
-----------------
1
Action: reset
Observation: 

Action: click[Buy Now]
Observation: Invalid action!

Action: click[Add to Cart]
Observation: 

Action: click[Add to Cart]
Observation: 

Action: click[Checkout]
Observation: 

Action: click[Checkout]
Observation: 

Action: click[Proceed to checkout]
Observation: 

Action: click[Proceed to checkout]
Observation: 

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

Action: fill out form[name: John Doe, email: john@doe.com, phone: 555-555-1212, address: 123 Main St, city: Anytown, state: CA, zip: 99999]
Observation: Invalid action!

2 0.0 0.0 0.0
-------------
-----------------

How can I get the right score? Thank you

@yhao-wang
Copy link
Author

By the way, could you tell me the score of GPT-3 on webshop? Thanks a lot.

@ysymyth
Copy link
Owner

ysymyth commented Jun 14, 2023

hi, can you tell me your exact commands? did you exactly run the Jupyter notebook?

@Hykaruu
Copy link

Hykaruu commented Jun 15, 2023

hi, can you tell me your exact commands? did you exactly run the Jupyter notebook?

Hello, it looks like the live website from https://webshop-pnlp.github.io/ (http://3.83.245.205:3000/) used in the notebook is down. Could you help me check it?

@yhao-wang
Copy link
Author

I guess it is down. I received 'HTTP Error 502'. Is there any way for me to run the codes without accessing live website? Thank you.

@ysymyth
Copy link
Owner

ysymyth commented Jun 20, 2023

thanks @yhao-wang for letting us know!

I think the better choice is to use the webshop package at https://github.com/princeton-nlp/webshop instead of scraping the website. I might need some time to implement it, but would be more than happy to pull your request if you try it out.

@yhao-wang
Copy link
Author

I tried to use webshop/web_agent_site/envs/web_agent_text_env.py as env, and i had a few problems. So far, I found the env does not give feedback like 'invalid action!'. How to change the codes to get the same outputs as ReAct? Are there any other difference? Thanks!

@ysymyth
Copy link
Owner

ysymyth commented Jul 4, 2023

what did you get exactly when you issue an invalid action?

@ysymyth
Copy link
Owner

ysymyth commented Jul 14, 2023

@yhao-wang since it's been two weeks, close for now. feel free to open a new one with more concrete logs

@ysymyth ysymyth closed this as completed Jul 14, 2023
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