ChatGLM-6B
ChatGLM-6B copied to clipboard
[BUG/Help] <title>请问有人将ChatGLM与llama_index结合吗
trafficstars
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
希望做一个中文文本搜索库,但是不知道怎么将ChatGLM与llama_index结合,有人做过吗,感谢!
Expected Behavior
No response
Steps To Reproduce
OS: Ubuntu 16.04 Python: 3.8 Transformers: 4.26.1 PyTorch: 1.12 CUDA Support: True
Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :
Anything else?
No response
实测 llama-index 自定义模型过程相对麻烦,而且基本都是对 langchain 中的类进行二次封装,所以目前有基于 langchain 和 chatglm 的本地知识问答应用,可以参考项目 https://github.com/imClumsyPanda/langchain-ChatGLM
实测 llama-index 自定义模型过程相对麻烦,而且基本都是对 langchain 中的类进行二次封装,所以目前有基于 langchain 和 chatglm 的本地知识问答应用,可以参考项目 https://github.com/imClumsyPanda/langchain-ChatGLM
感谢!