Closed gklein closed 2 months ago
are you sure that your deployment is working ? were you able to access the model without cover agent ? my guess is that the deployment is not working
also validate the litellm is supporting deepseek-v2. maybe we need a newer version
are you sure that your deployment is working ? were you able to access the model without cover >agent ? my guess is that the deployment is not working
The model seems to be functional on my machine when I'm using it without cover agent:
ollama run deepseek-v2
>>> write a python function that calculates a fibonacci sequence
Here is a simple Python function to generate the Fibonacci sequence up to n terms. This implementation uses an iterative
approach, which should be efficient for most practical purposes.
python
def fibonacci(n):
if n <= 0:
return "Input must be positive integer"
elif n == 1:
return [0]
elif n == 2:
return [0, 1]
else:
sequence = [0, 1]
while len(sequence) < n:
next_value = sum(sequence[-2:])
if next_value > n:
break
sequence.append(next_value)
return sequence
You can use this function by calling it with the number of terms you want in the Fibonacci sequence as an argument. For
example, `fibonacci(10)` will generate the first 10 numbers in the Fibonacci sequence: [0, 1, 1, 2, 3, 5, 8, 13, 21, 34].
also validate the litellm is supporting deepseek-v2. maybe we need a newer version
In this case I'm using ollama for the inference so I don't think any special support is needed.
The error you sent means it failed to communicate with the model. i will try later on my machine
Unrelated, but since you seem to be interested in non-gpt4 models for code (:-)), you might find this relevant: https://pr-agent-docs.codium.ai/finetuning_benchmark/
The error you sent means it failed to communicate with the model. i will try later on my machine
I think you are right, it might be a bug with ollama, I see this on the ollama serve
output when running cover-agent with deepseek-v2:
time=2024-06-02T11:12:29.248+03:00 level=WARN source=server.go:448 msg="llama runner process no longer running" sys=6 string="signal: abort trap"
Unrelated, but since you seem to be interested in non-gpt4 models for code (:-)), you might find this relevant: https://pr-agent-docs.codium.ai/finetuning_benchmark/
Thanks for sharing! Is it possible to add more models to the leaderboard, e.g.: DeepSeek V2 and AutoCoder?
@gklein Can we close out this issue?
Yes it was a bug with Ollama
cover-agent failed when using ollama/deepseek-v2 - IndexError: list index out of range