Giter VIP home page Giter VIP logo

自定义数据集训练的话, 是不是只需要把数据集做成cluener的样子,放在dataset/cluener文件就可以了,需不需要为自己的数据集重写processor? about bert-ner-pytorch HOT 4 OPEN

LXXiaogege avatar LXXiaogege commented on June 26, 2024
自定义数据集训练的话, 是不是只需要把数据集做成cluener的样子,放在dataset/cluener文件就可以了,需不需要为自己的数据集重写processor?

from bert-ner-pytorch.

Comments (4)

chasingdream9 avatar chasingdream9 commented on June 26, 2024

请问你用自定义的训练集训练成功了吗,我也是不知道怎么自己训练其他的数据集

from bert-ner-pytorch.

jhy354 avatar jhy354 commented on June 26, 2024

格式一样就不用重写processor吧, 我半年前在华为云modelart上训练过自己的数据, 格式一样直接用就行了
或者格式不一样的话可以试试写个脚本转化成一样的格式, 这样方便一点, 不用改processor

from bert-ner-pytorch.

Violettttee avatar Violettttee commented on June 26, 2024

格式一样就不用重写processor吧, 我半年前在华为云modelart上训练过自己的数据, 格式一样直接用就行了 或者格式不一样的话可以试试写个脚本转化成一样的格式, 这样方便一点, 不用改processor

如果我的标签有所增加删减的话,在processor中需要添加我增加/删除的标签吗?

from bert-ner-pytorch.

jhy354 avatar jhy354 commented on June 26, 2024

格式一样就不用重写processor吧, 我半年前在华为云modelart上训练过自己的数据, 格式一样直接用就行了 或者格式不一样的话可以试试写个脚本转化成一样的格式, 这样方便一点, 不用改processor

如果我的标签有所增加删减的话,在processor中需要添加我增加/删除的标签吗?

是的, 如果不想改其实可以偷懒, 直接文本替换掉就行了
比如你用不到NAME, 那就把所有O-NAME B-NAME替换成你要的标签就行

from bert-ner-pytorch.

Related Issues (20)

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.