Code Monkey home page Code Monkey logo

Comments (3)

nreimers avatar nreimers commented on August 22, 2024 1

Hi,
Tensorflow sadly doesn't work with the character-based word embeddings (which are used for the pre-trained model).

Theano should work, but I think with the most recent version of theano there might be a problem? Which version of theano do you have? I developed the code for theano==0.9.0

Further I can recommend to try the docker version of this script:
https://github.com/UKPLab/emnlp2017-bilstm-cnn-crf/tree/master/docker

This will install all needed dependencies and you can run the code within the docker container. Issues with different versions of the deep learning frameworks will always be an issue, as these frameworks develop so rapidly. So often after 1/2 - 1 year, old code is no longer running. Here is docker a great solution to ensure that code is also runnable after a longer period of time, as you can exactly control your environment.

from emnlp2017-bilstm-cnn-crf.

yingdongucas avatar yingdongucas commented on August 22, 2024

@nreimers Thank you very much for your solution, it perfectly works. I am using theano 0.9.0 now.

from emnlp2017-bilstm-cnn-crf.

nreimers avatar nreimers commented on August 22, 2024

Great to hear, that it works now.

Sadly it is quite hard to keep code up-to-date with the most recent versions of the different deep learning frameworks, so sadly I don't know why it breaks with the latest version of theano.

from emnlp2017-bilstm-cnn-crf.

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.