LogoLogo
Continuum WebsiteContinuum ApplicationsContinuum KnowledgeAxolotl Platform
Continuum Knowledge
Continuum Knowledge
  • Continuum
  • Data
    • Datasets
      • Pre Training Data
      • Types of Fine Tuning
      • Self Instruct Paper
      • Self-Alignment with Instruction Backtranslation
      • Systematic Evaluation of Instruction-Tuned Large Language Models on Open Datasets
      • Instruction Tuning
      • Instruction Fine Tuning - Alpagasus
      • Less is More For Alignment
      • Enhanced Supervised Fine Tuning
      • Visualising Data using t-SNE
      • UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction
      • Training and Evaluation Datasets
      • What is perplexity?
  • MODELS
    • Foundation Models
      • The leaderboard
      • Foundation Models
      • LLama 2 - Analysis
      • Analysis of Llama 3
      • Llama 3.1 series
      • Google Gemini 1.5
      • Platypus: Quick, Cheap, and Powerful Refinement of LLMs
      • Mixtral of Experts
      • Mixture-of-Agents (MoA)
      • Phi 1.5
        • Refining the Art of AI Training: A Deep Dive into Phi 1.5's Innovative Approach
      • Phi 2.0
      • Phi-3 Technical Report
  • Training
    • The Fine Tuning Process
      • Why fine tune?
        • Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?
        • Explanations in Fine Tuning
      • Tokenization
        • Tokenization Is More Than Compression
        • Tokenization - SentencePiece
        • Tokenization explore
        • Tokenizer Choice For LLM Training: Negligible or Crucial?
        • Getting the most out of your tokenizer for pre-training and domain adaptation
        • TokenMonster
      • Parameter Efficient Fine Tuning
        • P-Tuning
          • The Power of Scale for Parameter-Efficient Prompt Tuning
        • Prefix-Tuning: Optimizing Continuous Prompts for Generation
        • Harnessing the Power of PEFT: A Smarter Approach to Fine-tuning Pre-trained Models
        • What is Low-Rank Adaptation (LoRA) - explained by the inventor
        • Low Rank Adaptation (Lora)
        • Practical Tips for Fine-tuning LMs Using LoRA (Low-Rank Adaptation)
        • QLORA: Efficient Finetuning of Quantized LLMs
        • Bits and Bytes
        • The Magic behind Qlora
        • Practical Guide to LoRA: Tips and Tricks for Effective Model Adaptation
        • The quantization constant
        • QLORA: Efficient Finetuning of Quantized Language Models
        • QLORA and Fine-Tuning of Quantized Language Models (LMs)
        • ReLoRA: High-Rank Training Through Low-Rank Updates
        • SLoRA: Federated Parameter Efficient Fine-Tuning of Language Models
        • GaLora: Memory-Efficient LLM Training by Gradient Low-Rank Projection
      • Hyperparameters
        • Batch Size
        • Padding Tokens
        • Mixed precision training
        • FP8 Formats for Deep Learning
        • Floating Point Numbers
        • Batch Size and Model loss
        • Batch Normalisation
        • Rethinking Learning Rate Tuning in the Era of Language Models
        • Sample Packing
        • Gradient accumulation
        • A process for choosing the learning rate
        • Learning Rate Scheduler
        • Checkpoints
        • A Survey on Efficient Training of Transformers
        • Sequence Length Warmup
        • Understanding Training vs. Evaluation Data Splits
        • Cross-entropy loss
        • Weight Decay
        • Optimiser
        • Caching
      • Training Processes
        • Extending the context window
        • PyTorch Fully Sharded Data Parallel (FSDP)
        • Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation
        • YaRN: Efficient Context Window Extension of Large Language Models
        • Sliding Window Attention
        • LongRoPE
        • Reinforcement Learning
        • An introduction to reinforcement learning
        • Reinforcement Learning from Human Feedback (RLHF)
        • Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • INFERENCE
    • Why is inference important?
      • Grouped Query Attention
      • Key Value Cache
      • Flash Attention
      • Flash Attention 2
      • StreamingLLM
      • Paged Attention and vLLM
      • TensorRT-LLM
      • Torchscript
      • NVIDIA L40S GPU
      • Triton Inference Server - Introduction
      • Triton Inference Server
      • FiDO: Fusion-in-Decoder optimised for stronger performance and faster inference
      • Is PUE a useful measure of data centre performance?
      • SLORA
  • KNOWLEDGE
    • Vector Databases
      • A Comprehensive Survey on Vector Databases
      • Vector database management systems: Fundamental concepts, use-cases, and current challenges
      • Using the Output Embedding to Improve Language Models
      • Decoding Sentence-BERT
      • ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
      • SimCSE: Simple Contrastive Learning of Sentence Embeddings
      • Questions Are All You Need to Train a Dense Passage Retriever
      • Improving Text Embeddings with Large Language Models
      • Massive Text Embedding Benchmark
      • RocketQAv2: A Joint Training Method for Dense Passage Retrieval and Passage Re-ranking
      • LLM2Vec: Large Language Models Are Secretly Powerful Text Encoders
      • Embedding and Fine-Tuning in Neural Language Models
      • Embedding Model Construction
      • Demystifying Embedding Spaces using Large Language Models
      • Fine-Tuning Llama for Multi-Stage Text Retrieval
      • Large Language Model Based Text Augmentation Enhanced Personality Detection Model
      • One Embedder, Any Task: Instruction-Finetuned Text Embeddings
      • Vector Databases are not the only solution
      • Knowledge Graphs
        • Harnessing Knowledge Graphs to Elevate AI: A Technical Exploration
        • Unifying Large Language Models and Knowledge Graphs: A Roadmap
      • Approximate Nearest Neighbor (ANN)
      • High Dimensional Data
      • Principal Component Analysis (PCA)
      • Vector Similarity Search - HNSW
      • FAISS (Facebook AI Similarity Search)
      • Unsupervised Dense Retrievers
    • Retrieval Augmented Generation
      • Retrieval-Augmented Generation for Large Language Models: A Survey
      • Fine-Tuning or Retrieval?
      • Revolutionising Information Retrieval: The Power of RAG in Language Models
      • A Survey on Retrieval-Augmented Text Generation
      • REALM: Retrieval-Augmented Language Model Pre-Training
      • Retrieve Anything To Augment Large Language Models
      • Generate Rather Than Retrieve: Large Language Models Are Strong Context Generators
      • Active Retrieval Augmented Generation
      • DSPy: LM Assertions: Enhancing Language Model Pipelines with Computational Constraints
      • DSPy: Compiling Declarative Language Model Calls
      • DSPy: In-Context Learning for Extreme Multi-Label Classification
      • Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs
      • HYDE: Revolutionising Search with Hypothetical Document Embeddings
      • Enhancing Recommender Systems with Large Language Model Reasoning Graphs
      • Retrieval Augmented Generation (RAG) versus fine tuning
      • RAFT: Adapting Language Model to Domain Specific RAG
      • Summarisation Methods and RAG
      • Lessons Learned on LLM RAG Solutions
      • Stanford: Retrieval Augmented Language Models
      • Overview of RAG Approaches with Vector Databases
      • Mastering Chunking in Retrieval-Augmented Generation (RAG) Systems
    • Semantic Routing
    • Resource Description Framework (RDF)
  • AGENTS
    • What is agency?
      • Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselves
      • Types of Agents
      • The risk of AI agency
      • Understanding Personality in Large Language Models: A New Frontier in AI Psychology
      • AI Agents - Reasoning, Planning, and Tool Calling
      • Personality and Brand
      • Agent Interaction via APIs
      • Bridging Minds and Machines: The Legacy of Newell, Shaw, and Simon
      • A Survey on Language Model based Autonomous Agents
      • Large Language Models as Agents
      • AI Reasoning: A Deep Dive into Chain-of-Thought Prompting
      • Enhancing AI Reasoning with Self-Taught Reasoner (STaR)
      • Exploring the Frontier of AI: The "Tree of Thoughts" Framework
      • Toolformer: Revolutionising Language Models with API Integration - An Analysis
      • TaskMatrix.AI: Bridging Foundational AI Models with Specialised Systems for Enhanced Task Completion
      • Unleashing the Power of LLMs in API Integration: The Rise of Gorilla
      • Andrew Ng's presentation on AI agents
      • Making AI accessible with Andrej Karpathy and Stephanie Zhan
  • Regulation and Ethics
    • Regulation and Ethics
      • Privacy
      • Detecting AI Generated content
      • Navigating the IP Maze in AI: The Convergence of Blockchain, Web 3.0, and LLMs
      • Adverse Reactions to generative AI
      • Navigating the Ethical Minefield: The Challenge of Security in Large Language Models
      • Navigating the Uncharted Waters: The Risks of Autonomous AI in Military Decision-Making
  • DISRUPTION
    • Data Architecture
      • What is a data pipeline?
      • What is Reverse ETL?
      • Unstructured Data and Generatve AI
      • Resource Description Framework (RDF)
      • Integrating generative AI with the Semantic Web
    • Search
      • BM25 - Search Engine Ranking Function
      • BERT as a reranking engine
      • BERT and Google
      • Generative Engine Optimisation (GEO)
      • Billion-scale similarity search with GPUs
      • FOLLOWIR: Evaluating and Teaching Information Retrieval Models to Follow Instructions
      • Neural Collaborative Filtering
      • Federated Neural Collaborative Filtering
      • Latent Space versus Embedding Space
      • Improving Text Embeddings with Large Language Models
    • Recommendation Engines
      • On Interpretation and Measurement of Soft Attributes for Recommendation
      • A Survey on Large Language Models for Recommendation
      • Model driven recommendation systems
      • Recommender AI Agent: Integrating Large Language Models for Interactive Recommendations
      • Foundation Models for Recommender Systems
      • Exploring the Impact of Large Language Models on Recommender Systems: An Extensive Review
      • AI driven recommendations - harming autonomy?
    • Logging
      • A Taxonomy of Anomalies in Log Data
      • Deeplog
      • LogBERT: Log Anomaly Detection via BERT
      • Experience Report: Deep Learning-based System Log Analysis for Anomaly Detection
      • Log-based Anomaly Detection with Deep Learning: How Far Are We?
      • Deep Learning for Anomaly Detection in Log Data: A Survey
      • LogGPT
      • Adaptive Semantic Gate Networks (ASGNet) for log-based anomaly diagnosis
  • Infrastructure
    • The modern data centre
      • Enhancing Data Centre Efficiency: Strategies to Improve PUE
      • TCO of NVIDIA GPUs and falling barriers to entry
      • Maximising GPU Utilisation with Kubernetes and NVIDIA GPU Operator
      • Data Centres
      • Liquid Cooling
    • Servers and Chips
      • The NVIDIA H100 GPU
      • NVIDIA H100 NVL
      • Lambda Hyperplane 8-H100
      • NVIDIA DGX Servers
      • NVIDIA DGX-2
      • NVIDIA DGX H-100 System
      • NVLink Switch
      • Tensor Cores
      • NVIDIA Grace Hopper Superchip
      • NVIDIA Grace CPU Superchip
      • NVIDIA GB200 NVL72
      • Hopper versus Blackwell
      • HGX: High-Performance GPU Platforms
      • ARM Chips
      • ARM versus x86
      • RISC versus CISC
      • Introduction to RISC-V
    • Networking and Connectivity
      • Infiniband versus Ethernet
      • NVIDIA Quantum InfiniBand
      • PCIe (Peripheral Component Interconnect Express)
      • NVIDIA ConnectX InfiniBand adapters
      • NVMe (Non-Volatile Memory Express)
      • NVMe over Fabrics (NVMe-oF)
      • NVIDIA Spectrum-X
      • NVIDIA GPUDirect
      • Evaluating Modern GPU Interconnect
      • Scalable Hierarchical Aggregation and Reduction Protocol (SHARP)
      • Next-generation networking in AI environments
      • NVIDIA Collective Communications Library (NCCL)
    • Data and Memory
      • NVIDIA BlueField Data Processing Units (DPUs)
      • Remote Direct Memory Access (RDMA)
      • High Bandwidth Memory (HBM3)
      • Flash Memory
      • Model Requirements
      • Calculating GPU memory for serving LLMs
      • Transformer training costs
      • GPU Performance Optimisation
    • Libraries and Complements
      • NVIDIA Base Command
      • NVIDIA AI Enterprise
      • CUDA - NVIDIA GTC 2024 presentation
      • RAPIDs
      • RAFT
    • Vast Data Platform
      • Vast Datastore
      • Vast Database
      • Vast Data Engine
      • DASE (Disaggregated and Shared Everything)
      • Dremio and VAST Data
    • Storage
      • WEKA: A High-Performance Storage Solution for AI Workloads
      • Introduction to NVIDIA GPUDirect Storage (GDS)
        • GDS cuFile API
      • NVIDIA Magnum IO GPUDirect Storage (GDS)
      • Vectors in Memory
Powered by GitBook
LogoLogo

Continuum - Accelerated Artificial Intelligence

  • Continuum Website
  • Axolotl Platform

Copyright Continuum Labs - 2023

On this page
  • Aspects of tokenizer design
  • Compression Trade-offs
  • Compression Metrics
  • BPE Algorithm and Implementation
  • Impact of Training Data
  • Vocabulary Size
  • Ideas for creating tokenizers in different fields
  • Key Takeaways
  • Summary
  • References

Was this helpful?

  1. Training
  2. The Fine Tuning Process
  3. Tokenization

Getting the most out of your tokenizer for pre-training and domain adaptation

PreviousTokenizer Choice For LLM Training: Negligible or Crucial?NextTokenMonster

Last updated 11 months ago

Was this helpful?

Tokenization is often an understudied and neglected component in the development of models.

In this February 2024 paper, the authors highlight that most published works use a single tokenizer for all experiments, often borrowed from another model, without performing rigorous analysis or ablations to optimise the tokenization process.

Furthermore, when fine-tuning a pre-trained LLM for a specific task or domain, the tokenizer is generally kept unchanged, leading to sub-optimal performance and efficiency.

The authors argue that the size of the tokenizer's vocabulary, the pre-tokenization regular expression, and the training data used for the tokenizer can significantly impact the model's generation speed, effective context size, memory usage, and downstream performance.

To address this issue, the authors train specialised Byte-Pair Encoding (BPE) code tokenizers and conduct extensive ablations to study the impact of tokenizer design on the performance of LLMs for code generation tasks such as HumanEval and MBPP.

They provide recommendations for selecting appropriate tokenizer hyper-parameters and suggest switching the tokenizer when fine-tuning a pre-trained LLM.

The experiments are performed on models trained from scratch and on pre-trained models, verifying the applicability of their findings to a wide range of use-cases.

The authors find that when fine-tuning on more than 50 billion tokens, it is possible to specialise the tokenizer of a pre-trained LLM to obtain significant gains in generation speed and effective context size.

Aspects of tokenizer design

Compression Trade-offs

Training Data: Using data sampled from the target domain (e.g., code) will increase compression for that domain.

Pre-tokenization Scheme: The regular expression used to split the text before applying BPE affects compression. Splitting on whitespaces prevents BPE from merging across words, leading to shorter tokens and worse compression.

Vocabulary Size: A larger vocabulary size leads to higher compression but increases computational and memory costs.

Compression Metrics

Normalized Sequence Length (NSL): Measures the average tokenized sequence length of a tokenizer compared to a baseline (Llama tokenizer). An NSL of 0.75 means the tokenizer uses 25% fewer tokens on average.

Bytes per Token: Calculated by dividing the number of UTF-8 bytes by the number of tokens, providing another measure of compression.

BPE Algorithm and Implementation

The authors use the BPE tokenization algorithm, implemented with the HuggingFace tokenizers library, which supports regular expression-based pre-tokenization and handles special formatting characters better.

Impact of Training Data

Unsurprisingly, training the tokenizer on data from the target domain (code, English, multilingual) improves compression for that domain. Training on a mix of all three leads to the best overall compression.

Vocabulary Size

Compression vs. Vocabulary Size: Larger vocabularies improve compression, but gains diminish exponentially as the vocabulary size increases.

Inference Optimal Vocabulary Size: The authors calculate the optimal vocabulary size for inference time by considering the trade-off between compression gains and additional computation costs.

Memory Optimal Vocabulary Size: The authors derive an equation to find the memory-optimal vocabulary size, considering the model size, sequence length, batch size, and the memory savings from reduced attention cache size due to compression.

Ideas for creating tokenizers in different fields

Biomedical Domain

  • Develop a tokenizer tailored for biomedical literature, such as research papers, clinical notes, and scientific reports.

  • Train the tokenizer on a large corpus of biomedical texts, incorporating domain-specific vocabulary, abbreviations, and naming conventions.

  • Use pre-tokenization schemes that preserve important biomedical entities, such as gene names, protein structures, and chemical compounds.

  • Integrate domain-specific knowledge bases or ontologies to improve tokenization accuracy and semantic understanding.

Legal and Regulatory Domain

  • Create a tokenizer specifically designed for legal documents, contracts, regulations, and legislative texts.

  • Train the tokenizer on a diverse corpus of legal texts, including case laws, statutes, and regulatory guidelines.

  • Implement pre-tokenization rules that preserve legal terminology, citations, and references to specific clauses or sections.

  • Incorporate legal ontologies and dictionaries to accurately tokenize complex legal phrases and terms.

Financial and Accounting Domain

  • Develop a tokenizer tailored for financial reports, accounting statements, and market data.

  • Train the tokenizer on a corpus of financial documents, including annual reports, balance sheets, and market analyses.

  • Implement pre-tokenization rules to handle financial notation, abbreviations, and numerical representations.

  • Integrate domain-specific knowledge bases or lexicons to accurately tokenize financial terms and concepts.

Cybersecurity Domain

  • Create a tokenizer specifically designed for cybersecurity logs, incident reports, and technical documentation.

  • Train the tokenizer on a corpus of cybersecurity-related texts, including system logs, vulnerability reports, and security guidelines.

  • Implement pre-tokenization rules to preserve technical terminology, IP addresses, and other relevant cybersecurity entities.

  • Integrate domain-specific knowledge bases or ontologies to accurately tokenize cybersecurity-related terms and concepts.

Social Media and Conversational Data

  • Develop a tokenizer tailored for social media data, such as tweets, online forums, and chat conversations.

  • Train the tokenizer on a diverse corpus of social media data, including slang, abbreviations, and internet-specific language.

  • Implement pre-tokenization rules to handle emoticons, hashtags, and other social media-specific constructs.

  • Incorporate language models or lexicons specific to social media and conversational data to improve tokenization accuracy.

Key Takeaways

Based on the experiments described in this section, here are the key conclusions and best practices regarding tokenizer construction and usage:

Tokenizer Impact on Performance

  • Changing the tokenizer of a pre-trained LLM during fine-tuning can have a negligible impact on downstream performance, provided that the fine-tuning is done on a sufficiently large amount of data (50 billion tokens or more).

  • The authors demonstrate that models fine-tuned with alternative tokenizers like GPT-4 and Punct can achieve competitive or even better performance compared to models using the original Llama tokenizer.

Vocabulary Size and Performance

  • The experiments suggest that the vocabulary size of the tokenizer (within the tested range of 32k to 256k) has a minimal impact on the downstream performance of the LLM.

  • The authors found no statistically significant correlation between vocabulary size and performance metrics like Pass@1 and Pass@100 on code generation tasks.

Tokenizer Update Methods

  • Using techniques like Fast Vocabulary Transfer (FVT) to initialize the new tokenizer's embeddings from the pre-trained model leads to noticeable performance improvements compared to not using FVT.

  • Extending an existing tokenizer (e.g., Llama) by adding domain-specific tokens provides only small gains compared to using a completely different tokenizer like GPT-4.

Tokenizer Choice and Compression

  • While highly compressed tokenizers like Identity can offer significant compression benefits, they may result in deteriorated downstream performance on code generation tasks.

  • Tokenizers like Punct and GPT-4, which strike a balance between compression and preserving syntactic and semantic information, can achieve both better performance and better compression compared to the Llama tokenizer.

Scaling to Larger LLMs

  • The authors demonstrate that their findings regarding tokenizer switching and its negligible impact on performance hold true for larger LLMs like Llama 2 7B when fine-tuned on a sufficient amount of data.

Summary

In this study, the authors investigated the impact of tokenizer design choices on the performance, compression, and efficiency of large language models (LLMs), with a focus on code generation tasks.

Their findings highlight the importance of carefully considering tokenization strategies, as they can significantly influence model capabilities and resource utilization.

Through extensive experimentation, they demonstrated that changing the tokenizer of a pre-trained LLM during fine-tuning can have a negligible impact on downstream performance, provided that the fine-tuning is conducted on a sufficiently large dataset (50 billion tokens or more).

This insight opens up opportunities for optimizing tokenizers for specific domains or tasks without sacrificing model accuracy.

Furthermore, their results suggest that the vocabulary size of the tokenizer, within a reasonable range (32k to 256k), has a minimal effect on the LLM's downstream performance. This finding allows for flexibility in balancing compression and memory/compute trade-offs based on the specific requirements of the application.

Overall, this study underscores the importance of carefully considering tokenization strategies in the development and fine-tuning of LLMs, as well as the potential for optimizing tokenizers to enhance model efficiency and domain-specific performance.

References

  1. 01.AI Yi series models (2023): Discusses the Yi series of large language models available on the Hugging Face Model Repository, highlighting their advanced capabilities in language understanding.

  2. Ahmad et al. (2021): Explores unified pre-training methods for program understanding and generation, demonstrating a method to enhance model efficiency in understanding and generating programmatic content.

  3. Ainslie et al. (2023): Describes training generalized multi-query transformer models from multi-head checkpoints, advancing the flexibility of transformer architectures in handling diverse queries simultaneously.

  4. Allal et al. (2023): Introduces 'Santacoder', a concept for a playful, yet robust approach to coding assistance, enhancing code-related tasks without aiming for overly ambitious, unattainable goals.

  5. Almazrouei et al. (2023): Discusses the Falcon series of open language models, emphasizing the development of accessible and robust language model frameworks.

  6. Anthropic (2023): Details the release of 'Claude' by Anthropic, focusing on a new language model that aims to improve ethical considerations and robustness in AI.

  7. Austin et al. (2021): Investigates the use of large language models for program synthesis, showing their potential in automating coding tasks and generating programmatic content from high-level descriptions.

  8. Biderman et al. (2023): Presents 'Pythia', a suite designed for analyzing large language models across different stages of their training and scaling, aiming to understand their behavior and improve their design.

  9. Black et al. (2022): Discusses GPT-NeoX-20B, an open-source autoregressive language model, contributing to the open research and development of scalable language models.

  10. Chen et al. (2021): Evaluates large language models trained on code, providing insights into their effectiveness and areas for improvement in programming language understanding.

  11. Chirkova & Troshin (2023): Explores subtokenization options for pretraining large language models on source code, aiming to optimize model performance on coding tasks.

  12. Deci (2023): Introduces 'Decicoder', a model touted as a new standard in efficient and accurate code generation, enhancing the capabilities of AI in software development.

  13. DeepSeek AI (2023): Details a series of code language models, enhancing the tools available for developers and programmers in automated code generation.

  14. Devlin et al. (2019): Describes the training of BERT, a foundational model that uses deep bidirectional transformers for improved language understanding, setting a new standard in NLP.

  15. Elsen et al. (2023): Announces the release of Persimmon-8B, a language model designed to follow short-form instructions effectively, demonstrating its practical applications.

  16. Forsythe (2023): Introduces 'Tokenmonster', a tokenizer and vocabulary trainer designed to improve the efficiency of language processing in Python, Go, and JavaScript.

  17. Fried et al. (2023): Presents 'Incoder', a generative model for code infilling and synthesis, aimed at enhancing automated coding tasks by filling in gaps and generating syntactically correct code snippets.

  18. Gee et al. (2022, 2023): Discusses methods for fast vocabulary transfer and multi-word tokenization for language model compression and sequence compression, respectively, aiming to enhance model efficiency and manage larger vocabularies effectively.

  19. Gowda & May (2020): Investigates the optimal vocabulary size for neural machine translation, providing insights that help improve translation accuracy and efficiency.

  20. Goyal et al. (2023): Describes the training of language models with pause tokens, introducing a method to enhance natural language generation by incorporating thoughtful pauses in speech or text.

  21. guidance-ai (2023): Details a guidance language designed for controlling large language models, emphasizing the development of more responsive and controllable AI systems.

  22. Jiang et al. (2023): Discusses 'Mistral 7b', a model designed for multi-turn program synthesis, enhancing the interactive capabilities of AI in coding tasks.

  23. Kocetkov et al. (2022): Presents 'The Stack', a large dataset of permissively licensed source code, aimed at facilitating the training and development of code-oriented AI models.

  24. Kudo (2018): Investigates subword regularization techniques, aiming to improve translation models by managing subword variability effectively.

  25. Kudo & Richardson (2018): Introduces 'Sentencepiece', a tokenizer that simplifies text processing by providing a consistent subword tokenization method

LogoGetting the most out of your tokenizer for pre-training and domain...arXiv.org
Getting the most out of your tokenizer for pre-training and domain adaptation
Three ways to increase in-domain compression in a BPE tokenizer with their respective trade-offs
Page cover image