V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
gitxuzan
V2EX  ›  Python

请求帮助, py 有没有开源的根据标题生成标签的开源模型?

  •  
  •   gitxuzan · 278 天前 · 735 次点击
    这是一个创建于 278 天前的主题,其中的信息可能已经有所发展或是发生改变。

    请求帮助,py 有没有开源的根据标题生成标签的开源模型?

    求推荐,谢谢,标题是英文标题,需要打标签也是英文的

    6 条回复    2023-07-26 02:34:53 +08:00
    dayeye2006199
        1
    dayeye2006199  
       278 天前
    如果你没数据微调的话,你需要 zero shot 分类模型: https://huggingface.co/tasks/zero-shot-classification

    也可以把 candidate labels 当成信息提供给 chatGPT ,做 zero shot
    gitxuzan
        2
    gitxuzan  
    OP
       278 天前
    @dayeye2006199 感谢,我看下
    gitxuzan
        3
    gitxuzan  
    OP
       278 天前
    @dayeye2006199 兄弟,有没有直接生成标签的方式?我试了下上面的 zero shot ,如果给的标签太多了,算出来速度特别慢
    lishoujun
        4
    lishoujun  
       278 天前 via Android
    https://ai.baidu.com/tech/nlp_apply/doctagger

    百度的 nlp 里面有这样的能力。 我之前用都是调用云平台接口,你可以评估下。
    lishoujun
        5
    lishoujun  
       278 天前 via Android
    量大企业级应用,可以联系客服,如果需要我也可以找个原同事协助对接。
    dayeye2006199
        6
    dayeye2006199  
       277 天前 via Android
    @gitxuzan 这个 inference 分 tier ,你用的不花钱的当然慢。出钱买付费版就快了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2966 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 14:33 · PVG 22:33 · LAX 07:33 · JFK 10:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.