lyutyuh / ASP

PyTorch implementation and pre-trained models for ASP - Autoregressive Structured Prediction with Language Models, EMNLP 22. https://arxiv.org/pdf/2210.14698.pdf
MIT License
100 stars 15 forks source link

How can I make prediction from a text file #13

Open shantanu778 opened 1 year ago

shantanu778 commented 1 year ago

I want to pass a text file and get the clusters of coreference. For example,

Input: My name is Sarah and I live in London. I go to the office everyday with my car.
Output: [[My, I, I, my]]

I don't know how to solve this issue. Can you please give me an idea?

LoveLetter1 commented 1 year ago

Hello, have you solved the problem?

shantanu778 commented 1 year ago

@LoveLetter1 Sorry for being late. Yes. lmk if you still need any help.

LoveLetter1 commented 1 year ago

Yes,i need.How did you achieve that? I want to get the entity and relation.

kpmealey commented 11 months ago

Hi! I am also looking for this answer. In the README, you say "For coreference resolution, convert the new dataset to CoNLL-12 format" -- but I have not found any open-source methods for converting to CoNLL-12 format and finding myself reverse-engineering how to create parse bits etc. Can you recommend how to go about this?

zz-hitnlper commented 5 months ago

@LoveLetter1 Sorry for being late. Yes. lmk if you still need any help.

hello,i want know how achieve this idea,how to conll2012,can you help me?