Actual Context Length and RoPE Scaling to 1M Tokens

#2
by rikunarita-3 - opened
  • Is the 256K context length specified in config.json correct in practice?
"max_position_embeddings": 262144,
  • Also, is it possible to extend the context length to 1M tokens using RoPE scaling?

256k is the base model context length.
so, the config is correct.

we trained in 8k token chunk, we advice not too long tokens in, will result better performace.

Thanks for the clarification! One last question: could Resonance RoPE / Resonance YaRN be used to extend the context length to 1M tokens without fine-tuning, even if performance may degrade?

Sign up or log in to comment