-
The example does not work
response, history = model.chat(tokenizer, "hello", history=[])
>> AttributeError: 'InternLMModel' object has no attribute 'chat'
-
### 📚 The doc issue
I'm not able to figure out how to activate rope scaling.
### Suggest a potential alternative/fix
_No response_
-
### Describe the question.
Thank you for your awesome work.
I now want to use internLM-chat-7b-8k to achieve English to Chinese translation.
The prompt I am using is
``` python
f":请你把下面的英文翻译成中…
-
### Describe the bug
none
### Environment
none
### Other information
_No response_
-
### Describe the bug
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 25401: invalid start byte
The above exception was the direct cause of the following exception:
╭─────────…
-
感谢开源!
我想做一组Retrieval QA的测试,请问用什么prompt比较合适,我试了几个prompt都不太好,比如下面这个internLM-7b-chat会用英文来回答,而直接使用chat接口回答都很简短。
```
prompt_template = f"""User: 已知信息:
{context}
根据上述已知信息,专业的回答用户的问题。如果无法从中得到答案,…
-
Thanks
-
### System Info
- `transformers` version: 4.33.2
- Platform: Linux-5.15.0-1041-aws-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.17.2
- Safetensors version: 0.3.3
…
-
用法参考了文档:https://github.com/InternLM/xtuner/blob/main/docs/zh_cn/user_guides/single_turn_conversation.md
在./定义了映射函数文件custom_adcompcot_map_fn.py,并在自定义的config中进行了import:
from .custom_adcompcot_map_…
-
```shell
(lmdeploy) ➜ lmdeploy git:(main) python -m lmdeploy.pytorch.chat /mnt/internlm-7b \
--max_new_tokens 64 \
--temperture 0.8 \
--top_p 0.95 \
--seed 0
Traceback (most re…