--- title: New & Improved Generation and Representation Models slug: changelog/new-improved-generation-and-representation-models type: improved createdAt: 'Tue Mar 29 2022 17:56:00 GMT+0000 (Coordinated Universal Time)' hidden: false description: >- Enhance your text generation and representation with improved models, now offering better context support and optimal performance. --- We've retrained our `small`, `medium`, and `large` generation and representation models. Updated representation models now support contexts up to 4096 tokens (previously 1024 tokens). We recommend keeping text lengths below 512 tokens for optimal performance; for any text longer than 512 tokens, the text is spliced and the resulting embeddings of each component are then averaged and returned.