RelationPrompt icon indicating copy to clipboard operation
RelationPrompt copied to clipboard

Demo - for line 5 and line 6 from algo

Open PinkalShah opened this issue 3 years ago • 1 comments

Hello, Thanks a ton for the help. I was wondering where we are suppose to pass the input data(in the form of "context: s") while predict for an complete unseen sentence.

PinkalShah avatar Aug 01 '22 14:08 PinkalShah

Hi, for inference of the relation extractor model, you can pass in the path of the data in a json file, based on the code demo and image below. The data file should follow the same format as the existing data . image

chiayewken avatar Aug 03 '22 10:08 chiayewken