# US 2026/0073152 A1 · Method, apparatus, device, and storage medium for training model

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0073152 A1
- Document ID: US20260073152A1
- Status: Published application
- Kind: A1
- Application number: 19/319,275
- Filed: 2025-09-04
- Published: 2026-03-12
- Earliest claimed: 2024-09-06
- Assignees: Lemon Inc.
- Applicants: Lemon Inc.
- Inventors: Yu WANG; Qingqing Huang; Xueying Zhang; Shizhu Liu; Jitong Chen
- Web page: https://patentgrep.com/patent/US20260073152A1

## CPC

- G06F 40/35: Discourse or dialogue representation
- G06F 40/56: Natural language generation
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, an apparatus, a device, and a storage medium for training a model are provided. The method includes: constructing a set of candidate lyrics content based on reference lyrics content, each candidate lyrics content including at least one paragraph in the reference lyrics content; determining target lyrics content satisfying a predetermined requirement from the set of candidate lyrics content based on evaluation information of the set of candidate lyrics content; generating description information corresponding to the target lyrics content, the description information indicating a plurality of attributes of the target lyrics content; constructing a set of prompts corresponding to the target lyrics content based on the description information; and training a lyrics generation model based on the set of prompts and the target lyrics content.

## Claims

### Claim 1

A method for training a model, comprising:
constructing a set of candidate lyrics content based on reference lyrics content, each candidate lyrics content comprising at least one paragraph in the reference lyrics content;
determining target lyrics content satisfying a predetermined requirement from the set of candidate lyrics content based on evaluation information of the set of candidate lyrics content;
generating description information corresponding to the target lyrics content, the description information indicating a plurality of attributes of the target lyrics content;
constructing a set of prompts corresponding to the target lyrics content based on the description information; and
training a lyrics generation model based on the set of prompts and the target lyrics content.

### Claim 2 (depends on 1)

The method of claim 1, wherein constructing the set of candidate lyrics content based on the reference lyrics content comprises:
determining a plurality of paragraphs of the reference lyrics content; and
constructing a plurality of paragraph combinations of the plurality of paragraphs to obtain the set of candidate lyrics content.

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of candidate lyrics content is a first set of lyrics content, and determining the target lyrics content satisfying the predetermined requirement from the set of candidate lyrics content based on the evaluation information of the set of candidate lyrics content comprises:
removing at least one candidate lyrics content from the first set of candidate lyrics content based on the evaluation information to determine a second set of candidate lyrics content; and
determining the target lyrics content from the second set of candidate lyrics content.

### Claim 4 (depends on 3)

The method of claim 3, wherein removing the at least one candidate lyrics content from the first set of candidate lyrics content based on the evaluation information to determine the second set of candidate lyrics content comprises at least one of:
removing, based on a text repetition rate indicated by the evaluation information, first candidate lyrics content having the text repetition rate higher than a first threshold from the first set of candidate lyrics content;
removing, based on a rhyming evaluation indicated by the evaluation information, second candidate lyrics content having the rhyming evaluation lower than a second threshold from the first set of candidate lyrics content; or
removing, based on a text fluency indicated by the evaluation information, third candidate lyrics content having the text fluency lower than a third threshold from the first set of candidate lyrics content.

### Claim 5 (depends on 3)

The method of claim 3, wherein determining the target lyrics content from the second set of candidate lyrics content comprises:
generating a theme description text of the second set of candidate lyrics content; and
determining the target lyrics content based on a matching degree between the theme description text and the reference lyrics content.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the description information corresponding to the target lyrics content further comprises:
providing reference description content about a predetermined attribute of the target lyrics content to a first model, to generate a set of extended description content corresponding to the predetermined attribute; and
generating the description information corresponding to the target lyrics content based on the reference description content and the set of extended description content.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of attributes of the target lyrics content indicated by the description information comprise a plurality of the following:
a lyrics theme, a song style, vocal information, an expression state, or a lyrics structure.

### Claim 8 (depends on 1)

The method of claim 1, wherein constructing the set of prompts corresponding to the target lyrics content based on the description information comprises:
constructing a plurality of attribute combinations of the plurality of attributes; and
generating the set of prompts based on the plurality of attribute combinations.

### Claim 9 (depends on 8)

The method of claim 8, wherein generating the set of prompts based on the plurality of attribute combinations comprises:
providing the plurality of attribute combinations to a second model to generate the set of prompts.

### Claim 10 (depends on 1)

The method of claim 1, wherein the set of candidate lyrics content corresponds to a predetermined length of time.

### Claim 11

An electronic device, comprising:
at least one processor; and
at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, causing the electronic device to perform acts comprising:
constructing a set of candidate lyrics content based on reference lyrics content, each candidate lyrics content comprising at least one paragraph in the reference lyrics content;
determining target lyrics content satisfying a predetermined requirement from the set of candidate lyrics content based on evaluation information of the set of candidate lyrics content;
generating description information corresponding to the target lyrics content, the description information indicating a plurality of attributes of the target lyrics content;
constructing a set of prompts corresponding to the target lyrics content based on the description information; and
training a lyrics generation model based on the set of prompts and the target lyrics content.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein constructing the set of candidate lyrics content based on the reference lyrics content comprises:
determining a plurality of paragraphs of the reference lyrics content; and
constructing a plurality of paragraph combinations of the plurality of paragraphs to obtain the set of candidate lyrics content.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein the set of candidate lyrics content is a first set of lyrics content, and determining the target lyrics content satisfying the predetermined requirement from the set of candidate lyrics content based on the evaluation information of the set of candidate lyrics content comprises:
removing at least one candidate lyrics content from the first set of candidate lyrics content based on the evaluation information to determine a second set of candidate lyrics content; and
determining the target lyrics content from the second set of candidate lyrics content.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein removing the at least one candidate lyrics content from the first set of candidate lyrics content based on the evaluation information to determine the second set of candidate lyrics content comprises at least one of:
removing, based on a text repetition rate indicated by the evaluation information, first candidate lyrics content having the text repetition rate higher than a first threshold from the first set of candidate lyrics content;
removing, based on a rhyming evaluation indicated by the evaluation information, second candidate lyrics content having the rhyming evaluation lower than a second threshold from the first set of candidate lyrics content; or
removing, based on a text fluency indicated by the evaluation information, third candidate lyrics content having the text fluency lower than a third threshold from the first set of candidate lyrics content.

### Claim 15 (depends on 13)

The electronic device of claim 13, wherein determining the target lyrics content from the second set of candidate lyrics content comprises:
generating a theme description text of the second set of candidate lyrics content; and
determining the target lyrics content based on a matching degree between the theme description text and the reference lyrics content.

### Claim 16 (depends on 11)

The electronic device of claim 11, wherein generating the description information corresponding to the target lyrics content further comprises:
providing reference description content about a predetermined attribute of the target lyrics content to a first model, to generate a set of extended description content corresponding to the predetermined attribute; and
generating the description information corresponding to the target lyrics content based on the reference description content and the set of extended description content.

### Claim 17 (depends on 11)

The electronic device of claim 11, wherein the plurality of attributes of the target lyrics content indicated by the description information comprise a plurality of the following:
a lyrics theme, a song style, vocal information, an expression state, or a lyrics structure.

### Claim 18 (depends on 11)

The electronic device of claim 11, wherein constructing the set of prompts corresponding to the target lyrics content based on the description information comprises:
constructing a plurality of attribute combinations of the plurality of attributes; and
generating the set of prompts based on the plurality of attribute combinations.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein generating the set of prompts based on the plurality of attribute combinations comprises:
providing the plurality of attribute combinations to a second model to generate the set of prompts.

### Claim 20

A non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to perform acts comprising:
constructing a set of candidate lyrics content based on reference lyrics content, each candidate lyrics content comprising at least one paragraph in the reference lyrics content;
determining target lyrics content satisfying a predetermined requirement from the set of candidate lyrics content based on evaluation information of the set of candidate lyrics content;
generating description information corresponding to the target lyrics content, the description information indicating a plurality of attributes of the target lyrics content;
constructing a set of prompts corresponding to the target lyrics content based on the description information; and
training a lyrics generation model based on the set of prompts and the target lyrics content.
