A object to visualize hidden state of chatglm3 model.
- Make sure your chatglm3-6b model is correctly prepared.
- Copy file
THUDM\chatglm3-6b\config.json
andTHUDM\chatglm3-6b\modeling_chatglm_hid_save.py
to your chatglm3 model path (which seems likeE:\github_project\ChatGLM3\THUDM\chatglm3-6b
), this will cause two original files to be overwritten.
task | nums |
---|---|
translator | 1034 |
summarizer | 1000 |
first word selector | 1000 |
word num counter | 1000 |