Lychee X
Lychee X
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for PrefixEncoder: size mismatch for embedding.weight: copying a param with shape torch.Size([8, 229376]) from checkpoint, the shape in...
this is a big bug !!!
fine tune ?? 是不是得用huggingface框架啊?
超内存了吧,你试试10M的,50M的。 你这个是部署的api.py么?
[我也是看不太懂咋请求api](https://github.com/imClumsyPanda/langchain-ChatGLM/issues/465),postman咋测试啊?对于知识库问答的
pass it your token ??? I have token but how to use it ? @sgugger
this will make it great
@sgugger this is a bug, not question
bug记录2:参考[此文档](https://www.heywhale.com/mw/project/643977aa446c45f4592a1e59) ``` local_doc_qa.init_cfg(llm_model=LLM_MODEL, embedding_model=EMBEDDING_MODEL, llm_history_len=LLM_HISTORY_LEN, top_k=VECTOR_SEARCH_TOP_K) ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ :1 in │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: init_cfg() got an unexpected keyword argument 'llm_history_len' ```