Method and system for creating pruned large language models
AssigneeL&T Technology Services Limited
InventorsSUDHIR BHADAURIA, VIKRAM SUBRAMANI
Life of this patent
Estimating the term…
Loading patent…
AssigneeL&T Technology Services Limited
InventorsSUDHIR BHADAURIA, VIKRAM SUBRAMANI
Estimating the term…
A method and a system for creating a pruned large language model (LLM) is disclosed. A processor receives a weight file of a pretrained LLM, a first metadata, a predefined pruning criterion, and a predefined pruning ratio. A set of target layers are identified. At least one weight is determined from each of the set of target layers based on the predefined pruning criterion and the predefined pruning ratio. A position index of the at least one weight corresponding to each of the set of target layers is determined based on the set of weight matrices. A compressed weight file and a second metadata are generated by removing the at least one weight from each of the set of target layers based on the position index. The pruned LLM is created using the compressed weight file and the second metadata.
A method of creating a pruned large language model (LLM), the method comprising:
A system for creating a pruned large language model (LLM), comprising:
A non-transitory computer-readable medium storing computer-executable instructions for creating a pruned large language model (LLM), the computer-executable instructions configured for:
Dependencies are inferred from the claim text.