Skip to content

Commit

Permalink
add PP-DocBee-7B weight (PaddlePaddle#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
luyao-cv authored Jan 12, 2025
1 parent 4460bac commit ad9665d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions paddlemix/examples/ppdocbee/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ PP-DocBee 是PaddleMIX团队自研的一款专注于文档理解的多模态大

**本仓库支持的模型权重:**

| Model |
|--------------------|
| PaddleMIX/PPDocBee-2B-1129 |
| Model | 模型大小 | Huggingface 仓库地址 |
|--------------------|----------|--------------------|
| PaddleMIX/PPDocBee-2B-1129 | 2B | [PPDocBee-2B-1210](https://huggingface.co/PaddleMIX/PPDocBee-2B-1210) |
| PaddleMIX/PPDocBee-7B-1210 | 7B | [PPDocBee-7B-1210](https://huggingface.co/PaddleMIX/PPDocBee-7B-1210) |


## 2 环境准备
Expand Down
2 changes: 1 addition & 1 deletion paddlemix/examples/ppdocbee/ppdocbee_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def main(args):
output_text = processor.batch_decode(
generated_ids[0], skip_special_tokens=True, clean_up_tokenization_spaces=False
)
print("output_text:\n", output_text)
print("output_text:\n", output_text[0])


if __name__ == "__main__":
Expand Down

0 comments on commit ad9665d

Please sign in to comment.