Anery
Anery
您好,我看了issue #24,尝试在24L的plato-2上使用persona定制,修改代码如下: https://github.com/PaddlePaddle/Knover/blob/9d0db786dca9c575b40eb5776c6620bbd6657070/knover/scripts/interact.py#L84 改成: ```python personas = ["your persona: i have three cats.", "your persona: i am 20 years old.", "your persona: i like eggs."] example = Example(src=" [SEP] ".join(personas...
hello! I found this in your paper, “To trade off the two objectives, we penalize the named entity updates with a hyperparameter λ.” But I didn't find it in the...
你好,我想用roberta训练均值,但出现了内存错误: Traceback (most recent call last): File "train_whiten(nli).py", line 79, in main() File "train_whiten(nli).py", line 63, in main a_vecs_train = sents_to_vecs(a_sents_train, tokenizer, model, POOLING, MAX_LENGTH) File "/data/yuany/BERT-whitening-pytorch/all_utils.py", line 65, in...
您好!我写了一个BiLSTM encoder:  不知道图片有没有正常显示,代码如下: + class BiRNN(nn.Module): + def __init__(self, config): super(BiRNN, self).__init__() self.config = config self.sen_len = None self.in_width = self.config.word_size + 2 * self.config.pos_size self.rnn = nn.GRU(self.in_width, self.config.hidden_size,...
Hi, I'm trying to run this test case: `python3 -m cc_net --config config/test_segment.json` but encountered the following error: ``` Will run cc_net.mine.main with the following config: Config(config_name='base', dump='2019-09', output_dir=PosixPath('test_data2'), mined_dir='mined_by_segment',...