Giter VIP home page Giter VIP logo

easybert's Issues

pytorch版本

老师,您好,pytorch版本是否是1.4以上呢?您写的1.14以上

NER无法复现代码

@rsanshierli
预测输出如下

[Predicting] 10/10 [==============================] 16.0ms/step{'text': '四川敦煌学”。近年来,丹棱县等地一些不知名的石窟迎来了海内外的游客,他们随身携带着胡文和的著作。', 'label': {'movie': {'': [[0, 0]]}, 'game': {'': [[4, 4]]}, 'company': {'': [[6, 6], [47, 47]], '': [[8, 8]], '': [[9, 9]], '': [[10, 10], [33, 33]], '': [[11, 11]], '': [[13, 13]], '': [[15, 15]], '': [[17, 17]], '': [[20, 20]], '': [[21, 21], [30, 30], [44, 44]], '': [[26, 26]], '': [[29, 29]], '': [[32, 32]], '': [[35, 35]], '': [[37, 37]], '': [[40, 40]]}, 'name': {'': [[12, 12]], '': [[14, 14]], '': [[34, 34]]}, 'government': {'': [[19, 19]], '': [[23, 23]], '': [[24, 24]], '': [[27, 27]], '': [[45, 45]]}}}
{'text': '尼日利亚海军发言人当天在阿布贾向尼日利亚通讯社证实了这一消息。', 'label': {'position': {'': [[5, 5]]}, 'government': {'': [[6, 6]], '': [[12, 12]], '': [[14, 14]], '': [[18, 18]], '': [[19, 19]], '': [[20, 20]], '': [[23, 23]], '': [[29, 29]]}, 'company': {'': [[9, 9]], '': [[10, 10]], '': [[15, 15]], '': [[25, 25]]}}}
{'text': '销售冠军:辐射3-Bethesda', 'label': {'company': {'': [[0, 0]], 'B': [[9, 9]], 'e': [[10, 10]], 'a': [[16, 16]]}, 'scene': {'': [[1, 1]], '': [[4, 4]], 't': [[11, 11]], 'e': [[13, 13]], 's': [[14, 14]]}, 'address': {'': [[3, 3]]}, 'position': {'h': [[12, 12]]}}}
{'text': '所以大多数人都是从巴厘岛南部开始环岛之旅。', 'label': {'name': {'': [[2, 2]], '': [[8, 8]], '': [[10, 10]], '': [[13, 13]]}, 'company': {'': [[4, 4]], '': [[5, 5]], '': [[6, 6]], '': [[7, 7]], '': [[9, 9]], '': [[18, 18]], '': [[19, 19]]}}}
{'text': '备受瞩目的动作及冒险类大作《迷失》在其英文版上市之初就受到了全球玩家的大力追捧。', 'label': {'company': {'': [[0, 0]], '': [[1, 1]], '': [[24, 24]], '': [[25, 25]], '': [[29, 29]], '': [[33, 33]], '': [[36, 36]], '': [[38, 38]]}, 'scene': {'': [[2, 2]]}, 'government': {'': [[9, 9]], '': [[10, 10]]}, 'name': {'': [[17, 17]], '': [[35, 35]]}}}
{'text': 'filippagowski:14岁时我感觉自己像梵高', 'label': {'movie': {'f': [[0, 0]]}, 'company': {'i': [[12, 12]]}, 'government': {'': [[23, 23]], '': [[24, 24]]}}}
{'text': '央视新址文化中心外立面受损严重', 'label': {'company': {'': [[0, 0]], '': [[2, 2]], '': [[5, 5]], '': [[14, 14]]}, 'name': {'': [[1, 1]]}, 'government': {'': [[6, 6]], '': [[7, 7]]}}}
{'text': '单看这张彩票,税前总奖金为5063992元。本张票面缩水后阿森纳的结果全部为0,斯图加特全部为1,', 'label': {'name': {'': [[1, 1]], '6': [[15, 15]]}, 'company': {'': [[2, 2]], '': [[5, 5], [24, 24]], '': [[8, 8]], '': [[11, 11]], '': [[22, 22]], '': [[25, 25]], '': [[26, 26]]}, 'government': {'': [[4, 4]], '': [[10, 10]], '': [[27, 27]], '': [[29, 29]], '': [[30, 30]], '': [[31, 31]], '': [[34, 34]], '0': [[38, 38]], '': [[40, 40]], '': [[41, 41]], '': [[42, 42]], '': [[43, 43]], '': [[46, 46]]}, 'scene': {'': [[12, 12]], '9': [[18, 18]], '2': [[19, 19]]}, 'game': {'1,': [[47, 48]]}}}
{'text': '你会和星级厨师一道先从巴塞罗那市中心兰布拉大道的laboqueria市场的开始挑选食材,', 'label': {'name': {'': [[0, 0]], '': [[4, 4]], '': [[9, 9]], '': [[10, 10]], '': [[16, 16]], '': [[17, 17]], '': [[19, 19]]}, 'company': {'': [[2, 2]]}, 'position': {'': [[11, 11]]}, 'scene': {'': [[12, 12]]}, 'government': {'': [[21, 21]], '': [[22, 22]], '': [[34, 34]], '': [[42, 42]]}}}
{'text': '波特与凤凰社》的率队下更加红火。乘着7月的上升气流,《发胶》、《辛普森一家》、《谍影憧憧ⅲ》', 'label': {'name': {'': [[1, 1]]}, 'scene': {'': [[4, 4]], '': [[6, 6], [45, 45]], '': [[16, 16]], '': [[19, 19]], '': [[22, 22]], '': [[27, 27]], '': [[41, 41]]}, 'company': {'': [[7, 7]], '': [[15, 15]], '': [[24, 24]]}, 'government': {'': [[8, 8]], '': [[9, 9]], '': [[12, 12]], '': [[29, 29], [37, 37]], '': [[32, 32]], '': [[33, 33]], '': [[34, 34]], '': [[36, 36]]}}}

试了好几次都是这样
已经尝试过Albert, Roberta等

您好,关于NER需要求助

您好,我在跑ner的时候出现了以下报错:
Model name './NER/outputs/cluener_output/bert' was not found in tokenizers model name list
请问这是什么原因导致,应该怎么解决呢,非常感谢

没有模型数据

好像没有贴训练好的模型,无法调用测试,作者大大能贴下吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.