Skip to content

bABI Task 17 #6

@navdeepkjohal

Description

@navdeepkjohal

Dear Researcher,

I hope this message finds you well.

I have a question regarding bAbI Task 17 and the generation of ASP facts.

When prompting the LLM to generate ASP facts for Task 17, the output typically looks like this:

obj(1, (pink, rectangle)).
obj(2, (triangle)).
obj(3, (red, square)).
leftOf(1,2).
leftOf(2,3).

However, the ASP rules provided for bAbI Task 17 in the repository (linked below) appear to assume a different representation:

task17 = '''

Specifically, the rules expect facts of the following form:

obj(1).
color(1, pink).
shape(1, rectangle).

obj(2).
shape(2, triangle).

obj(3).
color(3, red).
shape(3, square).

leftOf(1,2).
leftOf(2,3).
leftOf_nondirect(1,3).

Could you please clarify whether there is any internal preprocessing or transformation step that converts the LLM-generated obj/2 predicates into the corresponding color/2 and shape/2 predicates? If so, I would appreciate any guidance on where this logic is implemented or how it is intended to work.

Thank you very much for your time and help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions