Closed githubgtl closed 1 year ago
Hi, thanks for your attention on our paper. This paper proposes prompts based on entity relationship constraints (shorter), rather than large prompt words. The specific prompt words are spliced together with the input, and the specific format is shown in Figure 2 in the paper.
yes,i see your figure 2 in your paper , but your code seems to encode the relation directly,there is no connection between sentence and your relation structure
OK ,thank you for your help
OK ,thank you for your help
If i want to change the model to apply chinese, I only change the model path and dataset, Right?
Yes, if your label is Chinese, you may also change the to use a Chinese verberlizer, just change the label words.
Some fixed English prompts in the code should also need to be modified.
sorry to borther you,I have seen your paper and code, but I couldn't see any prompt method,I just see the relation between two entities have the different #perfermence from trditional relation perfermence.Is there any unseen code published?