mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
Updated 3.5 vs 4
This commit is contained in:
parent
87be865a71
commit
0a4a547c3d
1 changed files with 11 additions and 3 deletions
14
README.md
14
README.md
|
@ -125,9 +125,6 @@ aren't able to return code edits in a compact format.
|
|||
So aider has
|
||||
to ask GPT-3.5 to return a full copy of any code that needs to be edited.
|
||||
This rapidly uses up tokens and can hit the limits of the context window.
|
||||
In practice, this means you can only use `gpt-3.5-turbo` to edit files that are
|
||||
smaller than about 2k tokens (8k bytes).
|
||||
The new `gpt-3.5-turbo-16k` model should be able to edit code up to 8k tokens (32k bytes).
|
||||
|
||||
Aider disables the
|
||||
[repository map feature](https://aider.chat/docs/ctags.html)
|
||||
|
@ -135,6 +132,17 @@ when used with GPT-3.5 models.
|
|||
The `gpt-3.5-turbo` context window is too small to include a repo map.
|
||||
Evaluation is still needed to determine if `gpt-3.5-turbo-16k` can make use of a repo map.
|
||||
|
||||
In practice, this means you can use aider to edit a set of source files
|
||||
that total up to these sizes:
|
||||
|
||||
| model | context size | max file size | max file size |
|
||||
| ----------------- | -- | -----| -- |
|
||||
| gpt-3.5-turbo | 4k tokens | 2k tokens | 8k bytes |
|
||||
| gpt-3.5-turbo-16k | 16k tokens | 8k tokens | 32k bytes |
|
||||
| gpt-4 | 8k tokens | 8k tokens | 32k bytes |
|
||||
| gpt-4-32k | 32k tokens | 32k tokens | 128k bytes |
|
||||
|
||||
|
||||
## Tips
|
||||
|
||||
* Large changes are best performed as a sequence of thoughtful bite sized steps, where you plan out the approach and overall design. Walk GPT through changes like you might with a junior dev. Ask for a refactor to prepare, then ask for the actual change. Spend the time to ask for code quality/structure improvements.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue