ollama/model/models
Bruce MacDonald 8815a8ee25 ml: let model specify rope configuration
Add support for model-specific RoPE configuration parameters by:

1. Creating a new `RopeConfig` struct to encapsulate all RoPE parameters
2. Adding `RopeType` enum to specify different RoPE variants (Standard/NeoX)
3. Extracting original context length from model config
4. Refactoring `RoPE()` interface to use the new config struct
5. Updating llama and mllama models to use new RoPE configuration

This change allows models to specify their RoPE implementation type and
original context length, which is important for proper position embedding
calculation and model compatibility.
2025-02-14 14:21:00 -08:00
..
llama ml: let model specify rope configuration 2025-02-14 14:21:00 -08:00
mllama ml: let model specify rope configuration 2025-02-14 14:21:00 -08:00
pixtral models: Move model into their own directory 2025-02-13 17:09:26 -08:00
qwen2vl models: Move model into their own directory 2025-02-13 17:09:26 -08:00
models.go models: Move model into their own directory 2025-02-13 17:09:26 -08:00