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

chatglm_tokenizer 模块是在哪个软件包中? #75

Open
PANASV opened this issue May 18, 2024 · 2 comments
Open

chatglm_tokenizer 模块是在哪个软件包中? #75

PANASV opened this issue May 18, 2024 · 2 comments

Comments

@PANASV
Copy link

PANASV commented May 18, 2024

data_process.py中,导入函数库时在下面这行:
from chatglm_tokenizer.tokenization_chatglm import ChatGLMTokenizer

出现以下错误:

----> 5 from chatglm_tokenizer.tokenization_chatglm import ChatGLMTokenizer
6 import pandas as pd
7 # from zhconv import convert

ModuleNotFoundError: No module named 'chatglm_tokenizer'

请问chatglm_tokenizer 模块是在哪个软件包中?

@buhe
Copy link

buhe commented May 25, 2024

有同名文件夹,python不光可以加载包也可以加载文件夹

@bingqianliu2017
Copy link

在chatglm_tokenizer这个文件夹下的子python文件

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