xlang-ai / instructor-embedding

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

KeyError `task_name` #101

Open zanussbaum opened 11 months ago

zanussbaum commented 11 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 11 months ago

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

zanussbaum commented 10 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 5 months 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?