1KE-JI / HierVerb

Official resources of "Hierarchical Verbalizer for Few-Shot Hierarchical Text Classification" (ACL 2023 long).
26 stars 1 forks source link

preprocess_rcv1 code error #2

Open MeycL opened 1 year ago

MeycL commented 1 year ago

File "preprocess_rcv1.py", line 95, in fetch_docs text = docid2path[doc_id].open('rt', encoding='iso-8859-1').read() KeyError: '2286

I have downloaded the original rcv1 dataset, but run preprocess_rcv1.py reported an error as above, how can I solve it? Looking forward to your reply.