-
1.
公开(公告)号:US20230222344A1
公开(公告)日:2023-07-13
申请号:US18118859
申请日:2023-03-08
Inventor: Yekun Chai , Shuohuan Wang , Yu Sun
IPC: G06N3/082
CPC classification number: G06N3/082
Abstract: A method for determining a prompt vector of a pre-trained model, includes: obtaining a first one of prompt vectors and a first vector corresponding to sample data; obtaining N pruned models by N different pruning processing on the pre-trained model, where N is any integer greater than 1; obtaining a first score corresponding to the first one of the prompt vectors by fusing the first vector and the first one of the prompt vectors and inputting the fused first vector and first one of the prompt vectors into the N pruned models respectively; determining a second one of the prompt vectors by modifying, based on the first score, the first one of the prompt vectors; and based on the second one of the prompt vectors, returning to obtaining the first score until determining a target prompt vector corresponding to the sample data.