Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

54 results about "Word token" patented technology

Token(Noun) An atomic piece of data, such as a word, for which a meaning may be inferred during parsing. Also called a symbol. token(Noun) A lexeme; a basic, grammatically indivisible unit of a language such as a keyword, operator or identifier.

Semantic similarity-based large language model control type Token initialization and fine adjustment method and device

The invention discloses a semantic similarity-based big language model control type Token initialization and fine tuning method and system. The method comprises the following steps: expanding a word list added into a control type Token based on a pre-trained big language model to obtain an expanded word list; obtaining an English word Token with similar semantics corresponding to each control type Token, and initializing the Embedding of the control type Token by utilizing the Embedding of the English word Token in an Embedding matrix corresponding to the expansion word list; constructing a synthetic data set containing three types of corpora, mixing the three types of corpora, and performing random out-of-order processing on the corpora; a pre-trained large language model is subjected to fine tuning by utilizing the processed synthetic data set, so that the model can distinguish the control type Token and the common words, the understanding and application ability of the model to the control type Token can be improved, and the output stability and safety are improved.
Owner:ZHEJIANG UNIV

Large language model modular reasoning calculation system, method and device and medium

The invention discloses a large language model modular reasoning calculation system, method and device and a medium. According to the method, different units of a text embedding module, a multi-cluster attention module, a multi-layer perceptron module and a linear mapping module in a large language model modular reasoning calculation system are configured, so that calculation of generated word tokens of an input text token sequence is realized; an attention mechanism calculation data flow method and a linear layer calculation data flow method are improved. The problems that in the prior art, external storage bandwidth is limited, calculation efficiency of a chip is difficult to give full play, performance is poor, and requirements for professionals are high are solved, a more perfect large language model is constructed, high-throughput calculation data flow is designed, and calculation power of the chip can be given full play.
Owner:BEIJING SUIYUAN INTELLIGENT TECH CO LTD

High-precision geographical name translation method integrating artificial intelligence and multi-language syllable segmentation

The invention discloses a high-precision geographical name translation method integrating artificial intelligence and multi-language syllable segmentation, and relates to the technical field of geographical name translations, the method comprises the following steps: firstly splitting an input geographical name into a sub-word Token sequence, and using a context coding model of a word embedding model to realize semantic context associated coding of a to-be-translated geographical name; and then modeling internal structured information and a dependency relationship in context semantics of the token to be translated in a local semantic relevance reconstruction enhancement mode, identifying recessive syllable relevance in compound words and adhesive words, and enhancing local morphological characteristics near syllable boundaries, so as to solve the problems of irregular spelling and cross-language interference, and improve the translation efficiency of the token to be translated. And further decoding and outputting the geographical name character string after syllable segmentation to carry out geographical name translation, generating a corresponding geographical name target language translation text, and realizing end-to-end effective conversion from an original geographical name to a target translation name.
Owner:SHAANXI TIRAIN TECH CO LTD

Model illusion detection method and device based on internal state fusion and medium

The invention discloses a model illusion detection method and device based on internal state fusion and a medium, and relates to the technical field of natural language processing. The method comprises the following steps: extracting multi-modal features in a forward propagation process of a target large language model, wherein the multi-modal features comprise a hidden layer embedding feature, an attention feature, a feedforward network activation feature and a text feature; aligning the multi-modal features to the lexical element length of the generated text through an interpolation method, and calculating the weight of the position of the lexical element corresponding to the multi-modal features; performing weighted fusion on the multi-modal features according to the weights to generate a fusion feature sequence; and constructing the fusion feature sequence into a graph structure, reasoning the graph structure by using a multi-layer attention network, and outputting a lexical-level illusion probability through a classification head. According to the method, the target model parameters do not need to be modified, and high-precision detection can be completed only through single-time forward propagation.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Zero sample image description method based on filtering hybrid representation and hallucination suppression

The invention provides a zero sample image description method based on filtering hybrid representation and hallucination suppression. The method comprises the following steps: acquiring a key entity in an image; the method comprises the following steps: acquiring sub-region features and category tokens of an entity through an image encoder, projecting the sub-region features and the category tokens to obtain projected sub-region features and global image representation, filtering the projected sub-region features, and mixing the filtered sub-region features with the global image representation; and obtaining the original generation probability of the lexical elements by adopting a hallucination suppression method to form image description.
Owner:XUZHOU ANCHUANG MINING INTELLIGENT TECHNOLOGY DEVELOPMENT CO LTD

Large language model reasoning optimization method, system and device for resource-constrained equipment, and medium

The invention relates to the technical field of artificial intelligence, and relates to a large language model reasoning optimization method, system and device for resource-constrained equipment, and a medium. The method comprises the following steps: establishing a resource budget, acquiring video memory parameters of equipment, including a total available video memory and a current available video memory, and setting a memory total budget of a reasoning session; evaluating memory requirements, including static calculation and dynamic calculation; calculating a total memory demand, and if the total memory demand is greater than the total memory budget, starting an iterative optimization sub-process; and loading the configuration meeting the budget, and executing speculation decoding through the optimized attention mask, which comprises the following steps of: generating a candidate lexical element sequence in parallel based on a mask structure, verifying the candidate sequence in batches and accepting or rejecting lexical elements, and updating a confirmed sequence and key value cache. Through a collaborative optimization strategy, the reasoning speed, memory occupation and generation quality are intelligently balanced, so that efficient and stable large-model speculation decoding reasoning is realized on equipment with limited memory.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Code similarity detection method and system based on large language model

The invention discloses a code similarity detection method and system based on a large language model, and the method comprises the steps: obtaining a to-be-detected source code pair, and marking the to-be-detected source code pair as a source code A and a source code B; performing code cleaning and format standardization on the source code A and the source code B, and mapping a variable name and a function name which are customized by a user into a uniform placeholder; analyzing the source codes A and B based on the abstract syntax tree, respectively replacing variable names and function names in the source codes A and B with unified serialized placeholders, and maintaining a mapping table; meanwhile, expanding a lexical dictionary of the pre-training large language model, and inserting a special identifier; splicing the replaced code snippets with special identifiers, and constructing a structure sensing input sequence; inputting the structure perception input sequence into a pre-trained large language model backbone network for feature coding to obtain a high-dimensional semantic feature vector containing global context information; connecting a multi-task prediction head behind the large language model backbone network, inputting the feature vector into the multi-task prediction head, outputting probability distribution of code clone types through a classification task head, and respectively outputting a row level similarity score and a lexical element level similarity score through a regression task head; and according to the classification probability and the regression score, performing comprehensive judgment by combining a preset threshold, and generating a detection report. According to the method, similar codes after variable renaming, statement rearrangement or control flow transformation can be accurately recognized, and the accuracy and robustness of code similarity detection are improved.
Owner:NANJING UNIV OF SCI & TECH

Removing bias from automatic speech recognition models using internal language model estimates

Bias may be removed from automatic speech recognition model predictions using internal language model estimates. Audio data may be received for speech recognition. The audio data may be processed both through an automatic speech recognition model to produce original word token predictions and masked in different portions of the audio data to produce other word token predictions for the masked audio. A comparison of the original word token predictions and the other word token predictions may provide an estimate of an internal language model for the automatic speech recognition model. This estimate can be used to modify the original word token predictions to remove the lexical bias and produce a speech prediction.
Owner:AMAZON TECH INC

Lightweight text video generation method and device

The invention discloses a lightweight text video generation method and device, the method combines cue word learning and time sequence perception DDIM inversion technology, the editing flexibility is improved by introducing a shared cue word token, meanwhile, the cross-frame consistency is enhanced through a non-shared frame specific token, and meanwhile, the text video generation efficiency is improved. The DDIM inversion of time sequence perception of bilateral filtering is adopted to further optimize the coherence between the video frames, and the text generation image video editing performance based on the diffusion algorithm is improved with the lowest training cost. According to the method, the time sequence consistency, the semantic alignment, the inter-frame consistency and the video quality in a text generation video generation framework are improved under the condition that extra training is not needed.
Owner:HENAN RUNTAI ENG MANAGEMENT CO LTD

Data processing method and electronic equipment

The invention discloses a data processing method and electronic equipment, and relates to the technical field of computers, and the method comprises the steps: dividing a complete reasoning process of a request into at least one processing stage according to the number of layers of a current reasoning model, and determining a model layer of each stage; and determining a current processing stage, and executing pre-filling reasoning on the request by the corresponding model layer in the first processing node to obtain a key value cache. The second processing node carries out decoding reasoning on the key value cache to obtain the lexical element sequence of the current stage, meanwhile, a new current processing stage is determined, the pre-filling reasoning step and the decoding reasoning step are repeated until the lexical element sequences of all stages are obtained, and the lexical element sequences are spliced to obtain a final result. Therefore, the key value cache is stored and managed by taking the model layer as a unit, pipeline parallelism of three tasks of pre-filling reasoning, network transmission and decoding reasoning is realized, and the problems that computing resources are idle and TTFT is prolonged due to the fact that the key value cache is transmitted by taking the whole request as the unit are solved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

A fluid simulation method and system based on adaptive mesh optimization

The application discloses a fluid simulation method and system based on adaptive grid optimization, and belongs to the technical field of computational fluid dynamics, and comprises the following contents: receiving fluid state data at a current moment, state data at a historical moment and global physical parameters, performing scale alignment and normalization processing on the data and encapsulating the data as structured input; performing initial blocking on the whole calculation domain, converting original regular grid expression into a candidate unit set with hierarchical relationship; calculating physical indexes of each candidate unit based on fluid physical properties, judging whether each candidate unit needs to be refined, reserved or discarded; performing word tokenization and position coding on a multi-scale unit sequence, inputting the sequence into a neural solver to establish a long-range dependence relationship across regions, and outputting state word tokens at a next moment; and mapping the state word tokens back to an original regular grid space to generate a flow field simulation result. By using the method, accurate identification of a key region of a flow field and efficient modeling of multi-scale flow characteristics are realized.
Owner:FEIJIE COSI INTELLIGENT TECHNOLOGY (SHANGHAI) CO LTD

Chinese intention recognition method based on cue word template

The invention provides a Chinese intention recognition method based on a cue word template, and relates to the field of network security in computer science and technology. The method comprises the following steps: segmenting a to-be-recognized text to obtain a token sequence; replacing attitude word tokens in the token sequence with special tokens [MASK] through a cue word template, and respectively adding special tokens [CLS] and [SEP] at the left end and the right end to obtain an input token sequence; inputting the input token sequence into a multi-layer Transform encoder to obtain a text token vector, a [MASK] special token vector and a [CLS] special token vector; averagely pooling the text token vector and the [MASK] special token vector to obtain a text pooling vector and a [MASK] pooling vector; sequentially splicing the [CLS] special token vector, the text pooling vector and the [MASK] pooling vector to obtain a final representation vector of the to-be-recognized text; and inputting the final representation vector into the MLP, and identifying the Chinese intention of the to-be-identified text. According to the method, accurate recognition of the Chinese text intention in the social platform is realized.
Owner:SICHUAN UNIV

Processing method and electronic equipment

The invention provides a processing method and electronic equipment, and the method comprises the steps: obtaining a to-be-processed text, carrying out the word segmentation of the to-be-processed text, and obtaining a plurality of ordered lexical elements; the lexical elements comprise semantic words, and the semantic words are vocabularies representing text semantics in the to-be-processed text; for any semantic word of the plurality of semantic words, sequentially connecting the next semantic word from any semantic word until the text content of the next semantic word is the same as that of any semantic word, and obtaining a plurality of first word groups; combining any two first phrases with the same text content of the final lexical elements in the plurality of first phrases to obtain a plurality of second phrases; screening at least part of the second phrases from the plurality of second phrases according to a predetermined rule, and splicing the at least part of the second phrases to obtain a plurality of text features; and generating core information of the to-be-processed text according to the plurality of text features.
Owner:LENOVO (BEIJING) LTD

Method, device, computer equipment, storage medium and program product for testing large language model

The present disclosure provides a method, device, computer equipment, storage medium and program product for testing a large language model, and relates to the field of computer and artificial intelligence. The implementation scheme is as follows: setting a target hyperparameter of a target large language model via an interactive interface server, the target hyperparameter being used to adjust a probability distribution of a word token predicted by the target large language model; performing multiple rounds of testing, for each round of testing: providing a test case to the target large language model via a first distribution unit and a second distribution unit through the interactive interface server; obtaining an unnormalized original prediction score of a word token predicted by the target large language model in response to the test case; converting the unnormalized original prediction score into a byte string; comparing the byte strings obtained in each round of the multiple rounds of testing to determine whether there is an inconsistent byte string; and in response to determining that there is an inconsistent byte string, determining that the target large language model has an output determinacy anomaly on a test link.
Owner:VASTAI TECH (SHANGHAI) INC

Large model based text processing and large model compression method and device

The present disclosure provides a large model-based text processing method and device and a large model compression method and device, and relates to the fields of deep learning, large models, natural language processing and the like. The large model-based text processing method can include: obtaining a word token sequence corresponding to an input text; and performing the following processing on each word token in the word token sequence: in response to determining that the word token needs to be processed by using a fusion layer in a target large model, generating a target processing result corresponding to the word token by performing inference calculation in the fusion layer at least twice, the target large model being obtained after model compression is performed on a to-be-compressed large model, the model compression including fusing Lm layers that are sequentially adjacent in the to-be-compressed large model into the fusion layer, Lm being a positive integer greater than 1 and smaller than L, L representing the number of layers included in the to-be-compressed large model.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Spoken language understanding system and a method for training the same

This disclosure relates to a spoken language understanding (SLU) system and method for training the same. The method comprises: generating a vector ei to represent an ith word token wi based on n word tokens; generating an intent-specific matrix EI and a slot-specific matrix ES based on a sequence of vectors e1:n; generating an intent label-specific matrix VI and slot label-specific matrices VS,K based on the intent-specific matrix EI and the slot-specific matrix ES, respectively; generating a multiple intent representing matrix 1 and a slot representing matrix +2 based on the slot-specific matrix ES, the intent label-specific matrix VI and the slot label-specific matrices VS,k; generating final intent outputs based on the multiple intent representing matrix 1 and the intent label-specific matrix VI; generating final slot output based on the slot representing matrix +2 and the slot-specific matrix ES; adjusting the SLU system based on an objective loss .
Owner:VINAI ARTIFICIAL INTELLIGENCE APPL & RES JOINT CO

Generating text detection methods and related devices

One or more embodiments of the present application provide a method for generating text detection and related equipment. The method comprises: obtaining a text to be detected; obtaining a word token cohesion of the text to be detected according to the text to be detected, the word token cohesion representing a semantic closeness between each word in the text to be detected; obtaining an original prediction value through a basic detection model according to the text to be detected; and obtaining a final detection result according to the original prediction value and the word token cohesion. The text generation detection effect can be improved by the present application.
Owner:BEIJING UNIV OF POSTS & TELECOMM

Unified multilingual grammar error correction model and method

The invention relates to the technical field of natural language processing, and provides a unified multilingual grammar error correction model and method, and the model comprises a shared encoder and a shared decoder; the shared encoder is used for receiving a plurality of sentences of input to-be-corrected text sequences and generating multi-scale lexical element representation and global sentence semantic representation of each lexical element of each sentence of to-be-corrected text sequence; wherein the total number of languages of the input text sequences to be corrected is greater than or equal to 1; the shared decoder is used for generating a corrected text sequence corresponding to each sentence of to-be-corrected text sequence in an autoregression manner based on the multi-scale lexical representation and the global sentence semantic representation; the model not only can share cross-language knowledge, but also can clearly distinguish and apply specific grammar rules of all languages.
Owner:GUANGDONG HENGQIN SHUSHUSHUO STORY INFORMATION TECH CO LTD

Limb representation method and device and electronic equipment

The invention discloses a lexical element representation method and device and electronic equipment. The method comprises the following steps: S1, performing word segmentation on an input text by adopting a first word segmentation device to obtain a first lexical element sequence arranged according to the sequence of the input text; s2, performing word segmentation on the input text by adopting a second word segmentation device to obtain a second lexical element sequence arranged according to the sequence of the input text; extracting lexical units, different from the first lexical unit sequence, in the second lexical unit sequence to form a combined phrase set; s3, converting the lexical elements corresponding to the first lexical element sequence into a first embedded sequence, converting the lexical elements corresponding to the phrases in the combined phrase set into embedded vectors, and fusing the embedded vectors into a second embedded sequence; and replacing the corresponding elements in the first embedding sequence with the elements in the second embedding sequence to obtain a compressed embedding sequence. On the premise that an original model embedding matrix can be reused, high-frequency cross-word boundary phrases are dynamically fused to shorten the sequence length, and therefore the calculation efficiency and the expression capacity of a subsequent model are improved.
Owner:HANGZHOU RAPID INTELLIGENT TECHNOLOGY CO LTD

High-precision Place Name Translation Method Integrating Artificial Intelligence and Multilingual Syllable Segmentation

The present application discloses a high-precision place name translation method integrating artificial intelligence and multilingual syllable segmentation, which relates to the technical field of place name translation. First, the input place name is split into a sub-word Token sequence, and the context encoding model of the word embedding model is used to realize the semantic context correlation encoding of the place name to be translated. Subsequently, the internal structured information and dependency relationships in the Token context semantics of the place name to be translated are modeled by means of strengthening local semantic relevance reconstruction, the implicit syllable associations in compound words and agglutinative languages are identified, and the local morphological features near the syllable boundaries are enhanced to solve the problems of irregular spelling and cross-language interference. Furthermore, the syllable-segmented place name string is decoded and output for place name translation, generating the corresponding place name target language translation text, so as to realize the end-to-end effective conversion from the original place name to the target translation.
Owner:SHAANXI TIRAIN TECH CO LTD

Data processing method and device, electronic equipment and storage medium

The invention provides a data processing method and device, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring a reasoning request set of a large language model, wherein the reasoning request set comprises lexical element sequences corresponding to a plurality of reasoning requests respectively; a plurality of lexical element sequences in the reasoning request set are blocked, a plurality of sequence block groups corresponding to the reasoning request set are obtained, each sequence block group comprises a plurality of sequence blocks, and the difference value between the lengths of the sequence blocks in each sequence block group is smaller than a preset difference value threshold value; splicing the sequence blocks in each sequence block group to obtain a matrix corresponding to each sequence block group; the matrixes corresponding to the multiple sequence block groups are processed through an attention kernel function, attention features of the multiple reasoning requests are obtained, and the attention features are used for the reasoning process of the large language model. By dividing the lexical element sequence into the sequence block groups with the aligned lengths, a large amount of invalid calculation is avoided, and the calculation power utilization rate and the data processing efficiency are improved.
Owner:北京凌川科技有限公司 +1

Methods and systems for enhancing purchase experience via audio web-recording

A computer system includes a processor programmed to process a first web page to identify a hyperlink contained thereon. The hyperlink includes a link to a second web page. The processor performs natural language processing on the first web page to determine one or more context word tokens and on the second web page to determine a context of the second web page. The processor also applies a context relevant tag to the hyperlink to generate a tagged hyperlink. The processor maps at least one of the context word tokens to the context relevant tag applied to the hyperlink and generates a transaction score for the tagged hyperlink.
Owner:MASTERCARD INT INC

Multi-modal large language model task adaptation fine tuning method and related device

The invention belongs to the field of artificial intelligence, and discloses a multi-modal large language model task adaptation fine tuning method and a related device, and the method comprises the steps: introducing a parameter-trainable adapter layer into a preset weight layer of a multi-modal large language model; obtaining a lexical element sequence of the training sample based on a preset weight layer of the multi-modal large language model, calling a preset lexical element classification model to obtain each lexical element type in the lexical element sequence, and processing each lexical element in the lexical element sequence according to the lexical element type to obtain the output of the training sample, parameters of the adapter layer and parameters of the lexical element classification model are updated according to output of the training sample; and finally, obtaining a multi-modal large language model for task adaptation fine tuning. According to the method, fine-grained and lexical-level task adaptation is achieved in the fine tuning process, the problem of disastrous forgetting in the fine tuning process is remarkably relieved, and the performance of a multi-mode large language model on an original pre-training task is effectively maintained while the adaptability of the multi-mode large language model to a new task is improved.
Owner:XI AN JIAOTONG UNIV

Text-based voice generation method and device, equipment and medium

The invention relates to the technical field of artificial intelligence, and provides a text-based voice generation method, apparatus and device, and a medium, which are applied to financial and medical health care service scenes, and can utilize a to-be-optimized voice generation model to obtain multiple groups of candidate voice samples, thereby avoiding model overfitting caused by single sample optimization. Each acoustic feature sequence and the text token sequence are input into a decoder of a pre-training automatic speech recognition model, accurate correlation analysis of each word token is achieved, additional labeling is not needed, and the data cost is reduced; the token-level attention concentration degree of each candidate voice sample is calculated according to the cross attention matrix of each candidate voice sample, and the specific position of a local defect can be accurately positioned; iterative optimization is carried out on the to-be-optimized voice generation model based on the intra-group relative strategy optimization algorithm, it is ensured that the model only carries out targeted adjustment on parameters corresponding to the defect token, and therefore more accurate voice generation is assisted.
Owner:PING AN TECH (SHENZHEN) CO LTD

Enabling custom word identification in speech-to-text models

PendingUS20260128039A1Speech recognitionWord identificationWord list
Language models require resource-intensive training. As a result, retraining language models happens very infrequently even though new or custom words are needed at a much faster rate. By deploying a custom set of words, speech recognition may be performed using a previously trained language model and augmented with entries in a custom word list. A probability map is created for each token position predicted by the model. Next, potential positions for custom words are identified by calculating the probability ratio between the token selected by the model and the custom word token. The probability ratios are summed for the first, second, and last tokens of the custom words, and if the sum falls below a certain threshold, the position is recorded. Next, the word or words starting at the recorded position are identified and, using string comparison metrics, are determined the most likely candidates for replacement.
Owner:MICRO FOCUS LLC

A method and system for constructing an ultra-high-order n-gram language model based on an additivity hash count table

ActiveCN123013917BRound complexityRolling hash
The application discloses a method and system for constructing an ultra-high-order N-gram language model based on an additivity hash counting table, and belongs to the technical field of natural language processing. The method maps a variable-length context into a fixed bit width state identifier through a rolling hash mechanism, constructs a sparse statistical matrix composed of a context hash value, a word token identifier and a co-occurrence frequency triple, and realizes low time complexity context matching and probability prediction. The model supports independent training of multiple sources of corpus, completes knowledge fusion through linear weighting, has a completely combinable model superposition characteristic, introduces a rollback strategy in the reasoning stage to improve robustness, and trims entries with a frequency lower than a preset threshold before deployment to compress the model volume. N-order language modeling is realized under low resource consumption, various natural language processing tasks can be supported, the model can independently and efficiently run on a general central processing unit device without special acceleration hardware, deployment cost and energy consumption are significantly reduced, and the model constitutes a lightweight alternative scheme for large language models.
Owner:UNIV OF ELECTRONICS SCI & TECH OF CHINA +2

A multilingual event causal relation identification method and system based on shared low-rank adaptation and event span interaction representation

PendingCN123180168ACross lingualData mining
The application relates to a multilingual event causality recognition method and system based on shared low-rank adaptation and event span interaction representation, belonging to the field of natural language processing. Multilingual samples containing text context, two target event mentions and causality labels are obtained, boundary markers are inserted on both sides of the target events, and unified task inputs are constructed; the inputs of different languages are fed into the same large language model with original parameter freezing, hidden states are obtained through a shared low-rank adaptation module commonly trained by different language samples; the word token spans of the two event mentions are pooled, and event pair interaction representations are constructed based on the two span representations, absolute differences and element-wise products, and a classifier is used to output the causality category. During training, positive causality samples are resampled, and the shared low-rank adaptation parameters and the classifier parameters are updated by using focus loss. The application can reduce the number of trainable parameters, promote cross-language causality knowledge sharing, and alleviate the imbalance of language resources and category distribution.
Owner:KUNMING UNIV OF SCI & TECH

Deep concept search systems and methods

ActiveUS20240403561A1Natural language data processingConcept searchDocumentation
A tokenization operation is performed on a document to divide the document into word tokens and to assign a heuristic segmentation index to the word tokens forming a tokenized text. An input text is received. The tokenized text or the input text is searched to find search parameters. When the search parameters are matched, a partial concept record is either created or updated. Input and searching continues until all search parameters are found, so that output can generated indicating that a concept match has occurred.
Owner:INSPIRATA INC

Systems and methods of image editing based on multimodal large language models

Provided are systems, methods, and apparatuses for systems and methods of image editing based on multimodal large language models. In one or more examples, the systems, devices, and methods include generating image tokens from an input image and word tokens from an editing prompt; generating a mask token based on an artificial intelligence model processing the image tokens and the word tokens; and generating an editing mask based on a mask decoder processing the mask token, word embeddings of the editing prompt, and visual embeddings of the input image. In one or more examples, the systems, devices, and methods include generating a correlation map that correlates the editing mask to a set of one or more words of the editing prompt; and generating an output image based on the correlation map, the output image comprising an edited version of the input image according to the editing prompt.
Owner:SAMSUNG ELECTRONICS CO LTD

Multi-conditional statement vectorization semantic representation method and system

The invention provides a multi-conditional statement vectorization semantic representation method and system. Setting a Transform-based sentence encoder F as a frame trunk, and obtaining embedding of a set condition C; extracting a query vector of the public language specification word token on the last layer of the sentence encoder F, and inputting the sentence S to be recognized into the same sentence encoder F; selecting a tth layer of the sentence encoder F, constructing a condition-dependent router, and starting to introduce the condition-dependent router to perform semantic representation operation; calculating the weight of each word in the sentence S to be recognized, determining the relevancy between each word and a set condition C according to the weight, selecting the most relevant word with the highest relevancy with the set condition C to execute a heavy attention dynamic adjustment mechanism, selecting the non-most relevant word to execute a light attention dynamic adjustment mechanism, and generating multi-condition specific sentence vectorization representation. And the semantic information of the multi-condition text is reflected.
Owner:BEIJING INSTITUTE FOR GENERAL ARTIFICIAL INTELLIGENCE