GithubHelp home page GithubHelp logo

ozanarkancan / char-ner Goto Github PK

View Code? Open in Web Editor NEW
25.0 8.0 8.0 341.41 MB

Multi lingual character based named entity recognizer

Python 85.51% Makefile 0.13% Perl 14.36%
character-level named-entity-recognition bidirectional-lstms deep-learning multilingual

char-ner's People

Contributors

kuruonur1 avatar ozanarkancan 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

char-ner's Issues

package requirements

Hi,

is it possible to share what are the library package requirements that you use to run this package?

i am pretty new to running people's codes. i have been trying to run your codes, but i cant run it successfully.

first there was issue with theano version unable to locate downsample, after which i downgraded to 0..
next, it produced ValueError: Cannot construct a ufunc with more than 32 operands (requested number were: inputs = 62 and outputs = 1) which through some google it shows it has to do with numpy version.
then i downgraded to 1.8.0 numpy and it produces ValueError: ('The following error happened while compiling the node', forall_inplace,cpu,scan_fn}(Elemwise{minimum,no_inplace}.0, Elemwise{sub,no_inplace}.0, Subtensor{int64:int64:int8}.0, Subtensor{int64:int64:int8}.0, IncSubtensor{InplaceSet;:int64:}.0, IncSubtensor{InplaceSet;:int64:}.0, Join.0, InplaceDimShuffle{x,0}.0, InplaceDimShuffle{x,0}.0, InplaceDimShuffle{x,0}.0), '\n', 'numpy.dtype has the wrong size, try recompiling')

Hopefully you can share with me the package requirements so i can run this successfully. Thanks!

Error in running exper.py example command

I'm using Ubuntu 18.10 and installed the dependencies using pip3. When I run the example command:
python3 src/exper.py --activation bi-lstm --n_hidden 128 128 --drates .2 .5 .8 --lang cze

I get the following error:

WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions. Traceback (most recent call last): File "exper.py", line 12, in <module> from dataset import Dset File "/home/hasan/Documents/char-ner/src/dataset.py", line 4, in <module> import rep File "/home/hasan/Documents/char-ner/src/rep.py", line 59 print ' '.join(map(('{:^%d}'%mlen).format, [a[ci] for ci in cil] + [a[si]])) ^ SyntaxError: invalid syntax

Data Files

Hi,
I found your paper interesting and I am trying to implement the same for english CoNLL 2003 dataset, is there any kind of preprocessing required for the data? Is it possible for you to provide the other languages datasets also which have been used for the paper.

No such file error

I am getting the following error when trying to run the example command. What is going wrong here ?

$ python src/exper.py --activation bi-lstm --n_hidden 128 128 --drates .2 .5 .8 --lang cze
Traceback (most recent call last):
File "src/exper.py", line 238, in
main()
File "src/exper.py", line 221, in main
setup_logger(args)
File "src/exper.py", line 208, in setup_logger
ihandler = logging.FileHandler('{}/{}.info'.format(LOG_DIR,base_log_name), mode='w')
File "/home/sdn/anaconda3/envs/my_env_deep27/lib/python2.7/logging/init.py", line 913, in init
StreamHandler.init(self, self._open())
File "/home/sdn/anaconda3/envs/my_env_deep27/lib/python2.7/logging/init.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/home/sdn/Desktop/char-ner/logs/onos-p4-dev-vm:cpu,activation:bi-lstm,n_hidden:128,128,fbmerge:concat,drates:0.2,0.5,0.8,recout:0,opt:adam,lr:0.001,norm:1,gclip:0,truncate:-1,n_batch:32,shuf:1,captrn:500,emb:0,lang:cze,fbias:0.0.info'

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.