Input content processing method and system, intelligent terminal, and computer-readable storage medium

By calculating and smoothing the proportional coefficients of the input text length and the maximum length of the AI ​​model, determining the intercept length and intercepting the input content, the operation errors and inefficiency caused by ultra-long input text in the AI ​​model are solved, and the model's efficiency in obtaining input information and the reliability of the interception process is improved.

CN119740560AInactive Publication Date: 2025-04-01AIJI MICRO CONSULTING (XIAMEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411839471.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-06-25
Filing Date
2024-12-13
Publication Date
2025-04-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the AI ​​model, when the text length entered by the user exceeds the maximum length supported by the model, the model cannot run correctly, making it difficult for users to know the reason for the error. In traditional solutions, the specified length is intercepted multiple times, resulting in low efficiency in obtaining input information.

Method used

By calculating the scale coefficients of the input text length and the maximum length supported by the model, and smoothing it, determining the intercept length, intercepting the input content, and obtaining the retained content to enter the model as a new input content.

Benefits of technology

The efficiency of input content processing is improved, allowing the model to obtain input information more efficiently and maintain stability and reliability during the interception process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119740560A_ABST
    Figure CN119740560A_ABST
Patent Text Reader

Abstract

The present application discloses an input content processing method and system, an intelligent terminal, and a computer-readable storage medium. The input content processing method includes: when the input text length of the input content is greater than the longest input length supported by the set model, obtaining the input text length of the input content; calculating a proportionality coefficient according to the input text length and the longest input length, the proportionality coefficient is used to characterize the extent to which the input text length exceeds the longest input length; smoothing the proportionality coefficient to obtain a smoothing interception parameter; determining an interception length according to the smoothing interception parameter; intercepting the input content according to the interception length to obtain retained content. The present application can improve the efficiency of intercepting or cutting input content according to the interception length, thereby improving the efficiency of the set model in obtaining input information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on June 25, 2024, with application number CN202410830084.5 and application name “Input content processing method and system, smart terminal, computer-readable storage medium”, all contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of artificial intelligence technology, and specifically to an input content processing method and system, an intelligent terminal, and a computer-readable storage medium. Background Art

[0003] With the rapid development of artificial intelligence (AI) technology, large models such as AI models have been widely used in various application scenarios. In some application scenarios, users often need to input text into the set model so that the set model can obtain the corresponding text and respond to the corresponding user needs. Usually, different large models have the longest input length they support. If the length of the text input by the user exceeds the maximum length supported by the large model, the large model cannot run correctly, and the user needs to shorten the length of the input text. In the traditional solution, when the length of the text recognized by the large model exceeds the longest input length it supports, the large model may report an error but do not perform other processing. This mechanism makes it difficult for users to know the cause of the error; the large model may also intercept the specified length multiple times until it meets the input conditions of the large model, and then obtain the content that meets the input conditions. This mechanism easily leads to low efficiency in obtaining input information. Summary of the invention

[0004] In view of this, the present application provides an input content processing method and system, a smart terminal, and a computer-readable storage medium to improve the efficiency of processing input content.

[0005] The present application provides an input content processing method, comprising the following steps:

[0006] When the input text length of the input content is greater than the longest input length supported by the set model, obtaining the input text length of the input content;

[0007] Calculating a proportionality coefficient according to the input text length and the longest input length, the proportionality coefficient being used to characterize the extent to which the input text length exceeds the longest input length;

[0008] Smoothing the proportional coefficient to obtain a smoothing interception parameter;

[0009] Determine the interception length according to the smooth interception parameter;

[0010] The input content is intercepted according to the interception length to obtain retained content.

[0011] Optionally, the input content processing method also includes: inputting the retained content as new input content into the set model; if the set model outputs a prompt message, returning to execute the process of obtaining the input text length of the input content until the set model recognizes the input content, and the prompt message is used to characterize that the input text length of the input content is greater than the longest input length.

[0012] Optionally, the calculation formula of the proportionality coefficient includes: w=x / a-1, where w represents the proportionality coefficient, x represents the input text length, and a represents the longest input length.

[0013] Optionally, the calculation formula of the smoothing interception parameter includes: Where C represents the smoothing intercept parameter.

[0014] Optionally, the calculation formula for the interception length includes: L=C(xa), where L represents the interception length.

[0015] Optionally, the calculation formula for the length of the retained content includes: x'=xL, where x' represents the length of the retained content.

[0016] Optionally, the input text length includes the number of characters of the input content.

[0017] The present application also provides an input content processing system, comprising:

[0018] An acquisition module, used for acquiring the input text length of the input content when the input text length of the input content is greater than the longest input length supported by the set model;

[0019] A calculation module, used for calculating a proportionality coefficient according to the input text length and the longest input length, wherein the proportionality coefficient is used to characterize the extent to which the input text length exceeds the longest input length;

[0020] A smoothing processing module, used for smoothing the proportional coefficient to obtain a smoothing interception parameter;

[0021] A first determining module, used to determine the interception length according to the smooth interception parameter;

[0022] The second determining module is used to intercept the input content according to the interception length to obtain the retained content.

[0023] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein the memory stores an input content processing program, and when the input content processing program is executed by the processor, the steps of any one of the above input content processing methods are implemented.

[0024] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above input content processing methods are implemented.

[0025] The input content processing method and system, intelligent terminal, and computer-readable storage medium of the present application obtain the input text length of the input content when the input text length of the input content is greater than the longest input length supported by the set model, calculate the proportional coefficient according to the input text length and the longest input length, smooth the proportional coefficient to obtain a smoothing interception parameter, and determine the interception length according to the smoothing interception parameter. The interception length can make the longer the input text length, the longer the interception length, and the shorter the input text length, the shorter the interception length. The efficiency of intercepting or cutting the input content according to the interception length can be improved, thereby improving the efficiency of the set model in obtaining input information, and can also make the interception process smoother, which can improve the reliability of the interception process. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0027] Figure 1 It is a flowchart of an input content processing method according to an embodiment of the present application;

[0028] Figure 2 is a schematic diagram of smoothing interception parameter changes in an embodiment of the present application;

[0029] Figure 3 This is a schematic diagram of the change of the interception length according to an embodiment of the present application;

[0030] Figure 4 is a schematic diagram of the length change after input contents of different input lengths are intercepted in one embodiment of the present application;

[0031] Figure 5 It is a schematic diagram of the structure of an input content processing system according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] The technical solutions in the embodiments of the present application are clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In the absence of conflict, the following embodiments and their technical features can be combined with each other.

[0033] The first aspect of the present application provides an input content processing method, which can be executed by an intelligent terminal for determining large model input content. Figure 1 As shown, the above-mentioned input content processing method includes the following steps S110 to S150.

[0034] S110, when the input text length of the input content is greater than the longest input length supported by the set model, obtaining the input text length of the input content.

[0035] The above-mentioned setting model is an AI large model. When processing problems, the setting model has certain restrictions on the length of the input text. For such problem scenarios, this application quickly and dynamically intercepts the ultra-long input content during the training and reasoning process of the setting model until the input text length that the setting model can receive is obtained. The above-mentioned setting model can be a large model related to the ICT industry (communications, semiconductors, new energy vehicles, artificial intelligence, etc.) or other industries. For example, the above-mentioned setting model can be JiweiGPT, a vertical large model focusing on the ICT industry, which is used to solve knowledge questions and answers and other related problems in the ICT industry.

[0036] Optionally, the training process of the model is set to include:

[0037] 1. Pretraining: that is, using multiple unlabeled data to train the initial model to obtain a pretrained model. The unlabeled data used to train the initial model is text data, which can also be called unlabeled text data.

[0038] The pre-training phase is the starting point for large model training. It is mainly trained on a large amount of unlabeled data, with the goal of allowing the model to learn basic language representation and knowledge. Common methods at this stage include autoregressive language models (such as the GPT series) and autoencoders. By training on a large-scale corpus, the model can understand the grammar, semantics, and contextual information of the language.

[0039] 2. Supervised Fine-tuning (SFT): Train the pre-trained model based on the labeled data of the specific task to achieve model fine-tuning.

[0040] The process of training a pre-trained model for a specific task is called fine-tuning. In this stage, the model is trained based on the labeled data of the specific task so that the model can better adapt to the needs of the specific task. Through fine-tuning, the model can learn some semantic information and features of the specific task, thereby improving the performance of the task.

[0041] 3. Reward Modeling: Train the fine-tuned model based on user feedback to obtain a reward model.

[0042] This phase involves training a reward model that is able to evaluate the quality of the model’s output. Typically, this reward model is trained based on user feedback to ensure that the model’s output is consistent with human expectations.

[0043] 4. Reinforcement Learning (RL): Further fine-tune the reward model through reinforcement learning methods.

[0044] At this stage, the model is further fine-tuned through reinforcement learning methods to optimize its performance on a specific task. This process involves reward signals from the model’s output, based on which the model adjusts its parameters to produce better outputs.

[0045] 5. Data preparation: Determine the dataset to be used for training.

[0046] Before training, text data collection, cleaning, preprocessing and feature engineering are required to ensure the quality and representativeness of the final text data. In the process of preprocessing text data, due to the limitation of the model on the length of the input text of the input content, it is necessary to use the data interception method provided in the embodiment of the present application to intercept the data.

[0047] 6. Model selection and training.

[0048] Select a suitable model architecture (such as a fine-tuned reward model) and train it using the prepared text dataset. This process includes defining the algorithm formula, loss function, optimizer, and iterative training to minimize the loss.

[0049] 7. Model evaluation.

[0050] Use a test set or validation set of text data to evaluate the performance of the model, and adjust the model parameters or structure based on the evaluation results to optimize the performance.

[0051] 8. Model saving and loading.

[0052] After training is complete, the model is saved to the specified file for future use. When needed, the model can be loaded from the specified file for prediction or further training.

[0053] The reasoning process of a set model such as a large language model can be divided into several key steps. The following is a summary of the reasoning process based on search results:

[0054] 1. Tokenization: The input content (such as input text) is first converted into a sequence of numbers by a tokenizer, and these numbers represent the index number of the word in the vocabulary. In this process, the interception method provided by the present application is used to intercept the input content.

[0055] 2. Vector Embedding: The digital sequence is converted into high-dimensional vectors through the embedding layer. These vectors can capture the semantic information of words.

[0056] 3. Decoder Operation: These vectors are passed through the decoder for complex reasoning operations to generate the numeric index of the next word. This process is repeated until the entire index sequence is generated.

[0057] 4. Autoregressive Decoding: The decoding process uses autoregressive method to generate output sequence word by word. Each time input is given, the model will carry the result of the previous output. For example, the first word generated will be used as the input for generating the second word.

[0058] 5. Stacked Decoder Layers: A multi-layer decoder stacking structure is used. The calculation model of each layer is the same but the parameter matrix is ​​different. The purpose is to gradually extract and transform the input features from different levels. The generation of each token (word segmentation) must be calculated step by step through all layers, and the calculation result will be more accurate after each layer.

[0059] 6. Attention Computation: During the decoding phase, attention weights are calculated using the query vector (Q), key vector (K), and value vector (V), which allows the model to consider the contextual information of the entire input sequence when generating each token.

[0060] 7. Context Fusion: Multiply the attention weight by the V vector to obtain the weighted context vector.

[0061] 8. Feed-Forward Neural Network Processing: Perform nonlinear transformation on the context vector to generate the final output vector.

[0062] 9. Sampling or Deterministic Selection: Generate the next token based on the output vector.

[0063] 10. Output: Finally, a tokenizer is used to convert the generated digital sequence into natural language that can be understood by humans.

[0064] Through the above-mentioned training and reasoning process, the creation of the above-mentioned setting model is completed. At this time, the input content can be input into the setting model. When the input text length of the input content is greater than the longest input length supported by the setting model, the setting model can output a prompt message to characterize that the input text length of the input content is greater than its longest input length. At this time, it can be determined that the input text length of the input content is greater than the longest input length supported by the setting model.

[0065] Optionally, the input text length may include the number of characters of the input content. Here, characters refer to words, including punctuation marks; the number of characters refers to the number of characters, for example, the number of characters in the sentence "How are you?" is 4. Optionally, the unit of the longest input length used to calculate parameters such as the scale factor may be a unit such as a character that is consistent with the input text length, which may be set according to the relevant features of the corresponding setting model, for example, set to a value such as 3000.

[0066] Optionally, the model is set to usually use token as a word segmentation unit to measure the length of the relevant text or the longest input length it supports. That is to say, after the model is set to obtain the input content, it can identify the input text length of the input content based on the token as a word segmentation unit, and its internal preset longest input length can also be set based on the token as a word segmentation unit, so as to compare and analyze the input text length with the longest input length it supports. When the input text length is less than or equal to the longest input length it supports, the corresponding input content is directly identified. When the input text length is greater than the longest input length it supports, a prompt message is output to indicate that the input text length of the input content is greater than the longest input length. Token means word segmentation of text, and each word is a token. Different models may have different word segmentation methods.

[0067] S120, calculating a proportionality coefficient according to the input text length and the longest input length, the proportionality coefficient being used to characterize the extent to which the input text length exceeds the longest input length. Specifically, the proportionality coefficient may be calculated in a proportional calculation form such as division to eliminate the influence of the unit on the calculated proportionality coefficient.

[0068] In one example, the calculation formula of the proportionality coefficient includes: w=x / a-1, where w represents the proportionality coefficient, x represents the input text length, and a represents the maximum input length. The calculation formula of the proportionality coefficient provided in this example can eliminate the influence of the length measurement unit on the obtained proportionality coefficient, which helps to more accurately calculate the degree to which the input text length exceeds the maximum input length.

[0069] S130, smoothing the proportional coefficient to obtain a smoothing interception parameter, and using the smoothing interception parameter to intercept or process the input content can avoid jumping and the like, and can improve the stability and reliability of the input content processing process.

[0070] In one example, the calculation formula of the smoothing interception parameter includes: Where C represents the smooth interception parameter. By using the calculation formula of the smooth interception parameter provided in this example to smooth the proportional coefficient, the value range of the smooth interception parameter can be between [0,1). Specifically, refer to Figure 2 As shown, Figure 2 The horizontal axis represents the proportional coefficient w, and the vertical axis represents the smoothing interception parameter C. Figure 2 It shows that the larger the proportional coefficient w is, the closer the smooth interception parameter C is to 1, and the longer the length of the subsequent interception of the input content is; the smaller the proportional coefficient w is, the closer the smooth interception parameter C is to 0, and the shorter the length of the subsequent interception of the input content is. This feature of the smooth interception parameter C can both ensure the efficiency of interception and improve the accuracy of the interception operation.

[0071] S140, determining a clipping length according to the smooth clipping parameter, where the clipping length is used to represent the length of the content to be clipped for the current input content.

[0072] In one example, the calculation formula of the interception length includes: L=C(xa), where x represents the input text length, a represents the longest input length, C represents the smooth interception parameter, and L represents the interception length. The calculation formula of the interception length provided in this example can make the interception length L longer when the input text length x is longer, and the interception length L shorter and smoother when the input text length x is shorter, thereby improving the efficiency of intercepting the input content according to the interception length L and making the interception process smoother.

[0073] Optionally, refer to Figure 3 As shown, Figure 3 The horizontal axis represents the input text length x, and the vertical axis represents the interception length L. Figure 3 This indicates that the larger the input text length x is, the longer the truncation length L is, so the efficiency of truncation of the input content according to the truncation length L is higher.

[0074] S150, the input content is intercepted according to the interception length to obtain the retained content, which is the new input content after interception. The new input content can be as close as possible to the longest input length a supported by the set model, so that if the new input content meets the length requirement of the set model, as much valid information as possible can be retained to be recognized by the set model, and more original input content can be retained to the maximum extent; if the new input content still exceeds the longest input length a supported by the set model, it has a higher interception efficiency, which can reduce the number of subsequent interceptions for the new input content.

[0075] In one example, the calculation formula for the length of the retained content includes:

[0076] In the formula, x' represents the length of the retained content, x represents the length of the input text, and L represents the truncated length.

[0077] The above-mentioned input content processing method obtains the input text length x of the input content when the input text length x of the input content is greater than the longest input length a supported by the set model, calculates the proportional coefficient w according to the input text length x and the longest input length a, and smoothes the proportional coefficient w to obtain a smoothing truncation parameter C. The truncation length L is determined according to the smoothing truncation parameter C. The truncation length L can make the longer the input text length x, the longer the truncation length L, and the shorter the input text length x, the shorter the truncation length L. The efficiency of truncation or cropping of the input content according to the truncation length L can be improved, thereby improving the efficiency of the set model in obtaining input information, and can also make the truncation process smoother, which can improve the reliability of the truncation process.

[0078] In one embodiment, the input content processing method further includes: inputting the retained content as new input content into the setting model; if the setting model outputs a prompt message, returning to the process of obtaining the input text length x of the input content, and continuing to calculate the proportional coefficient w according to the input text length x and the longest input length a, smoothing the proportional coefficient w to obtain a smoothing interception parameter C, determining the interception length L according to the smoothing interception parameter C, intercepting the new input content according to the interception length L, and obtaining the retained content as the new input content of the setting model, until the setting model can recognize the input content, that is, the setting model does not output a prompt message, and the new input content is successfully input into the setting model. The prompt message is used to indicate that the input text length of the input content is greater than the longest input length.

[0079] Optionally, the length of the input content after being truncated can refer to Figure 4 As shown, Figure 4 In the figure, the horizontal axis represents the length x of the input text, and the vertical axis represents the length x' of the retained content. Figure 4 It shows that when the input text length x of the input content is greater than the longest input length a supported by the set model, one truncation can make the length of the retained content after truncation close to the longest input length a. When the input text length x of the input content is slightly greater than the longest input length a, the truncation length L will be more cautious and smooth, and the corresponding truncation process will be more reliable.

[0080] In the above input content processing method, when the input text length x of the input content is greater than the longest input length a supported by the set model, the input text length x of the input content is obtained, the proportional coefficient w is calculated according to the input text length x and the longest input length a, the proportional coefficient w is smoothed to obtain the smoothing interception parameter C, and the interception length L is determined according to the smoothing interception parameter C. The interception length L can make the longer the input text length x, the longer the interception length L, and the shorter the input text length x, the shorter the interception length L. The efficiency of intercepting or cutting the input content according to the interception length L can be improved, thereby improving the efficiency of the set model in obtaining input information, and can also make the interception process smoother, which can improve the reliability of the interception process.

[0081] The second aspect of the present application provides an input content processing system, which can be set in an intelligent terminal for determining the input content of a large model, or can be set in a corresponding large model (such as a setting model). Figure 5 As shown, the above-mentioned input content processing system includes:

[0082] The acquisition module 110 is used to acquire the input text length of the input content when the input text length of the input content is greater than the longest input length supported by the set model;

[0083] A calculation module 120, configured to calculate a proportionality coefficient according to the input text length and the longest input length, wherein the proportionality coefficient is used to characterize the extent to which the input text length exceeds the longest input length;

[0084] A smoothing processing module 130, used for smoothing the proportional coefficient to obtain a smoothing interception parameter;

[0085] A first determination module 140, configured to determine a cut length according to the smooth cut parameter;

[0086] The second determining module 150 is configured to intercept the input content according to the interception length to obtain retained content.

[0087] For the specific definition of the input content processing system, please refer to the definition of the input content processing method above, which will not be repeated here. Each module in the above-mentioned input content processing system can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the operation module in the relevant computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the operation module can call and execute the operations corresponding to the above-mentioned units.

[0088] The present application also provides an intelligent terminal, which may include: a memory and a processor, wherein the memory stores an input content processing program, and when the input content processing program is executed by the processor, the steps of the input content processing method described in any of the above embodiments are implemented.

[0089] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the input content processing method described in any of the above embodiments are implemented.

[0090] Although the present application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art based on reading and understanding of this specification and the accompanying drawings. The present application includes all such modifications and variations and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the above-mentioned components, the terms used to describe such components are intended to correspond to any component (unless otherwise indicated) that performs the specified function of the component (e.g., it is functionally equivalent), even if it is not structurally equivalent to the disclosed structure that performs the functions in the exemplary implementation of this specification shown herein.

[0091] That is, the above description is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, such as the mutual combination of technical features between the embodiments, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.

[0092] In addition, in the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, which are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, for structural elements with the same or similar characteristics, the present application may use the same or different reference numerals for identification. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0093] In this application, the word "exemplary" is used to mean "used as an example, illustration or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or more advantageous than other embodiments. In order to enable any technician in the field to implement and use the present application, the present application provides the above description. In the above description, various details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other embodiments, well-known structures and processes will not be elaborated in detail to avoid unnecessary details that make the description of the present application obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.

Claims

1. A method for processing input content, characterized in that: The input content processing method comprises: When the input text length of the input content is greater than the longest input length supported by the set model, obtaining the input text length of the input content; Calculating a proportionality coefficient according to the input text length and the longest input length, the proportionality coefficient being used to characterize the extent to which the input text length exceeds the longest input length; Smoothing the proportional coefficient to obtain a smoothing interception parameter; Determine the interception length according to the smooth interception parameter; The input content is intercepted according to the interception length to obtain retained content.

2. The input content processing method according to claim 1, characterized in that: The input content processing method further includes: Inputting the reserved content into the setting model as new input content; If the setting model outputs prompt information, the process of obtaining the input text length of the input content is returned to execute until the setting model recognizes the input content, and the prompt information is used to indicate that the input text length of the input content is greater than the longest input length.

3. The input content processing method according to claim 1, characterized in that: The calculation formula of the proportionality coefficient includes: w=x / a-1, In the formula, w represents the proportional coefficient, x represents the input text length, and a represents the maximum input length.

4. The input content processing method according to claim 3, characterized in that: The calculation formula of the smooth interception parameter includes: Where C represents the smoothing intercept parameter.

5. The input content processing method according to claim 4, characterized in that: The calculation formula of the intercept length includes: L=C(xa), Wherein, L represents the cut length.

6. The input content processing method according to claim 5, characterized in that: The calculation formula for the length of the retained content includes: x'=xL, In the formula, x' represents the length of the retained content.

7. The input content processing method according to claim 1, characterized in that: The input text length includes the number of characters of the input content.

8. An input content processing system, characterized in that: include: An acquisition module, used for acquiring the input text length of the input content when the input text length of the input content is greater than the longest input length supported by the set model; A calculation module, used for calculating a proportionality coefficient according to the input text length and the longest input length, wherein the proportionality coefficient is used to characterize the extent to which the input text length exceeds the longest input length; A smoothing processing module, used for smoothing the proportional coefficient to obtain a smoothing interception parameter; A first determining module, used to determine the interception length according to the smooth interception parameter; The second determining module is used to intercept the input content according to the interception length to obtain the retained content.

9. An intelligent terminal, characterized in that: The intelligent terminal may include: a memory and a processor, wherein the memory stores an input content processing program, and when the input content processing program is executed by the processor, the steps of the input content processing method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the input content processing method according to any one of claims 1 to 7 are implemented.