Skip to content
New issue

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

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

Already on GitHub? # to your account

How should I use pretrained model to process new data #29

Open
13145314593 opened this issue Dec 19, 2019 · 4 comments
Open

How should I use pretrained model to process new data #29

13145314593 opened this issue Dec 19, 2019 · 4 comments

Comments

@13145314593
Copy link

13145314593 commented Dec 19, 2019

I want to use the pretrained model checkpoint9.pt directly to process the new data, how do I organize the code.(The methods I find on baidu cannot be used, so I ask you for some suggestion ,like torch.load() function)

@MrRobot2211
Copy link

I have exactly the same question, my main issues is that I can not find the script that preprocesses the oriinal CONLL dataset.

@zhawe01
Copy link
Member

zhawe01 commented Dec 24, 2019

I want to use the pretrained model checkpoint9.pt directly to process the new data, how do I organize the code.(The methods I find on baidu cannot be used, so I ask you for some suggestion ,like torch.load() function)

You want to load the pre-trained model for evaluation, right?
You should change the "--path" parameter in the generate.sh.

@zhawe01
Copy link
Member

zhawe01 commented Dec 24, 2019

I have exactly the same question, my main issues is that I can not find the script that preprocesses the oriinal CONLL dataset.

We didn't release the preprocess scripts for the original CONLL dataset.

@iewang
Copy link

iewang commented Mar 13, 2020

How to deal with the problem of 'command python2 not found' in the generate.sh? And how to use the m2scorer?

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

No branches or pull requests

4 participants