Comments (4)
Hello @seo-95 ,
- That is correct.
action_token
is indeed the name of the action, for example,SearchDataset
. - This is a good catch, I'll push a fix to check to account for empty
attributes
key.
from simmc.
Thank you @satwikkottur. Can you also please provide an example of attribute label vs attribute value? Thanks
from simmc.
I debugged the action_evaluation.py
and I have noticed that it was a fault of mine. The attributes
field in the model output JSON can not be empty, instead, it contains several keys, each one mapping to a list, not a single value as described in the mm_action_prediction/README.md
. The right format is then:
{'action': 'SearchDatabase', 'action_log_prob': {'None': -2.091989517211914, 'SearchDatabase': -0.17580336332321167, 'SearchMemory': -3.525150775909424, 'SpecifyInfo': -4.88762903213501, 'AddToCart': -7.144548416137695}, 'attributes': {'attributes': []}}
This issue can be closed after a better description of attribute_label
and attribute_val
in the README. Thank you.
from simmc.
On taking a closer look, attributes
contains all the keys (API attributes) required to be predicted for a given API. The part of the code you're referring to (here) is reached only when the predicted action matches with the ground truth.
I'll add the description of attribute_label
and attribute_val
in the README.md
. Thanks!
from simmc.
Related Issues (20)
- Incorrect evaluation script provided for MM-DST baseline HOT 1
- Incorrect Hyperparameters ? HOT 8
- Baselines results for API call prediction HOT 1
- Question about retrieval evaluation HOT 3
- Baselines results HOT 1
- Bug in baseline? (missing sigmoid) HOT 1
- Possible bugs in evaluation script in SubTask #1 HOT 2
- Are we allowed to use "turn_label" fields for subtasks 1-2 ? HOT 8
- Question about Fashion attributes HOT 1
- SubTask #3 evaluation lower case issue HOT 1
- Bug in mm_dst baseline HOT 1
- Question about submission models HOT 2
- Question about test-std files HOT 9
- Question about the new evaluation method for Task 1&2 HOT 1
- KeyError caused by ~teststd_dials_retrieval_candidates_public.json HOT 1
- How to get images HOT 2
- bug in run scripts/preprocess_simmc.sh HOT 3
- Question about mm_action_prediction/scripts/train_simmc_model.sh HOT 1
- How can I get images of fashion items?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simmc.