You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.
Let's say I have an input in meaning representation (MR) format
I: {"name":"NAME", "familyFriendly":-1, "eatType":"Coffee Shop", "food":"Chinese", "priceRange": "moderate", "near":-1, "area":"riverside", "customer rating":"1 out of 5"}
Transformed Input (taking values alone): NAME -1 Coffee Shop Chinese moderate -1 riverside 1 out of 5
For the first run:
O: NAME is a family friendly Chinese coffee shop with moderate price, which is located in Riverside with customer rating of 1 out of 5
For the second run:
O: NAME is a family friendly Chinese coffee shop with moderate price, which is located in Riverside with customer rating of 1 out of 5
Here I get the same output for two runs.
But what I actually want different output sentences for the given input. Like this...
I: {"name":"NAME", "familyFriendly":-1, "eatType":"Coffee Shop", "food":"Chinese", "priceRange": "moderate", "near":-1, "area":"riverside", "customer rating":"1 out of 5"}
Transformed Input (taking values alone): NAME -1 Coffee Shop Chinese moderate -1 riverside 1 out of 5
For the first run:
O: NAME is a family friendly Chinese coffee shop with moderate price, which is located in Riverside with customer rating of 1 out of 5
For the second run:
O: A Chinese coffee shop named NAME is located in Riverside with a customer rating of 1 out of 5 has a moderate price.
Let's say I have an input in meaning representation (MR) format
I: {"name":"NAME", "familyFriendly":-1, "eatType":"Coffee Shop", "food":"Chinese", "priceRange": "moderate", "near":-1, "area":"riverside", "customer rating":"1 out of 5"}
Transformed Input (taking values alone): NAME -1 Coffee Shop Chinese moderate -1 riverside 1 out of 5
For the first run:
O: NAME is a family friendly Chinese coffee shop with moderate price, which is located in Riverside with customer rating of 1 out of 5
For the second run:
O: NAME is a family friendly Chinese coffee shop with moderate price, which is located in Riverside with customer rating of 1 out of 5
Here I get the same output for two runs.
But what I actually want different output sentences for the given input. Like this...
I: {"name":"NAME", "familyFriendly":-1, "eatType":"Coffee Shop", "food":"Chinese", "priceRange": "moderate", "near":-1, "area":"riverside", "customer rating":"1 out of 5"}
Transformed Input (taking values alone): NAME -1 Coffee Shop Chinese moderate -1 riverside 1 out of 5
For the first run:
O: NAME is a family friendly Chinese coffee shop with moderate price, which is located in Riverside with customer rating of 1 out of 5
For the second run:
O: A Chinese coffee shop named NAME is located in Riverside with a customer rating of 1 out of 5 has a moderate price.
You can see the data set here: http://www.macs.hw.ac.uk/InteractionLab/E2E/
Can you please tell how can I achieve this using transformer.
The text was updated successfully, but these errors were encountered: