lm-sys / lm-sys/FastChat

chatglm3-6b-32k generate abnormal output like <|user|> and <|assistant|>

Open
#3,421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

model:
https://huggingface.co/THUDM/chatglm3-6b-32k

run fastchat:
![image](https://github.com/lm-sys/FastChat/assets/1320460/adf3ada7-a9f8-4f40-b578-9e512a0e3cdd)

after add some debug info, i think this code not working
![image](https://github.com/lm-sys/FastChat/assets/1320460/85b7612f-829a-4bb0-b1ce-0e192c3d598e)
![image](https://github.com/lm-sys/FastChat/assets/1320460/335bd497-a55f-403e-969a-bf3be6d88062)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the FastChat run with the linked THUDM/chatglm3-6b-32k model and compare its output with the debug screenshots. Trace the generation path involved in that run, then verify that normal responses no longer contain the <|user|> or <|assistant|> markers.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.