Skip to content

Question about vocabulary size #32

@WENHUAN22

Description

@WENHUAN22

Hi,

I tried to reimplement Delphi-2M on the UKBB dataset and to get patients' embeddings accordingly. While I am running the example_ukb_to_bin.py to prepare the train.bin and val.bin, I found that the icd10_codes_mod.tsv you provided contains 1129 records, after processing according to the script, the icdcodes contains 1148 records, and icdict contains 1171 records, neither of them equals 1269 (1270). Should the length of icdict be seen as the vocabulary size and equal to the length of label.csv?

How should we set the length of vocabulary size? And whether the file 'icd10_codes_mod.tsv' is the one you used for training the Delphi-2M?

Best regards,
Wenhuan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions