推荐学习书目
› 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 · Jul 25, 2023 · 1940 views
    This topic created in 1167 days ago, the information mentioned may be changed or developed.

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

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

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

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

    百度的 nlp 里面有这样的能力。 我之前用都是调用云平台接口,你可以评估下。
    lishoujun
        5
    lishoujun  
       Jul 25, 2023 via Android
    量大企业级应用,可以联系客服,如果需要我也可以找个原同事协助对接。
    dayeye2006199
        6
    dayeye2006199  
       Jul 26, 2023 via Android
    @gitxuzan 这个 inference 分 tier ,你用的不花钱的当然慢。出钱买付费版就快了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   820 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 78ms · UTC 18:57 · PVG 02:57 · LAX 11:57 · JFK 14:57
    ♥ Do have faith in what you're doing.