added deepseek-chat v2

This commit is contained in:
Paul Gauthier 2024-05-07 06:26:39 -07:00
parent b1cae73a85
commit ecca737803
3 changed files with 23 additions and 3 deletions

View file

@ -313,4 +313,25 @@
versions: 0.31.2-dev versions: 0.31.2-dev
seconds_per_case: 22.9 seconds_per_case: 22.9
total_cost: 2.7494 total_cost: 2.7494
- dirname: 2024-05-07-12-55-06--deepseek-chat-v2-whole
test_cases: 133
model: deepseek-chat v2
edit_format: whole
commit_hash: b1cae73, db994fb
pass_rate_1: 50.4
pass_rate_2: 60.2
percent_cases_well_formed: 100.0
error_outputs: 3
num_malformed_responses: 0
user_asks: 3
lazy_comments: 13
syntax_errors: 0
indentation_errors: 2
exhausted_context_windows: 0
test_timeouts: 1
command: aider --model openai/deepseek-chat
date: 2024-05-07
versions: 0.31.2-dev
seconds_per_case: 42.4
total_cost: 0.0000

View file

@ -293,7 +293,6 @@ def load_results(dirname):
def summarize_results(dirname): def summarize_results(dirname):
all_results = load_results(dirname) all_results = load_results(dirname)
dump(len(all_results))
res = SimpleNamespace() res = SimpleNamespace()
res.total_tests = len(list(Path(dirname).glob("*"))) res.total_tests = len(list(Path(dirname).glob("*")))

View file

@ -15,7 +15,7 @@ Aider works with a number of **free** API providers:
- Google's [Gemini 1.5 Pro](#gemini) is the most capable free model to use with aider, with - Google's [Gemini 1.5 Pro](#gemini) is the most capable free model to use with aider, with
code editing capabilities similar to GPT-3.5. code editing capabilities similar to GPT-3.5.
- You can use [Llama 3 70B on Groq](#groq) which is comparable to GPT-3.5 in code editing performance. - You can use [Llama 3 70B on Groq](#groq) which is comparable to GPT-3.5 in code editing performance.
- The [Deepseek Coder](#deepseek) model works well with aider, comparable to GPT-3.5. Deepseek.com currently offers 5M free tokens of API usage. - The [Deepseek Chat v2](#deepseek) model work well with aider, better than GPT-3.5. Deepseek.com currently offers 5M free tokens of API usage.
- Cohere also offers free API access to their [Command-R+ model](#cohere), which works with aider as a *very basic* coding assistant. - Cohere also offers free API access to their [Command-R+ model](#cohere), which works with aider as a *very basic* coding assistant.
## Local models ## Local models
@ -294,7 +294,7 @@ export OPENAI_API_BASE=https://api.deepseek.com/v1
setx OPENAI_API_KEY <key> setx OPENAI_API_KEY <key>
setx OPENAI_API_BASE https://api.deepseek.com/v1 setx OPENAI_API_BASE https://api.deepseek.com/v1
aider --model openai/deepseek-coder aider --model openai/deepseek-chat
``` ```
See the [model warnings](#model-warnings) See the [model warnings](#model-warnings)