Education plan generation method and device, equipment and storage medium

By labeling and preprocessing online and offline teaching plan data, and performing targeted tuning and training on the pre-trained model, the problem of the inability of existing technology to provide personalized lesson plans is solved, and efficient and personalized lesson plan generation is achieved. Improved the quality of education and teaching.

CN118536480APending Publication Date: 2024-08-23INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410703612.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing educational technology cannot provide highly personalized lesson plans without relying on manual writing by teachers, and cannot effectively respond to the rapid changes and diversity of educational needs.

Method used

By collecting online and offline lesson plan data, labeling and preprocessing, and using targeted tuning and training strategies to migrate and train the pre-trained model, lesson plans that meet educational needs are generated.

Benefits of technology

It realizes the generation of lesson plans that meet the needs of personalized education without relying on manual writing by teachers, improving the quality of education and teaching and student learning effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536480A
    Figure CN118536480A
Patent Text Reader

Abstract

The embodiment of the invention provides an education teaching plan generation method and device, equipment and a storage medium. Online and offline teaching plan data are collected; labeling the teaching plan data according to the features to obtain labeled teaching plan data; preprocessing the tagged teaching plan data to obtain standardized teaching plan data; using a training data set in the standardized teaching plan data and the corresponding label to formulate a directional tuning training strategy of the teaching plan generation model; carrying out migration training on the pre-trained model by adopting a directional tuning training strategy to obtain a trained teaching plan generation model; and inputting the teaching plan demand description into a teaching plan generation model to generate a corresponding teaching plan. The trained teaching plan generation model obtained by the embodiment of the invention has higher applicability and practicability, can generate a teaching plan meeting the individuation of education according to the teaching plan demand description, facilitates the optimization of an education teaching method, and improves the learning effect of students.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of deep learning technology, and in particular to a method and device for generating educational lesson plans, an electronic device, and a storage medium. Background Art

[0002] In the field of education, primary and secondary school teachers face the challenge of writing lesson plans. Lesson plans are a core component of classroom teaching and have a significant impact on the quality of education and student learning outcomes. However, traditional lesson plan writing is usually a time-consuming and tedious task, and teachers need to invest a lot of time and energy to create customized educational resources. At the same time, educational requirements are constantly evolving, and there are differences in teaching requirements for different stages and subjects, which makes lesson plan writing complex and challenging.

[0003] With the continuous development of information technology and artificial intelligence, various automated tools and educational technologies have emerged to support teachers, such as multimedia automated teaching and online teaching. However, many existing educational technologies are still limited. During the teaching process, teachers rely on manual design of lesson plans. Due to the repetition of teaching content and heavy teaching tasks, lesson plans are often reused for several classes, which cannot provide highly personalized educational resources and cannot cope with rapidly changing educational needs.

[0004] Therefore, how to obtain lesson plans that meet the needs of personalized education without relying on manual writing by teachers is an urgent problem to be solved. Summary of the invention

[0005] The embodiment of the present application provides a method for generating an educational lesson plan to solve the problem of how to obtain a lesson plan that satisfies educational personalization without relying on manual writing by teachers.

[0006] Correspondingly, the embodiment of the present application also provides an educational lesson plan generation device, an electronic device and a storage medium to ensure the implementation and application of the above method.

[0007] In order to solve the above problems, the present application embodiment discloses a method for generating an educational lesson plan, the method comprising:

[0008] Collect online and offline teaching plan data;

[0009] Labeling the teaching plan data according to the features to obtain labeled teaching plan data;

[0010] Preprocessing the labeled teaching plan data to obtain standardized teaching plan data;

[0011] Using the training data set in the standardized teaching plan data and the corresponding labels, a directional tuning training strategy for the teaching plan generation model is formulated, wherein the directional tuning training strategy includes a series of teaching plan generation tasks;

[0012] The directional tuning training strategy is used to perform migration training on the pre-trained model to obtain the trained teaching plan generation model;

[0013] The lesson plan requirement description is input into the lesson plan generation model to generate a corresponding lesson plan.

[0014] In an optional embodiment of the present application, the preprocessing of the labeled teaching plan data includes:

[0015] Using a natural language processing tool library to clean the labeled teaching plan data to obtain pre-processed teaching plan data, wherein the data cleaning includes removing duplicate data, invalid characters, and stagnant words;

[0016] Using the natural language processing tool library, and utilizing a word-based splitting method and a prefix-and-suffix-based splitting method, the pre-processed lesson plan data is subjected to text splitting to obtain lesson plan text data, wherein the lesson plan text data is text data obtained by splitting the pre-processed lesson plan data into minimum unit words;

[0017] Converting the teaching plan text data into a high-dimensional space vector to obtain vectorized teaching plan data;

[0018] Extracting data features from the vectorized teaching plan data to obtain a teaching plan data feature vector, wherein the data features include at least one or more of a sentiment score, a topic model, and a named entity;

[0019] Performing principal component analysis on the teaching plan text data and the teaching plan data feature vector to obtain the standardized teaching plan data;

[0020] The standardized teaching plan data is divided into the training data set, the verification data set and the test data set.

[0021] In an optional embodiment of the present application, the structure of the lesson plan generation model includes: an encoder, a decoder, and a historical memory information module, the encoder is used to convert the standardized lesson plan data input into the lesson plan generation model into a computer internal representation vector, the historical memory information module is used to use a historical memory matrix to dynamically store the word vectors historically generated by the decoder, and the decoder is used to generate the word vector and the lesson plan text based on the computer internal representation vector output by the encoder and the historically generated word vector in the historical memory matrix.

[0022] In an optional embodiment of the present application, the structure of the teaching plan generation model further includes:

[0023] A multi-topic classifier, used to distinguish between teaching plans with different topics, and to distinguish between the teaching plans generated by the model and the training data set in the standardized teaching plan data;

[0024] An adversarial neural network is used to perform adversarial training according to the classification results output by the multi-topic classifier to generate a teaching plan text that conforms to the training data set in the standardized teaching plan data and the relevance of the teaching plan topic;

[0025] A reinforcement learning generator is used to determine a strategy for generating the lesson plan text, and to train the generator in the adversarial neural network according to the strategy for generating the lesson plan text.

[0026] In an optional embodiment of the present application, after obtaining the trained teaching plan generation model, the method further includes:

[0027] Evaluate the performance quality of the lesson plan generated by the lesson plan generation model according to a preset indicator, or,

[0028] The performance quality of the lesson plans generated by the lesson plan generation model is manually evaluated.

[0029] In an optional embodiment of the present application, the method further includes:

[0030] If the teaching plan generation model passes the preset indicator evaluation and the manual evaluation, the teaching plan generation model is publicly deployed to the teaching plan generation platform;

[0031] The lesson plan requirement description is input into the lesson plan generation platform. After the lesson plan generation platform starts the lesson plan generation model, the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan.

[0032] In an optional embodiment of the present application, after obtaining the standardized teaching plan data, the method further includes:

[0033] Using paraphrase, synonym replacement or random insertion of typos in the standardized teaching plan data to obtain expanded standardized teaching plan data;

[0034] The expanded and standardized teaching plan data are used as the standardized teaching plan data.

[0035] The present application also discloses a device for generating an educational lesson plan, the device comprising:

[0036] Data collection module, used to collect online and offline teaching plan data;

[0037] A data labeling module, used to label the teaching plan data according to the features to obtain labeled teaching plan data;

[0038] A data preprocessing module, used for preprocessing the labeled teaching plan data to obtain standardized teaching plan data;

[0039] A training strategy generation module, used to use the training data set in the standardized teaching plan data and the corresponding labels to formulate a directional tuning training strategy for the teaching plan generation model, wherein the directional tuning training strategy includes a series of teaching plan generation tasks;

[0040] A transfer training module, used to perform transfer training on the pre-trained model using the directional tuning training strategy to obtain the lesson plan generation model that has been trained;

[0041] The lesson plan generation module is used to input the lesson plan requirement description into the lesson plan generation model to generate the corresponding lesson plan.

[0042] An embodiment of the present application also discloses an electronic device, including: a processor; and a memory, on which executable code is stored. When the executable code is executed, the processor executes the educational lesson plan generation method as described in one or more of the embodiments of the present application.

[0043] The embodiments of the present application also disclose one or more machine-readable media on which executable codes are stored. When the executable codes are executed, the processor executes the educational lesson plan generation method as described in one or more of the embodiments of the present application.

[0044] Compared with the prior art, the embodiments of the present application have the following advantages:

[0045] In an embodiment of the present application, online and offline lesson plan data are collected; the lesson plan data are labeled according to the features to obtain labeled lesson plan data; the labeled lesson plan data are preprocessed to obtain standardized lesson plan data; the training data set in the standardized lesson plan data and the corresponding labels are used to formulate a directional tuning training strategy for the lesson plan generation model, and the directional tuning training strategy includes a series of lesson plan generation tasks; the directional tuning training strategy is used to perform migration training on the pre-trained model to obtain a trained lesson plan generation model; the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan. The embodiment of the present application uses the real lesson plan data collected online and offline to perform directional tuning training on the pre-trained model, and the trained lesson plan generation model obtained has higher applicability and practicality, and can generate lesson plans that meet the personalized education according to the lesson plan requirement description, which helps to optimize the education and teaching methods and improve the learning effect of students. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a flowchart of the steps of an embodiment of a method for generating an educational lesson plan of the present application;

[0047] Figure 2 It is a schematic diagram of the steps of another embodiment of the method for generating an educational lesson plan of the present application;

[0048] Figure 3 It is a structural block diagram of an embodiment of an educational lesson plan generating device of the present application;

[0049] Figure 4 It is a schematic diagram of the structure of a device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0051] Reference Figure 1 , is a flowchart of an embodiment of an educational lesson plan generation method of the present application, comprising the following steps:

[0052] Step 101: Collect online and offline teaching plan data.

[0053] In the field of education, educational lesson plans are important tools for teachers to carry out teaching activities, which include key information such as teaching objectives, teaching content, teaching methods, and teaching steps. In order to improve the quality and applicability of the educational lesson plans generated by the lesson plan generation model, it is very important to collect lesson plans with actual teaching experience and professional insights of teachers. In the present embodiment, in order to train the lesson plan generation model required for generating educational lesson plans, firstly, the lesson plan data for training are collected online and offline. In a feasible embodiment, the online data source may include public resources on the Internet, such as the online lesson plans disclosed in the lesson plan website, and the educational lesson plans on the lesson plan website are extracted by a web crawler to obtain a large amount of lesson plan data for training the lesson plan generation model. These lesson plan data may include lesson plan examples of various subjects and school periods covering multiple grades and curriculum fields of primary and secondary schools. In a feasible embodiment, the offline lesson plan data may be lesson plans provided by primary and secondary school teachers that they have written and used in the past, and these lesson plans have actual teaching experience and professional insights of teachers. By collecting a large amount of lesson plan data online and offline, we can effectively collect and utilize lesson plans for various subjects and stages that are based on practical teaching experience and professional insights of teachers, and then train the lesson plan generation model to improve teaching quality and efficiency.

[0054] Step 102: label the teaching plan data according to the features to obtain labeled teaching plan data.

[0055] After collecting the teaching plan data, the teaching plan data needs to be processed in a series of ways to make it suitable for training the teaching plan generation model. In this embodiment, the teaching plan data is first labeled according to its characteristics to obtain labeled teaching plan data. In one embodiment, the label for each teaching plan data describes the key features of the teaching plan data, such as applicable school stage, quality rating, etc. The labeled data format is as follows:

[0056] {

[0057] "dataSource":"Data source",

[0058] "tags":["Tag 1","Tag 2"],

[0059] "content":"Lesson plan content",

[0060] "score":"Lesson plan quality score",

[0061] "payloads":["payload1","payload2"],

[0062] "payloadTags":["payloadTag1":["Tag 1","Tag 2"],"payloadTag2":["Tag 1","Tag 2"]],

[0063] }

[0064] Among them, the "dataSource" field indicates the source of the lesson plan data in order to track and identify the source of the lesson plan data; the "tags" field contains the tags of the lesson plan data, which describe the attributes of the lesson plan data, such as academic stage, subject, lesson plan type, etc.; the "content" field contains the text content of the lesson plan data, including teaching syllabus, teaching activities, reference materials, etc.; the "score" field is used to evaluate the quality of the lesson plan data, usually a numerical score; the "payloads" field can contain additional content of the lesson plan data, such as pictures, audio, video, etc.; the "payloadTags" field contains tags for the additional content of the lesson plan data, which is used to indicate the content and type of the lesson plan.

[0065] Step 103: pre-process the labeled teaching plan data to obtain standardized teaching plan data.

[0066] In step 103, the labeled data is pre-processed to obtain standardized lesson plan data for training the lesson plan generation model. In one embodiment, the pre-processing step may include data cleaning, text splitting, data standardization, data expansion, data set division, etc. In one embodiment, in the pre-processing process, the lesson plan data is divided into a training data set, a verification data set, and a test data set, and the subsequent lesson plan generation model training uses the training data set therein. The quality of the lesson plan data pre-processing directly affects the performance of the lesson plan generation model. Through a series of data pre-processing steps, the lesson plan generation model can be trained using standardized lesson plan data to achieve the best model training effect.

[0067] Step 104: Use the training data set in the standardized lesson plan data and the corresponding labels to formulate a targeted tuning training strategy for the lesson plan generation model, wherein the targeted tuning training strategy includes a series of lesson plan generation tasks.

[0068] In this embodiment, after obtaining standardized lesson plan data, a targeted tuning training strategy is formulated for the training of the lesson plan generation model using the training data set and the corresponding labels therein, and the targeted tuning training strategy includes a series of lesson plan generation tasks. In one embodiment, in the process of formulating the targeted tuning training strategy, parameters such as the lesson plan theme, subject, and applicable school stage in the training data set can be incorporated. The targeted tuning training strategy can utilize techniques such as curriculum learning to train the lesson plan generation model in a series of lesson plan generation tasks of increasing difficulty to improve its ability to generate lesson plans for different grades and subjects.

[0069] In a feasible embodiment, the directional tuning training strategy can divide the lesson plan generation tasks into different difficulty levels according to the difficulty of the grade and subject. For example, elementary school mathematics may be considered as a lower difficulty, while high school physics is considered as a higher difficulty. The directional tuning training strategy can specify that the model be trained from the simplest lesson plan generation task, and the difficulty of the lesson plan generation task is gradually increased, such as by gradually introducing more complex questions, more abstract concepts, or higher grade content. The directional tuning training strategy includes a series of task sets, each of which contains a set of lesson plan generation tasks of similar difficulty. The lesson plan generation model in training can enter the next higher difficulty task set after completing a task set. In a feasible embodiment, the difficulty of the next task set can also be dynamically adjusted according to the performance of the lesson plan generation model in the current difficulty level task set. If the lesson plan generation model performs well, the difficulty can be appropriately increased; if it performs poorly, the difficulty should be reduced or the current task set should be repeated. Through the above steps, the ability of the model to generate lesson plans for different grades and subjects can be effectively utilized, such as curriculum learning, to gradually improve the ability of the model to generate lesson plans for different grades and subjects. This embodiment not only helps the lesson plan generation model to better understand and apply subject knowledge, thereby generating educational lesson plans with higher applicability and practicality, but also improves the generalization ability and adaptability of the lesson plan generation model, enabling it to play a role in diverse teaching environments and generate personalized educational lesson plans.

[0070] Step 105: Use the directional tuning training strategy to perform migration training on the pre-trained model to obtain the trained lesson plan generation model.

[0071] In this embodiment, a pre-trained model is transferred using a developed directional tuning training strategy to obtain a trained lesson plan generation model. Transfer training utilizes the general language knowledge that has been learned by the pre-trained model and applies it to a specific lesson plan generation task. Using transfer training can significantly reduce the training time of the lesson plan generation model and the amount of lesson plan data required, while improving the performance of the lesson plan generation model in the educational lesson plan generation task.

[0072] In one embodiment, the pre-trained model can be the LLaMA2 open source language model. LLaMA2 (Large Language Model Meta AI 2) is an open source large-scale language model developed by Meta AI (formerly Facebook AI). It is the successor to the LLaMA series and aims to provide high-performance natural language processing (NLP, Natural Language Processing) capabilities. LLaMA2 is based on the Transformer architecture and is pre-trained on large-scale text data to enable the model to generate high-quality natural language text and can be used for tasks such as text classification, sentiment analysis, and machine translation. Using the LLaMA2 open source language model for further transfer learning can improve the lesson plan generation capability of the obtained lesson plan generation model.

[0073] Step 106: Input the lesson plan requirement description into the lesson plan generation model to generate a corresponding lesson plan.

[0074] In this embodiment, after obtaining a trained lesson plan generation model, the lesson plan requirement description such as grade and course can be input into the lesson plan generation model to generate a corresponding lesson plan.

[0075] In an embodiment of the present application, online and offline lesson plan data are collected; the lesson plan data are labeled according to the features to obtain labeled lesson plan data; the labeled lesson plan data are preprocessed to obtain standardized lesson plan data; the training data set in the standardized lesson plan data and the corresponding labels are used to formulate a directional tuning training strategy for the lesson plan generation model, and the directional tuning training strategy includes a series of lesson plan generation tasks; the directional tuning training strategy is used to perform migration training on the pre-trained model to obtain a trained lesson plan generation model; the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan. The embodiment of the present application uses the real lesson plan data collected online and offline to perform directional tuning training on the pre-trained model, and the trained lesson plan generation model obtained has higher applicability and practicality, and can generate lesson plans that meet the personalized education according to the lesson plan requirement description, which helps to optimize the education and teaching methods and improve the learning effect of students.

[0076] In an optional embodiment of the present application, the preprocessing of the labeled teaching plan data includes:

[0077] Using a natural language processing tool library to clean the labeled teaching plan data to obtain pre-processed teaching plan data, wherein the data cleaning includes removing duplicate data, invalid characters, and stagnant words;

[0078] Using the natural language processing tool library, and utilizing a word-based splitting method and a prefix-and-suffix-based splitting method, the pre-processed lesson plan data is subjected to text splitting to obtain lesson plan text data, wherein the lesson plan text data is text data obtained by splitting the pre-processed lesson plan data into minimum unit words;

[0079] Converting the teaching plan text data into a high-dimensional space vector to obtain vectorized teaching plan data;

[0080] Extracting data features from the vectorized teaching plan data to obtain a teaching plan data feature vector, wherein the data features include at least one or more of a sentiment score, a topic model, and a named entity;

[0081] Performing principal component analysis on the teaching plan text data and the teaching plan data feature vector to obtain the standardized teaching plan data;

[0082] The standardized teaching plan data is divided into the training data set, the verification data set and the test data set.

[0083] In this embodiment, the labeled lesson plan data is preprocessed. First, the labeled lesson plan data needs to be cleaned using a natural language processing tool library to remove duplicate data, invalid characters, stagnant words, etc., to obtain preprocessed lesson plan data, thereby improving the quality of the lesson plan data. In one embodiment, the NLTK (Natural Language Toolkit) tool library and the spaCy tool library in the python NLP library can be installed to preprocess the labeled lesson plan data, and duplicate data, invalid characters, stagnant words, etc. can be removed by programming language.

[0084] After data cleaning, the obtained pre-processed lesson plan data is subjected to text splitting using a natural language processing tool library, a word-based splitting method, and a prefix-and-suffix-based splitting method, so that the pre-processed lesson plan data is split into lesson plan text data of the smallest unit words, which significantly improves the accuracy, flexibility, and depth of subsequent lesson plan data processing. In one embodiment, the word_tokenize() function of the NLTK tool library or the tokenize() function of the spaCy tool library can be used to perform text splitting of the pre-processed lesson plan data.

[0085] Afterwards, data standardization is performed, the lesson plan text data is converted into a high-dimensional space vector, and vectorized lesson plan data is obtained. Data features such as sentiment rating, topic model and named entity are extracted from the vectorized lesson plan data, and the lesson plan data feature vector is obtained. Principal component analysis is performed according to the lesson plan text data and the lesson plan data feature vector to obtain standardized lesson plan data. Principal component analysis (PCA, Principal Component Analysis) technology is a linear dimensionality reduction technology, which achieves the purpose of reducing the number of features by performing singular value decomposition on the feature matrix. These steps can help convert the lesson plan text data into a format suitable for the lesson plan generation model to process, and extract features that help the lesson plan generation model to understand and predict. In one embodiment, the lesson plan text data can be converted into a high-dimensional space vector using technologies such as word bag, TF-IDF, Word2Vec method. Wherein, the Word2Vec method is a method of utilizing deep learning technology to convert words in text into high-dimensional space vectors, and to grasp the association between words through neural network training, which takes into account the order and context of words, and therefore has a strong representation ability.

[0086] After obtaining the standardized lesson plan data, the standardized lesson plan data is divided into three parts, namely, a training data set, a validation data set, and a test data set. The training data set is used to train the lesson plan generation model; the validation data set can be used to prevent overfitting and optimize the complexity of the lesson plan generation model; the test data set is used to finally evaluate the performance of the lesson plan generation model. Exemplarily, the training data set, the validation data set, and the test data set may account for 80%, 10%, and 10% of the standardized lesson plan data, respectively. The embodiment of the present application does not impose any restrictions on the specific division method, and those skilled in the art may set it as needed.

[0087] Since the quality of lesson plan data preprocessing directly affects the performance of the lesson plan generation model, through a series of data preprocessing steps, the lesson plan generation model can be trained using standardized lesson plan data to achieve the best model training effect.

[0088] In an optional embodiment of the present application, the structure of the lesson plan generation model includes: an encoder, a decoder, and a historical memory information module, the encoder is used to convert the standardized lesson plan data input into the lesson plan generation model into a computer internal representation vector, the historical memory information module is used to use a historical memory matrix to dynamically store the word vectors historically generated by the decoder, and the decoder is used to generate the word vector and the lesson plan text based on the computer internal representation vector output by the encoder and the historically generated word vector in the historical memory matrix.

[0089] The lesson plan generation model in the embodiment of the present application includes an encoder and a decoder. Wherein the encoder can be used to encode the standardized lesson plan data of input into a computer internal representation vector, and the decoder uses a long short-term memory network and an attention mechanism to generate a word vector and text according to the computer internal representation vector. The main task of the encoder is to process the standardized lesson plan data of the input and convert it into a kind of computer internal representation (commonly referred to as a context vector or a feature vector). The task of the decoder is to receive the output of the encoder and generate a target output text sequence based on this. The interaction between the encoder-decoder architecture is usually realized by an attention mechanism, particularly in a model based on Transformer. The attention mechanism allows the decoder to pay attention to (i.e. give more attention to) different parts in the input sequence as needed when generating each new element. This can effectively handle long-distance dependency problems and improve the quality and accuracy of text generation in the education lesson plan. In an optional embodiment, the lesson plan generation model in the embodiment of the present application can use an LSTM (Long Short-Term Memory Network, LongShort-Term Memory) encoder-decoder architecture, and LSTM can effectively keep information in the processing of long sequences by introducing an input gate, a forget gate, and an output gate, which is more conducive to the training of the lesson plan generation model.

[0090] The teaching plan generation model in the embodiment of the present application also includes a historical memory information module, which dynamically stores the word vectors generated by the decoder through a historical memory matrix, and the global historical memory vector can be obtained according to the word vectors generated by the decoder in the historical memory matrix. The global historical memory vector generally refers to the context vector generated by the encoder after processing the entire input sequence, which contains the semantic information of the input sequence. The global historical memory vector can be passed to the decoder to help the decoder generate an output sequence related to the input sequence, thereby improving the quality of the educational teaching plan generated by the teaching plan generation model.

[0091] In an optional embodiment of the present application, the structure of the teaching plan generation model further includes:

[0092] A multi-topic classifier, used to distinguish between teaching plans with different topics, and to distinguish between the teaching plans generated by the model and the training data set in the standardized teaching plan data;

[0093] An adversarial neural network is used to perform adversarial training according to the classification results output by the multi-topic classifier to generate a teaching plan text that conforms to the training data set in the standardized teaching plan data and the relevance of the teaching plan topic;

[0094] A reinforcement learning generator is used to determine a strategy for generating the lesson plan text, and to train the generator in the adversarial neural network according to the strategy for generating the lesson plan text.

[0095] In an embodiment of the present application, the structure of the teaching plan generation model may also include a reinforcement learning generator, a multi-topic classifier, and an adversarial neural network.

[0096] Among them, the multi-topic classifier can perform text classification through a convolutional neural network and a Highway network, and is used in the embodiment of the present application to distinguish between lesson plans with different topics, as well as to distinguish between the lesson plans generated by the model and the training data sets in the standardized lesson plan data. The training process of the multi-topic classifier adopts a cross-entropy loss function. In an optional embodiment, the multi-topic classifier can be trained according to the following steps. First, it is necessary to build a multi-topic classifier, input the lesson plans generated by the model and the training data sets in the standardized lesson plan data, use the convolution layer, the pooling layer, and the Highway network to obtain the feature vector, construct a text sequence vector, obtain features through the convolution kernel, and finally use the cross-entropy loss function to measure the performance of the multi-topic classifier.

[0097] The adversarial neural network is used to perform adversarial training based on the classification results output by the multi-topic classifier, thereby generating a teaching plan text that conforms to the training data set in the standardized teaching plan data and the relevance of the teaching plan topic. In one embodiment, the generator and the discriminator of the adversarial neural network interact with each other, the generator generates the teaching plan text that conforms to the training data set in the standardized teaching plan data and the relevance of the teaching plan topic, and the discriminator recognizes the generated teaching plan text and guides the generator to evolve.

[0098] The reinforcement learning generator can regard the text generation of educational lesson plans as the process of training an agent to learn the optimal policy through interaction with the environment in an educational environment. The reinforcement learning generator is used to determine the strategy for generating lesson plan texts and train the generator in the adversarial neural network according to the strategy for generating lesson plan texts.

[0099] In the embodiments of the present application, a teaching plan generation model is constructed by making full use of a multi-topic classifier, a reinforcement learning generator and an adversarial neural network to achieve a better teaching plan text generation effect.

[0100] In an optional embodiment of the present application, after obtaining the trained teaching plan generation model, the method further includes:

[0101] Evaluate the performance quality of the lesson plan generated by the lesson plan generation model according to a preset indicator, or,

[0102] The performance quality of the lesson plans generated by the lesson plan generation model is manually evaluated.

[0103] In this embodiment, after obtaining the trained lesson plan generation model, it is necessary to evaluate the performance of the lesson plan generation model before putting the lesson plan generation model into use. Specifically, the performance quality of the lesson plan of the lesson plan generation model is evaluated according to preset indicators, or the performance quality of the lesson plan generated by the lesson plan generation model is evaluated manually. In an optional embodiment, the preset indicator evaluation mainly evaluates the lesson plan language output performance of the lesson plan generation model from indicators such as relevance, accuracy, completeness and coherence; the manual evaluation can be performed by professional normal school graduates, students and teachers, and the lesson plans output by the lesson plan generation model are scored from the aspect of lesson plan quality.

[0104] The embodiment of the present application can more accurately evaluate the performance of the lesson plan generation model and guide further optimization of the lesson plan generation model by evaluating the performance quality of the lesson plan generated by the lesson plan generation model through preset indicators and manual methods.

[0105] In an optional embodiment of the present application, the method further includes:

[0106] If the teaching plan generation model passes the preset indicator evaluation and the manual evaluation, the teaching plan generation model is publicly deployed to the teaching plan generation platform;

[0107] The lesson plan requirement description is input into the lesson plan generation platform. After the lesson plan generation platform starts the lesson plan generation model, the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan.

[0108] In this embodiment, a lesson plan generation platform can be set up in advance. After the lesson plan generation model passes the preset indicator evaluation and manual evaluation, the lesson plan generation model is publicly deployed to the lesson plan generation platform. Teachers can input the lesson plan requirement description such as grade and course in the lesson plan generation platform according to their own needs. The lesson plan generation platform can respond to the operation of inputting the lesson plan requirement description, start the lesson plan generation model and input the lesson plan requirement description input by the teacher into the lesson plan generation model, thereby generating the corresponding lesson plan.

[0109] The embodiment of the present application can facilitate teachers to use the lesson plan generation model by setting up a lesson plan generation platform. Teachers only need to input a lesson plan requirement description to obtain the required lesson plan automatically generated.

[0110] In an optional embodiment of the present application, after obtaining the standardized teaching plan data, the method further includes:

[0111] Using paraphrase, synonym replacement or random insertion of typos in the standardized teaching plan data to obtain expanded standardized teaching plan data;

[0112] The expanded and standardized teaching plan data are used as the standardized teaching plan data.

[0113] In this embodiment, the standardized lesson plan data can also be expanded. After using paraphrase, synonym replacement or random insertion of typos in the standardized lesson plan data to obtain expanded standardized lesson plan data, the expanded standardized lesson plan data is used as standardized lesson plan data. By expanding the standardized lesson plan data, it can help increase the diversity of the lesson plan data, improve the generalization ability of the lesson plan generation model, and prevent the overfitting of the model.

[0114] In an embodiment of the present application, online and offline lesson plan data are collected; the lesson plan data are labeled according to the features to obtain labeled lesson plan data; the labeled lesson plan data are preprocessed to obtain standardized lesson plan data; the training data set in the standardized lesson plan data and the corresponding labels are used to formulate a directional tuning training strategy for the lesson plan generation model, and the directional tuning training strategy includes a series of lesson plan generation tasks; the directional tuning training strategy is used to perform migration training on the pre-trained model to obtain a trained lesson plan generation model; the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan. The embodiment of the present application uses the real lesson plan data collected online and offline to perform directional tuning training on the pre-trained model, and the trained lesson plan generation model obtained has higher applicability and practicality, and can generate lesson plans that meet the personalized education according to the lesson plan requirement description, which helps to optimize the education and teaching methods and improve the learning effect of students.

[0115] The following will combine Figure 2 A step diagram of another educational lesson plan generation method embodiment of the present application is provided, which describes the specific process of an educational lesson plan generation method of an embodiment of the present application so that those skilled in the art can better understand the technical solution of an educational lesson plan generation method of the present application.

[0116] Reference Figure 2 , showing a schematic diagram of the steps of another embodiment of an educational lesson plan generation method of the present application.

[0117] First, we collect online and offline teaching plan data, clean and preprocess the teaching plan data, build a training data set, and use the training data set to train the pre-trained model. The pre-trained model includes encoders, decoders, historical memory information modules, as well as reinforcement learning generators, multi-topic classifiers, adversarial neural networks and other structures. After training, the teaching plan generation model is tested and evaluated, and finally deployed to a user-friendly platform, allowing teachers to input their requirements and generate customized teaching plans.

[0118] In an embodiment of the present application, online and offline lesson plan data are collected; the lesson plan data are labeled according to the features to obtain labeled lesson plan data; the labeled lesson plan data are preprocessed to obtain standardized lesson plan data; the training data set in the standardized lesson plan data and the corresponding labels are used to formulate a directional tuning training strategy for the lesson plan generation model, and the directional tuning training strategy includes a series of lesson plan generation tasks; the directional tuning training strategy is used to perform migration training on the pre-trained model to obtain a trained lesson plan generation model; the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan. The embodiment of the present application uses the real lesson plan data collected online and offline to perform directional tuning training on the pre-trained model, and the trained lesson plan generation model obtained has higher applicability and practicality, and can generate lesson plans that meet the personalized education according to the lesson plan requirement description, which helps to optimize the education and teaching methods and improve the learning effect of students.

[0119] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0120] On the basis of the above-mentioned embodiments, this embodiment further provides an educational lesson plan generating device, which is applied to electronic devices such as terminal devices and servers.

[0121] Reference Figure 3 , shows a structural block diagram of an embodiment of an educational lesson plan generation device of the present application, which may specifically include the following modules:

[0122] The data collection module 301 is used to collect online and offline teaching plan data;

[0123] The data labeling module 302 is used to label the teaching plan data according to the features to obtain labeled teaching plan data;

[0124] The data preprocessing module 303 is used to preprocess the labeled teaching plan data to obtain standardized teaching plan data;

[0125] A training strategy generation module 304 is used to use the training data set in the standardized teaching plan data and the corresponding labels to formulate a directional tuning training strategy for the teaching plan generation model, wherein the directional tuning training strategy includes a series of teaching plan generation tasks;

[0126] The transfer training module 305 is used to perform transfer training on the pre-trained model by adopting the directional tuning training strategy to obtain the lesson plan generation model that has been trained;

[0127] The lesson plan generation module 306 is used to input the lesson plan requirement description into the lesson plan generation model to generate a corresponding lesson plan.

[0128] In an optional embodiment of the present application, the data preprocessing module 303 further includes:

[0129] A data cleaning submodule is used to clean the labeled teaching plan data using a natural language processing tool library to obtain pre-processed teaching plan data, wherein the data cleaning includes removing duplicate data, invalid characters, and stagnant words;

[0130] A text splitting submodule is used to use the natural language processing tool library and utilize a word-based splitting method and a prefix and suffix-based splitting method to perform text splitting on the pre-processed teaching plan data to obtain teaching plan text data, wherein the teaching plan text data is text data obtained by splitting the pre-processed teaching plan data into the smallest unit words;

[0131] A vectorization submodule, used for converting the teaching plan text data into a high-dimensional space vector to obtain vectorized teaching plan data;

[0132] A feature extraction submodule, used to extract data features from the vectorized teaching plan data to obtain a teaching plan data feature vector, wherein the data features include at least one or more of sentiment score, topic model and named entity;

[0133] A principal component analysis submodule, used for performing principal component analysis on the teaching plan text data and the teaching plan data feature vector to obtain the standardized teaching plan data;

[0134] The data division submodule is used to divide the standardized teaching plan data into the training data set, the verification data set and the test data set.

[0135] In an optional embodiment of the present application, the structure of the lesson plan generation model includes: an encoder, a decoder, and a historical memory information module, the encoder is used to convert the standardized lesson plan data input into the lesson plan generation model into a computer internal representation vector, the historical memory information module is used to use a historical memory matrix to dynamically store the word vectors historically generated by the decoder, and the decoder is used to generate the word vector and the lesson plan text based on the computer internal representation vector output by the encoder and the historically generated word vector in the historical memory matrix.

[0136] In an optional embodiment of the present application, the structure of the teaching plan generation model further includes:

[0137] A multi-topic classifier, used to distinguish between teaching plans with different topics, and to distinguish between the teaching plans generated by the model and the training data set in the standardized teaching plan data;

[0138] An adversarial neural network is used to perform adversarial training according to the classification results output by the multi-topic classifier to generate a teaching plan text that conforms to the training data set in the standardized teaching plan data and the relevance of the teaching plan topic;

[0139] A reinforcement learning generator is used to determine a strategy for generating the lesson plan text, and to train the generator in the adversarial neural network according to the strategy for generating the lesson plan text.

[0140] In an optional embodiment of the present application, the device further includes:

[0141] A model performance evaluation module is used to evaluate the performance quality of the lesson plan of the lesson plan generation model according to preset indicators, or,

[0142] The performance quality of the lesson plans generated by the lesson plan generation model is manually evaluated.

[0143] In an optional embodiment of the present application, the device further includes:

[0144] A model deployment module, used for publicly deploying the lesson plan generation model to a lesson plan generation platform if the lesson plan generation model passes the preset indicator evaluation and the manual evaluation;

[0145] The lesson plan generation platform module is used to input the lesson plan requirement description into the lesson plan generation platform. After the lesson plan generation platform starts the lesson plan generation model, the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan.

[0146] In an optional embodiment of the present application, the device further includes:

[0147] A data expansion module, used for using paraphrase, synonym replacement or random insertion of typos in the standardized teaching plan data to obtain expanded standardized teaching plan data;

[0148] The expanded standardized teaching plan module is used to use the expanded standardized teaching plan data as the standardized teaching plan data.

[0149] In an embodiment of the present application, online and offline lesson plan data are collected; the lesson plan data are labeled according to the features to obtain labeled lesson plan data; the labeled lesson plan data are preprocessed to obtain standardized lesson plan data; the training data set in the standardized lesson plan data and the corresponding labels are used to formulate a directional tuning training strategy for the lesson plan generation model, and the directional tuning training strategy includes a series of lesson plan generation tasks; the directional tuning training strategy is used to perform migration training on the pre-trained model to obtain a trained lesson plan generation model; the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan. The embodiment of the present application uses the real lesson plan data collected online and offline to perform directional tuning training on the pre-trained model, and the trained lesson plan generation model obtained has higher applicability and practicality, and can generate lesson plans that meet the personalized education according to the lesson plan requirement description, which helps to optimize the education and teaching methods and improve the learning effect of students.

[0150] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.

[0151] The present application embodiment provides one or more machine-readable media on which instructions are stored, and when executed by one or more processors, an electronic device executes one or more of the methods described in the above embodiments. In the present application embodiment, the electronic device includes various types of devices such as terminal devices and servers (clusters).

[0152] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as terminal devices and servers (clusters). Figure 4 An exemplary apparatus 400 that may be used to implement various embodiments described in this application is schematically illustrated.

[0153] For one embodiment, Figure 4 An exemplary apparatus 400 is shown having one or more processors 402, a control module (chip set) 404 coupled to at least one of the processor(s) 402, a memory 406 coupled to the control module 404, a non-volatile memory (NVM) / storage device 408 coupled to the control module 404, one or more input / output devices 410 coupled to the control module 404, and a network interface 412 coupled to the control module 404.

[0154] The processor 402 may include one or more single-core or multi-core processors, and the processor 402 may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 400 can be used as a terminal device, server (cluster), or other device described in the embodiments of the present application.

[0155] In some embodiments, the apparatus 400 may include one or more computer-readable media (e.g., memory 406 or NVM / storage device 408) having instructions 414 and one or more processors 402 combined with the one or more computer-readable media and configured to execute the instructions 414 to implement a module to perform the actions described in the present disclosure.

[0156] For one embodiment, control module 404 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 402 and / or any suitable device or component in communication with control module 404 .

[0157] The control module 404 may include a memory controller module to provide an interface to the memory 406. The memory controller module may be a hardware module, a software module, and / or a firmware module.

[0158] The memory 406 may be used, for example, to load and store data and / or instructions 414 for the device 400. For one embodiment, the memory 406 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 406 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).

[0159] For one embodiment, control module 404 may include one or more input / output controllers to provide interfaces to NVM / storage device 408 and input / output device(s) 410 .

[0160] For example, NVM / storage 408 may be used to store data and / or instructions 414. NVM / storage 408 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).

[0161] NVM / storage device 408 may include storage resources that are physically part of the device on which apparatus 400 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 408 may be accessed via input / output device(s) 410 over a network.

[0162] (One or more) input / output devices 410 may provide an interface for the apparatus 400 to communicate with any other appropriate device, and the input / output device 410 may include a communication component, an audio component, a sensor component, etc. The network interface 412 may provide an interface for the apparatus 400 to communicate through one or more networks, and the apparatus 400 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, accessing a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.

[0163] For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 404. For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers of the control module 404 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404. For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404 to form a system-on-chip (SoC).

[0164] In various embodiments, the device 400 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 400 may have more or fewer components and / or different architectures. For example, in some embodiments, the device 400 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.

[0165] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in a memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.

[0166] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0167] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0168] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable educational lesson plan generation terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable educational lesson plan generation terminal device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0169] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable educational teaching plan generating terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0170] These computer program instructions can also be loaded onto a computer or other programmable educational lesson plan generating terminal device, so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable terminal device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0171] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0172] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0173] The above is a detailed introduction to an educational lesson plan generation method and device, an electronic device and a storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for generating an educational lesson plan, characterized in that: The method comprises: Collect online and offline teaching plan data; Labeling the teaching plan data according to the features to obtain labeled teaching plan data; Preprocessing the labeled teaching plan data to obtain standardized teaching plan data; Using the training data set in the standardized teaching plan data and the corresponding labels, a directional tuning training strategy for the teaching plan generation model is formulated, wherein the directional tuning training strategy includes a series of teaching plan generation tasks; The directional tuning training strategy is used to perform migration training on the pre-trained model to obtain the trained teaching plan generation model; The lesson plan requirement description is input into the lesson plan generation model to generate a corresponding lesson plan.

2. The method according to claim 1, characterized in that The preprocessing of the labeled teaching plan data includes: Using a natural language processing tool library to clean the labeled teaching plan data to obtain pre-processed teaching plan data, wherein the data cleaning includes removing duplicate data, invalid characters, and stagnant words; Using the natural language processing tool library, and utilizing a word-based splitting method and a prefix-and-suffix-based splitting method, the pre-processed lesson plan data is subjected to text splitting to obtain lesson plan text data, wherein the lesson plan text data is text data obtained by splitting the pre-processed lesson plan data into minimum unit words; Converting the teaching plan text data into a high-dimensional space vector to obtain vectorized teaching plan data; Extracting data features from the vectorized teaching plan data to obtain a teaching plan data feature vector, wherein the data features include at least one or more of a sentiment score, a topic model, and a named entity; Performing principal component analysis on the teaching plan text data and the teaching plan data feature vector to obtain the standardized teaching plan data; The standardized teaching plan data is divided into the training data set, the verification data set and the test data set.

3. The method according to claim 1, characterized in that The structure of the lesson plan generation model includes: an encoder, a decoder, and a historical memory information module. The encoder is used to convert the standardized lesson plan data input into the lesson plan generation model into a computer internal representation vector. The historical memory information module is used to dynamically store the word vectors historically generated by the decoder using a historical memory matrix. The decoder is used to generate the word vectors and lesson plan text based on the computer internal representation vectors output by the encoder and the historically generated word vectors in the historical memory matrix.

4. The method according to claim 3, characterized in that The structure of the teaching plan generation model also includes: A multi-topic classifier, used to distinguish between teaching plans with different topics, and to distinguish between the teaching plans generated by the model and the training data set in the standardized teaching plan data; An adversarial neural network, used for performing adversarial training according to the classification results output by the multi-topic classifier, and generating a teaching plan text that conforms to the training data set in the standardized teaching plan data and the relevance of the teaching plan topic; A reinforcement learning generator is used to determine a strategy for generating the lesson plan text, and to train the generator in the adversarial neural network according to the strategy for generating the lesson plan text.

5. The method according to claim 1, characterized in that After obtaining the trained teaching plan generation model, the method further includes: Evaluate the performance quality of the lesson plan generated by the lesson plan generation model according to a preset indicator, or, The performance quality of the lesson plans generated by the lesson plan generation model is manually evaluated.

6. The method according to claim 5, characterized in that The method further comprises: If the teaching plan generation model passes the preset indicator evaluation and the manual evaluation, the teaching plan generation model is publicly deployed to the teaching plan generation platform; The lesson plan requirement description is input into the lesson plan generation platform. After the lesson plan generation platform starts the lesson plan generation model, the lesson plan requirement description is input into the lesson plan generation model to generate the corresponding lesson plan.

7. The method according to claim 2, characterized in that After obtaining the standardized teaching plan data, the method further includes: Using paraphrase, synonym replacement or random insertion of typos in the standardized teaching plan data to obtain expanded standardized teaching plan data; The expanded and standardized teaching plan data are used as the standardized teaching plan data.

8. An educational lesson plan generating device, characterized in that: The device comprises: Data collection module, used to collect online and offline teaching plan data; A data labeling module, used to label the teaching plan data according to the features to obtain labeled teaching plan data; A data preprocessing module, used for preprocessing the labeled teaching plan data to obtain standardized teaching plan data; A training strategy generation module, used to use the training data set in the standardized teaching plan data and the corresponding labels to formulate a directional tuning training strategy for the teaching plan generation model, wherein the directional tuning training strategy includes a series of teaching plan generation tasks; A transfer training module, used to perform transfer training on the pre-trained model using the directional tuning training strategy to obtain the lesson plan generation model that has been trained; The lesson plan generation module is used to input the lesson plan requirement description into the lesson plan generation model to generate the corresponding lesson plan.

9. An electronic device, characterized in that: include: processor; and A memory having executable codes stored thereon, which, when executed, causes the processor to execute the educational lesson plan generation method as described in one or more of claims 1-7.

10. One or more machine-readable media having executable codes stored thereon, which, when executed, cause a processor to execute the educational lesson plan generation method as described in one or more of claims 1-7.