阿里云部署langchain+chatglm2-6b大模型

https://mp.weixin.qq.com/s/uvKQUeL6bf2eNwKOLk7c0w

  • 基本上参考这篇文章就ok
  • 需要注意的点
  1. git-lfs的安装 https://github.com/git-lfs/git-lfs/tree/main
  2. 可以curl下载模型数据 https://cloud.tsinghua.edu.cn/d/674208019e314311ab5c/?p=%2Fchatglm2-6b&mode=list
  3. fatal: unable to access 'https://github.com/THUDM/ChatGLM2-6B.git/': GnuTLS recv error (-110): The TLS connection was non-prop
    https://blog.csdn.net/weixin_43108793/article/details/118306045
  4. ImportError: cannot import name 'builder' from 'google.protobuf.internal'
    https://stackoverflow.com/questions/71759248/importerror-cannot-import-name-builder-from-google-protobuf-internal
  5. RuntimeError: Internal: src/sentencepiece_processor.cc(1101) [model_proto->ParseFromArray(serialized.data(), serialized.size())] #770
    https://github.com/THUDM/ChatGLM-6B/issues/770
    这个的原因是没下载模型
posted @ 2023-07-25 12:38  java渣渣  阅读(642)  评论(0编辑  收藏  举报