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

请问下如何使用该模型处理NLP各项任务? #28

Open
fishfree opened this issue Dec 17, 2024 · 3 comments
Open

请问下如何使用该模型处理NLP各项任务? #28

fishfree opened this issue Dec 17, 2024 · 3 comments

Comments

@fishfree
Copy link

如:分词、POS、句法依存等。
这个模型应该也是transformer架构的,是不是也要用pipelines来做?但我在huggingface官方文档或者此模型主页上都没能看到有上面几项任务的pipelines。

@Ethan-yt
Copy link
Owner

可以参考这个项目 https://github.com/Ethan-yt/guwen-models
一般这些任务都可以被归为序列标注任务(https://huggingface.co/tasks/token-classification)

@fishfree
Copy link
Author

@Ethan-yt 其实这些我看了之后才来问的。就是没能找到一个直接说明支持的pipelines的任务完整列表,只看到了NER。

@Ethan-yt
Copy link
Owner

@Ethan-yt 其实这些我看了之后才来问的。就是没能找到一个直接说明支持的pipelines的任务完整列表,只看到了NER。

统一使用"token-classification"即可

参考https://huggingface.co/tasks/token-classification

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

2 participants