Giter Club home page Giter Club logo

chinese-ner's Introduction

About Me

I am currently a Ph.D. student at Beijing Institute of Technology. My current research interests lie in the general area of natural language processing, particularly efficient language models and language agents.

📫 Contact me via chenzhang9702[AT]outlook[DOT]com.

Chen's GitHub stats

chinese-ner's People

Contributors

genezc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chinese-ner's Issues

question about saving model as SavedModel

Hi,
I am trying to save the model as SavedModel. Could you plase help me with defining about inputs and outputs?

I think the model's inputs and outputs should be like this:
inputs={"ChatInputs": model.char_inputs, "Dropout": model.dropout},
outputs={"project/Reshape": model.logits, "crf_loss/transitions":model.trans}

Is this right?
Thank you!

AssertionError when train the model

I have got the issue when train the model come across the AssertionError.
assert os.path.isfile(ext_emb_path)
Could you pls help to solve this problem. Many thx.

Testing fails

Hi, I ran the code setting train flag as False. It throws me this error:

File "D:/Chinese-NER-master/main.py", line 218, in
tf.app.run(main)
File "C:\Users\Mandar\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "D:/Chinese-NER-master/main.py", line 214, in main
evaluate_line()
File "D:/Chinese-NER-master/main.py", line 205, in evaluate_line
result = model.evaluate_line(sess, input_from_line(line, char_to_id), id_to_tag)
File "D:\Chinese-NER-master\model.py", line 285, in evaluate_line
lengths, scores = self.run_step(sess, False, inputs)
File "D:\Chinese-NER-master\model.py", line 235, in run_step
lengths, logits = sess.run([self.lengths, self.logits], feed_dict)
File "C:\Users\Mandar\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "C:\Users\Mandar\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1128, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (1, 7) for Tensor 'ChatInputs:0', which has shape '(?, ?, ?)'

Please help

About the train data

Hi, How do you get the data about this task , MSRA (Bakeoff 2006). I can not google for that.

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.