Umeå University's logo

umu.sePublikasjoner
Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Formalizing BPE Tokenization
Umeå universitet, Teknisk-naturvetenskapliga fakulteten, Institutionen för datavetenskap.ORCID-id: 0000-0002-3692-6994
Department of Computer Science, Stellenbosch University, Stellenbosch, South Africa.
2023 (engelsk)Inngår i: 13th International Workshop onNon-Classical Models of Automata and Applications (NCMA 2023) / [ed] Nagy B., Freund R., Open Publishing Association , 2023, s. 16-27Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

In this paper, we formalize practical byte pair encoding tokenization as it is used in large language models and other NLP systems, in particular we formally define and investigate the semantics of the SentencePiece and HuggingFace tokenizers, in particular how they relate to each other, depending on how the tokenization rules are constructed. Beyond this we consider how tokenization can be performed in an incremental fashion, as well as doing it left-to-right using an amount of memory constant in the length of the string, enabling e.g. using a finite state string-to-string transducer.

sted, utgiver, år, opplag, sider
Open Publishing Association , 2023. s. 16-27
Serie
Electronic Proceedings in Theoretical Computer Science, EPTCS, ISSN 2075-2180
HSV kategori
Identifikatorer
URN: urn:nbn:se:umu:diva-215226DOI: 10.4204/EPTCS.388.4ISI: 001113966700005Scopus ID: 2-s2.0-85173029200OAI: oai:DiVA.org:umu-215226DiVA, id: diva2:1805813
Konferanse
13th International Workshop on Non-Classical Models of Automata and Applications, NCMA 2023, 18-19 September, 2023, Famagusta, Cyprus
Tilgjengelig fra: 2023-10-18 Laget: 2023-10-18 Sist oppdatert: 2025-04-24bibliografisk kontrollert

Open Access i DiVA

fulltext(285 kB)606 nedlastinger
Filinformasjon
Fil FULLTEXT01.pdfFilstørrelse 285 kBChecksum SHA-512
773701364ffc10b313c128167be9abd019913cfc18a411f0c747a6fadc4c62dea45d970e00cf55eb676888de53d84d32ef015a26c5e99b03714544044d3e2436
Type fulltextMimetype application/pdf

Andre lenker

Forlagets fulltekstScopus

Person

Berglund, Martin

Søk i DiVA

Av forfatter/redaktør
Berglund, Martin
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 606 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

doi
urn-nbn

Altmetric

doi
urn-nbn
Totalt: 784 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf