Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: <title> GraphRAG supports English, but does it support other languages, such as Chinese? #916

Closed
2 tasks
zhangjiuyang1993 opened this issue Aug 13, 2024 · 5 comments
Labels
community_support Issue handled by community members

Comments

@zhangjiuyang1993
Copy link

Is there an existing issue for this?

  • I have searched the existing issues
  • I have checked #657 to validate if my issue is covered by community support

Describe the issue

No response

Steps to reproduce

No response

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:
@zhangjiuyang1993 zhangjiuyang1993 added the triage Default label assignment, indicates new issue needs reviewed by a maintainer label Aug 13, 2024
@luneice
Copy link

luneice commented Aug 13, 2024

需要把很多 prompt 进行翻译,翻译之后效果好一些。但是总是会在提取实体的那步出错。目前尝试了N次,就成功了三次。

@novem33
Copy link

novem33 commented Aug 13, 2024

需要把很多 prompt 进行翻译,翻译之后效果好一些。但是总是会在提取实体的那步出错。目前尝试了N次,就成功了三次。

好想知道成功了三次是調整那些內容,微軟這整個架構有點巨大!!!

@6ixGODD
Copy link
Contributor

6ixGODD commented Aug 13, 2024

需要把很多 prompt 进行翻译,翻译之后效果好一些。但是总是会在提取实体的那步出错。目前尝试了N次,就成功了三次。

@luneice 把prompt全改成中文我没试过,不过你倒是可以试试在entity_extraction.txt中的第三步和第四步把English换成Chinese,别的保持不变,直接用Prompt Tuning也是这么搞的,再提供些示例。我试了效果还行。
要么继承BaseLLM类实现一个中文大模型的API,比如文心或者kimi,替换openai GPT,再用全中文的prompt试试。我正打算后面这么做做看

@natoverse
Copy link
Collaborator

Please see #696

@natoverse natoverse closed this as not planned Won't fix, can't repro, duplicate, stale Aug 13, 2024
@natoverse natoverse added community_support Issue handled by community members and removed triage Default label assignment, indicates new issue needs reviewed by a maintainer labels Aug 13, 2024
@night666e
Copy link

需要把很多 prompt 进行翻译,翻译之后效果好一些。但是总是会在提取实体的那步出错。目前尝试了N次,就成功了三次。

@luneice 把prompt全改成中文我没试过,不过你倒是可以试试在entity_extraction.txt中的第三步和第四步把English换成Chinese,别的保持不变,直接用Prompt Tuning也是这么搞的,再提供些示例。我试了效果还行。 要么继承BaseLLM类实现一个中文大模型的API,比如文心或者kimi,替换openai GPT,再用全中文的prompt试试。我正打算后面这么做做看

有效果吗,为什么我改用提示词就管道错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_support Issue handled by community members
Projects
None yet
Development

No branches or pull requests

6 participants