Giter VIP home page Giter VIP logo

Comments (3)

emfomy avatar emfomy commented on June 28, 2024

訓練標記可以是其他的值,像 NER 的 Label 就有 B-PRODUCT, I-PRODUCT(詳見 https://huggingface.co/ckiplab/bert-base-chinese-ner/blob/main/config.json#L11)

from ckip-transformers.

KuoFengYu avatar KuoFengYu commented on June 28, 2024

你好,謝謝回答
那我看 https://huggingface.co/ckiplab/bert-base-chinese-ws/blob/main/config.json
bert-base-chinese-ws訓練資料標記只有B與I (再先前也有人提問過的issue中的回答),那針對訓練資料中非實體的"O" 的部份需要怎麼處理,會是直接將O的部分拿掉嗎?

from ckip-transformers.

emfomy avatar emfomy commented on June 28, 2024

bert-base-chinese-ws 是斷詞而非實體辨識模型,所以訓練標記中沒有 "O" 的部分。

請根據你的資料性質選擇適合的模型訓練。

from ckip-transformers.

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.