-
1.
公开(公告)号:US20240104309A1
公开(公告)日:2024-03-28
申请号:US18465648
申请日:2023-09-12
Applicant: Samsung Electronics Co., Ltd.
Inventor: Yen-Chang Hsu , Harshavardhan Kamarthi , Yilin Shen , Hongxia Jin
IPC: G06F40/35 , G06F40/166 , G06F40/284 , G06F40/40 , G06N3/09
CPC classification number: G06F40/35 , G06F40/166 , G06F40/284 , G06F40/40 , G06N3/09
Abstract: A method includes receiving an input for a large language model (LLM) from a user. The method also includes generating one or more token embeddings based on the input. The method further includes generating one or more prompt embeddings based on the input using a contextual prompt generator (CPG), the one or more prompt embeddings representing new or updated information that is not contained in existing knowledge of the LLM. The method also includes providing the one or more token embeddings and the one or more prompt embeddings to the LLM. In addition, the method includes outputting a prediction based on the one or more token embeddings and the one or more prompt embeddings using the LLM, wherein the prediction reflects the new or updated information represented by the one or more prompt embeddings.