📥 Content Hub
← назад
patents ⚡ Google Patents en 2026-09-10 1 min

Token generation method, computer device, and storage medium

Патент · US A1

US-2026268179-A1
приоритет 2025-03-05 подача 2026-03-02 публикация 2026-09-10 семья 96332245
patents-ai
Lenovo (Beijing) Limited

Token generation method and device are provided. The method includes obtaining input information for a current inference stage of a target model, the input information including first tokens and second tokens, the first tokens including target tokens output from a previous inference stage, and the second tokens including guessing tokens output from the previous inference stage; generating, based on inference performed by the target model, candidate weights for the first tokens and the second tokens, the candidate weights indicating likelihoods that candidate tokens are to be selected as target tokens; and decoding the candidate weights for the first tokens using a first decoding algorithm to generate first target tokens and decoding the candidate weights for the second tokens using a second decoding algorithm to generate second target tokens, and the first decoding algorithm being different from the second decoding algorithm.

Читать оригинал ↗

Сделать контент из этого материала