Error while loading "alt-parallel" config: TypeError: Couldn't cast array

#3
by albertvillanova HF staff - opened

As reported by @OrionZheng (see: https://huggingface.co/datasets/alt/discussions/2), a TypeError is raised when loading "alt-parallel" configuration:

ds = load_dataset("datasets/canonical/alt", "alt-parallel")

raises:

TypeError: Couldn't cast array of type
struct<fil: string, lo: string, th: string>
to
struct<bg: string, en: string, en_tok: string, fil: string, hi: string, id: string, ja: string, khm: string, lo: string, ms: string, my: string, th: string, vi: string, zh: string>
albertvillanova changed discussion title from Error while loading: TypeError: Couldn't cast array to Error while loading "alt-parallel" config: TypeError: Couldn't cast array
albertvillanova changed discussion status to closed

Thank you very much!

Sign up or log in to comment