Open ChrisPaneque opened 2 years ago
hi,ChrisPaneque I also have your question, and do you have some answer now?
Hi, Zhangweizhen What I have done is uploading the resulting model to Hugging Face, from there it can be used with transformers to predict, you can find it with this name ChrisUPM/BioBERT_Re_trained, there, in the Files and versions tag, you can find a notebook named Model_predict_Final that I have uploaded with an example on performing predictions on new texts, is quite easy to use. If you are nor able to find it there, i can send it to you by email. Hope it works!!
Hi, Zhangweizhen What I have done is uploading the resulting model to Hugging Face, from there it can be used with transformers to predict, you can find it with this name ChrisUPM/BioBERT_Re_trained, there, in the Files and versions tag, you can find a notebook named Model_predict_Final that I have uploaded with an example on performing predictions on new texts, is quite easy to use. If you are nor able to find it there, i can send it to you by email. Hope it works!!
Thanks a lot! Your notebook is really helpful 👍
I run the code of RE,but there is a problem."TypeError: TextInputSequence must be str" Do you have meet this? How can I solve it?
I run the code of RE,but there is a problem."TypeError: TextInputSequence must be str" Do you have meet this? How can I solve it?
Hi, it looks like your data input type is not a string, check my comment above, you can find some helpfull notebooks for performing RE easy.
Hi, i want to use my custom data to fine tune RE model, do you have any experience about how to convert the data to correct format can directly feed to Biobert model? only the format same as gad dataset works?
Hi, I have fine tuned the model on RE, using the GAD dataset. How can I predict relations on new text using the resulting model? Thnks!