Git Product home page Git Product logo

Comments (8)

jiesutd avatar jiesutd commented on August 16, 2024
  1. Character CNN/LSTM是可以和自定义feature一起用的,不冲突。
    2.你是对的,如果不用某个feature,你的输入文件里面就不需要那一列。并不是所有的都需要的。

from ncrfpp.

hit-joseph avatar hit-joseph commented on August 16, 2024

one more question,in the file named demo.train.config ,there are some Hyperparameters:
cnn_layer=4
char_hidden_dim=30
I can't really uderstand what those 2 parameters means, do you mind explain it? Thanks

from ncrfpp.

jiesutd avatar jiesutd commented on August 16, 2024

You may refer the configuration explanation here: https://github.com/jiesutd/NCRFpp/blob/master/readme/Configuration.md

from ncrfpp.

hit-joseph avatar hit-joseph commented on August 16, 2024

thank you .this file I have read already , so I JUST want to make it sure, if I use lstm as word-sequence layer,
cnn_layer is useless and can be annotated, and the parameter of char_hidden_dim=50 means the feature i extract from word and dim is 50 ,and than joint it after word2vec and pos_vec?

from ncrfpp.

jiesutd avatar jiesutd commented on August 16, 2024

Do you mean "ignored" rather than "annotated"? Yes, if you choose the LSTM to encode the word sequence then the settings of CNN can be ignored.

About the char_hidden_dim=50:
"the feature i extract from word and dim is 50", this is right.
"joint it after word2vec and pos_vec", it is concatenated with word embeddings(not word2vec) and feature embeddings.

from ncrfpp.

hit-joseph avatar hit-joseph commented on August 16, 2024

if I SET char_emb_dim=100 (this parameter in I/O part)
char_hidden_dim=50(this parameter in Hyperparameters part)
is that means i input the pretrained char_embedding which in 100 dim ,and after cnn_char_layer I GET char_features_embdding in 50dim?and it can concatenate with word embedding?

from ncrfpp.

jiesutd avatar jiesutd commented on August 16, 2024

exactly.

from ncrfpp.

hit-joseph avatar hit-joseph commented on August 16, 2024

thank you very much!

from ncrfpp.

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.