Instructions to use zai-org/chatglm-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm-6b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm-6b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
怎么用chatglm做embedding
#62
by betterme - opened
怎么用chatglm做embedding
同样的问题,调用chatglm.transformer.word_embeddings,对input_ids进行embedding提取,得到的都是0值?
问题已经解决
chatglm 的 token 长度限制是多少?
你是谁
问题已经解决
您能分享一下解决方法么?