RelationPrompt
RelationPrompt copied to clipboard
Demo - for line 5 and line 6 from algo
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.
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 .
