Skip to content

Conversation

@lxp521125
Copy link
Contributor

for chatglm2

PR types

demo预测支持chatglm2

PR changes

修改指定chatglm改为自动通过model名字来引入模型

Description

替换了导入的ChatGLMForCausalLM, ChatGLMTokenizer改为导入AutoTokenizer, AutoModelForCausalLM
并且验证通过

@CLAassistant
Copy link

CLAassistant commented Jul 25, 2023

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #6491 (2224ca3) into develop (9eb3cd7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #6491   +/-   ##
========================================
  Coverage    63.16%   63.16%           
========================================
  Files          529      529           
  Lines        77244    77244           
========================================
  Hits         48793    48793           
  Misses       28451    28451           

Copy link
Contributor

@sijunhe sijunhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@sijunhe sijunhe merged commit 2a74edc into PaddlePaddle:develop Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants