When i was trying HfQueryAPI, I encounter this:

Initialized HfQueryAPI for BrentLab/hughes_2006
Repository type: dataset
Dataset card validation failed for BrentLab/hughes_2006:

  • Field 'configs -> 1 -> applies_to': Input should be a valid list (got: metadata)
  • Field 'configs -> 2 -> applies_to': Input should be a valid list (got: metadata)

so I think the file contains syntax errors. .

I changed from
"applies_to: metadata"
to
"applies_to:

  • metadata"
Michael Brent's Lab at WashU org

In general, try to stay consistent with the documentation

https://brentlab.github.io/tfbpapi/huggingface_datacard/#metadata-relationships-with-applies_to

it would be

applies_to: ["metadata"]

that said, the applies_to field should not be a property of either overexpression or knockout. It should be a property of metadata, and it should be applies_to: ["knockout", "overexpression"]

cmatkhan changed pull request status to closed

Sign up or log in to comment