Skip to content

kou-saki/experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 

Repository files navigation

Token Limit Investigation

This branch contains a series of experiments related to token limit behavior in GPT models (primarily GPT-4-turbo).

๐Ÿ“Œ Purpose

The purpose of this investigation is to:

  • Understand how GPT models behave near their token output limits
  • Compare different character types (e.g., Japanese vs. English, frequent vs. rare)
  • Observe compression patterns, truncation behavior, and output stability

๐Ÿ“ Files Included

File Name Description
Token_Limit_Investigation_Single_Character_Repeat.md A markdown-based summary of output behavior across character types
ใƒˆใƒผใ‚ฏใƒณ้™็•Œ่ชฟๆŸปๅฎŸ้จ“๏ผšๅ‡บๅŠ›ๆฏ”่ผƒใพใจใ‚.md Japanese summary of output comparison results
ใƒˆใƒผใ‚ฏใƒณ้™็•Œๅ€คๆŽขๆŸป_ๆ—ฅๆœฌ่ชžๆœ€้ ป_ใ„.txt Output from repeating the most frequent Japanese character ("ใ„")
ใƒˆใƒผใ‚ฏใƒณ้™็•Œๅ€คๆŽขๆŸป_ๆ—ฅๆœฌ่ชžๆœ€ๅฐ้ ป_ใฌ.txt Output from repeating a rare Japanese character ("ใฌ")
ใƒˆใƒผใ‚ฏใƒณ้™็•Œๅ€คๆŽขๆŸป_่‹ฑ่ชžๆœ€้ ป_e.txt Output from repeating the most frequent English letter ("e")
ใƒˆใƒผใ‚ฏใƒณ้™็•Œๅ€คๆŽขๆŸป_่‹ฑ่ชžๆœ€ๅฐ้ ป_z.txt Output from repeating a rare English letter ("z")

๐Ÿ”ฌ Notes

  • This experiment is part of a broader investigation into the internal mechanics of GPT tokenization and output management.
  • The outputs were generated using ChatGPT (GPT-4-turbo) with default settings.
  • No external preprocessing or formatting was applied to raw outputs.

๐Ÿง  Motivation

The experiment aims to surface reproducible insights for:

  • Prompt engineers
  • AI researchers
  • Anyone trying to understand GPT's token limits in practice

If you want to reproduce this experiment, we recommend:

  • Using the ChatGPT interface (or API) with a prompt structure that encourages max-length generation.
  • Comparing character types across different languages and frequency distributions.

๐Ÿ“„ LICENSE

  • This project is licensed under the MIT License.

About

Various experimental studies with ChatGPT and token behaviors

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors