xlang-ai / instructor-embedding

[ACL 2023] One Embedder, Any Task: Instruction-Finetuned Text Embeddings
Apache License 2.0
1.78k stars 131 forks source link

KeyError `task_name` #101

Open zanussbaum opened 6 months ago

zanussbaum commented 6 months ago

I get a key error when using the data downloaded from here. Has the key been changed to task_id or am I using the wrong data? I don't see task_name anywhere in the dictionaries

hongjin-su commented 6 months ago

Yes, I fixed the README and train.py. Thanks a lot for the reminder!

zanussbaum commented 6 months ago

No problem! Do you have a mapping from task_name to task_id? It would be handy to know which is which!

srikanthmalla commented 1 month ago

medi-data link provided in readme downloads datasets with task_name. @hongjin-su Do you have the right dataset that is described in the readme which says it should have task-id?