Open odashi opened 2 years ago
Yeah, this definitely seems reasonable to me. An Enum
seems reasonable to me, but any other option sounds fine too.
Another problem is that JSON files involve different dtype definitions (one from ExplainaBoard, one from Datalab), which is a main source of confusion of my refactoring. We also need to consolidate them to just one type definition. I recommend not tot use Datalab's one and convert it to ExplainaBoard's data type once we loaded information from Datalab.
FeatureType
s have thedtype
member, which specifies the data type of corresponding data. However, this value is represented asstr
and it is unclear that what kind of values are valid for this member. Particularly, we need to:dtype
member.RFC: @neubig @pfliu-nlp