You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating RAG Q&A for legal case applications, specifying legal cases in the System Prompt that contain phrases such as "非法制造枪支" sometimes results in an inability to generate a response.
Is this badcase known and can it be solved using avaiable techniques?
I have checked the documentation of the related framework and cannot find useful information.
I have searched the issues and there is not a similar one.
Information about environment
When creating RAG Q&A for legal case applications, specifying legal cases in the System Prompt that contain phrases such as "非法制造枪支" sometimes results in an inability to generate a response. I would like to understand how to operate in legal scenarios to reply to content with sensitive vocabulary themes.
What are some solutions?
What other types of topics or vocabulary cannot be answered?
Description
Steps to reproduce
This happens to Qwen2.5-xB-Instruct-xxx and xxx.
The badcase can be reproduced with the following steps:
...
...
The following example input & output can be used:
system: ...
user: ...
...
Expected results
The results are expected to be ...
Attempts to fix
I have tried several ways to fix this, including:
adjusting the sampling parameters, but ...
prompt engineering, but ...
Anything else helpful for investigation
I find that this problem also happens to ...
The text was updated successfully, but these errors were encountered:
Model Series
Qwen2.5
What are the models used?
Qwen2.5-7B-Instruct
What is the scenario where the problem happened?
When creating RAG Q&A for legal case applications, specifying legal cases in the System Prompt that contain phrases such as "非法制造枪支" sometimes results in an inability to generate a response.
Is this badcase known and can it be solved using avaiable techniques?
Information about environment
When creating RAG Q&A for legal case applications, specifying legal cases in the System Prompt that contain phrases such as "非法制造枪支" sometimes results in an inability to generate a response. I would like to understand how to operate in legal scenarios to reply to content with sensitive vocabulary themes.
What are some solutions?
What other types of topics or vocabulary cannot be answered?
Description
Steps to reproduce
This happens to Qwen2.5-xB-Instruct-xxx and xxx.
The badcase can be reproduced with the following steps:
The following example input & output can be used:
Expected results
The results are expected to be ...
Attempts to fix
I have tried several ways to fix this, including:
Anything else helpful for investigation
I find that this problem also happens to ...
The text was updated successfully, but these errors were encountered: