ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: Why ragflow need to use a model named "qwen2-instruct-1-0" when the Chunk Method is "Knowledge Graph"?

Open wuxiweili opened this issue 1 year ago • 5 comments

Describe your problem

QQ20240919-110315

My default model is named "qwen2-instruct" in System. Why ragflow need to use a model named "qwen2-instruct-1-0" when the Chunk Method is "Knowledge Graph"?

Error: xinference.api.restful_api 2829 ERROR [address=0.0.0.0:43828, pid=2863] Model not found, uid: qwen2-instruct-1-0

wuxiweili avatar Sep 19 '24 03:09 wuxiweili

I find you have implement RAGFlow in your computer. Therefore, you need to write GPT API in your system setting. In the version of online demo, each user will obtain some free tokens from GPT. When it comes to local version, you must prepare API key to run the RAGFlow

SummerDream233 avatar Sep 19 '24 05:09 SummerDream233

The error message is from xinference. Maybe the model in xinference is named 'qwen2-instruct-1-0'. RAGFlow will not rename the model.

KevinHuSh avatar Sep 20 '24 03:09 KevinHuSh

我也遇到了同样的问题。我用xinference部署的bge-m3glm4-chat

image

但在ragflow中模型名称都变了,加了"-1-0"的后缀: image image

Muttermal avatar Oct 21 '24 08:10 Muttermal

mark.met the same problem, when I use the graphrag mode:`ERROR: Error code: 400 - {'detail': '[address=0.0.0.0:50218, pid=40327] Model not found, uid: qwen2.5-instruct-2-0'}

{'root': {}} ERROR: Error code: 400 - {'detail': '[address=0.0.0.0:50218, pid=40327] Model not found in the model list, uid: qwen2.5-instruct-2-0'}

{'root': {}} ERROR: Error code: 400 - {'detail': '[address=0.0.0.0:50218, pid=40327] Model not found, uid: qwen2.5-instruct-2-0'} ` but actually in xinference and database, it is qwen2.5, where is the address varible stored?

skytodmoon avatar Oct 22 '24 02:10 skytodmoon

mark.met the same problem, when I use the graphrag mode:`ERROR: Error code: 400 - {'detail': '[address=0.0.0.0:50218, pid=40327] Model not found, uid: qwen2.5-instruct-2-0'}

{'root': {}}

ERROR: Error code: 400 - {'detail': '[address=0.0.0.0:50218, pid=40327] Model not found in the model list, uid: qwen2.5-instruct-2-0'} {'root': {}} ERROR: Error code: 400 - {'detail': '[address=0.0.0.0:50218, pid=40327] Model not found, uid: qwen2.5-instruct-2-0'} ` but actually in xinference and database, it is qwen2.5, where is the address varible stored?

I restart the xinference llm service and the problem fixed.

skytodmoon avatar Oct 22 '24 05:10 skytodmoon

@infiniflow

Mar2812 avatar Jan 17 '25 09:01 Mar2812