abetlen / abetlen/llama-cpp-python

DeepSeek-R1-Distill-Qwen-1.5B inference answer is wrong

Open
#1,949 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10.6k
Forks
1.4k
PR merge metrics
PR metrics pending

Description

I encountered the following problem when using llama cpp python on Mac. The model's answer is completely unreasonable. The red box contains the question and answer.

![Image](https://github.com/user-attachments/assets/7ec01319-ff12-4de8-aab6-77e701de2fc3)

The configuration is as follows:
**model:** DeepSeek-R1-Distill-Qwen-1.5B.gguf
**Quantization:** Q4_K_M
**llama_cpp_python:** 0.3.7
**API:** create_chat_completion
**model input:**[{'role': 'system', 'content': 'you are a helpful assistant'}, {'role': 'user', 'content': 'There are 20 chickens and rabbits in a cage. It is known that these chickens and rabbits have 56 legs in total. Chickens have two legs and rabbits have four legs. How many chickens and rabbits are there in the cage?'}]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.