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

Some errors when runing the code #3

Open
bf-yang opened this issue Jun 9, 2024 · 1 comment
Open

Some errors when runing the code #3

bf-yang opened this issue Jun 9, 2024 · 1 comment

Comments

@bf-yang
Copy link

bf-yang commented Jun 9, 2024

Thanks for your great job.
I meet the following three problems when running the code.

  1. When I run the "python launcher.py --cfg_file cfgs/peng/peng.yaml", is usually reports: "ValueError: Cannot find geocode for NYU Card Center address". But sometimes it works, but it still reports an error: "SyntaxError: EOL while scanning string literal".
    image

  2. When I modify the WAY_POINTS_LANGUAGE to other descriptions, it may report an error:
    image

  3. I still don't know how to set the WAY_POINT_PARSE_TEMPLATE.
    Should it be set as the default value like this "WAY_POINT_PARSE_TEMPLATE: NAVIGATION_LANGUAGE_TO_WAYPOINT_LIST"?

Could you please help me? Thanks~

@jihanyang
Copy link
Contributor

  1. This is a problem caused by the update of gpt model (refer to https://github.com/VIRL-Platform/VIRL/blob/main/docs/FQA.md). You can fix this by just changing the gpt-4-1106-preview to gpt-4-turbo:
    MODEL: gpt-4-1106-preview

I will update this default config.

  1. Can you show your modification?
  2. You don't need to set WAY_POINT_PARSE_TEMPLATE, it's our designed prompt template to extract waypoints from free-form human language:
    NAVIGATION_LANGUAGE_TO_WAYPOINT_LIST = """
    [Role]
    You are ParseGPT. Your task is to parse the user's natural language to all place addresses that the user want to go.
    [Input]
    User query: <{waypoint_query}>
    [Output]
    You should answer with a list a address: ["address 1", "address 2", ...]
    """

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

2 participants