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

How to fine-tune on a custom dataset? #11

Closed
yxliao95 opened this issue Jul 25, 2022 · 2 comments
Closed

How to fine-tune on a custom dataset? #11

yxliao95 opened this issue Jul 25, 2022 · 2 comments

Comments

@yxliao95
Copy link

Hi @shtoshni , thanks for the great work.

I'm new to this field, but resolving the coreference is one of the intermediate processes in my research. And my data are different from the publicly available dataset, which means I need to annotate the data and fine-tune an existing model to fit the data.

I was wondering if this model can be fine-tuned on a custom dataset? And if yes, could you provide any tutorial/suggestion on how to fine-tune the model, and what the data look like as the model need? Any suggestion would greatly save me the time of reading the code.

@shtoshni
Copy link
Owner

Interesting. I would use one of the pretrained models released and fine-tuning that model on your dataset. My co-author's, Patrick Xia, work would be a good read as it suggests a few recipes for transferring a pretrained coreference model.

Regarding your questions on data etc., I would suggest looking at LitBank annotations. I think you can avoid reading the codebase for initial experiments and just do away with reading the README. You might need to read the code if you need to modify the code for some very specific requirements. But I feel most of the work can be accomplished by properly modifying the config files.

@yxliao95
Copy link
Author

Thanks for the suggestions. I would have a look then.

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