Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type of text encoder #7

Open
dt-yuhui opened this issue Dec 26, 2024 · 3 comments
Open

type of text encoder #7

dt-yuhui opened this issue Dec 26, 2024 · 3 comments

Comments

@dt-yuhui
Copy link

Hi,
I found the text encoder in your paper and hf repo is "ncbi/MedCPT-Query-Encoder".
However, in your github repo it is "FremyCompany/BioLORD-2023"
So which one did you finally choose?

@dt-yuhui
Copy link
Author

Also, i'm interested in how to pretrain text encoder with knowledge enhancement.
Will this code be made public?

@qiaoyu-zheng
Copy link
Owner

Thanks for your interest. In fact, they are similar. The text encoder in our first version is medcpt, which is finetuned using our data. However, later we find that biolord is also a good choice which needs no more finetuning. You can directly use biolord aligned with our code. I think its a easier way for reproducing.

@dt-yuhui
Copy link
Author

Thanks for your quick reply!

So there's no knowledge enhancement in the model if we choose "biolord" as text encoder?
But i'm still quite interested in how to inject domain-specific knowledge into pretrained text encoder...like how to mix synonyms, explanation and which loss is used in the ICD tree?

I couldn't find the relevant code in this repo. If possible, could you send this part of the code to my email: [email protected].
Thanks again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants