Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何用在custom model上? #4

Open
tianyma opened this issue May 16, 2024 · 5 comments
Open

如何用在custom model上? #4

tianyma opened this issue May 16, 2024 · 5 comments

Comments

@tianyma
Copy link

tianyma commented May 16, 2024

感谢你们的工作!
请问可否用在自定义的模型上,比如Latte

@GuoYi0
Copy link
Collaborator

GuoYi0 commented May 16, 2024

感谢你们的工作! 请问可否用在自定义的模型上,比如Latte

可以的,需要修改一下llama.py那个文件

@tianyma
Copy link
Author

tianyma commented May 16, 2024

感谢及时回复,可否详细解释一下需要修改的地方吗?

@GuoYi0
Copy link
Collaborator

GuoYi0 commented May 16, 2024

感谢及时回复,可否详细解释一下需要修改的地方吗?

这个要看自定义的模型是啥结构,可能需要把llama.py那个文件看懂才行

@chuangzhidan
Copy link

感谢你们的工作! 请问可否用在自定义的模型上,比如Latte

可以的,需要修改一下llama.py那个文件

非llama,如主流的开源、国内模型也可以?

@GuoYi0
Copy link
Collaborator

GuoYi0 commented May 17, 2024

感谢你们的工作! 请问可否用在自定义的模型上,比如Latte

可以的,需要修改一下llama.py那个文件

非llama,如主流的开源、国内模型也可以?

都可以的。这是一个通用量化框架。。接入自定义的量化模型的话,可能需要对自定义的模型结构有一点了解,并且把llama.py这个文件看懂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants