yingying123321
Results
2
issues of
yingying123321
您好,p-tuning v2是将prompt embeddings通过past_key_values加到模型的每一层;看了prefix tuning的代码,也是通过past_key_values加到了模型的每一层。请问一下, p-tuning v2跟prefix tuning的区别在哪里呢?琢磨了好久都没有明白。
`if train_flag: df_topic_tmp = df_topic[df_topic['id'].isin(valid_topic_id)].copy().reset_index(drop=True) df_topic_tmp = df_topic_tmp[df_topic_tmp['category'] == 'source'].copy().reset_index(drop=True)`