Code Monkey home page Code Monkey logo

Comments (5)

cbaziotis avatar cbaziotis commented on August 17, 2024

It seems that you use python 2. The codebase is compatible only with python 3. You have to make some minor changes i assume and you should be fine.

For instance you have to resolve the incompatibility regarding print. https://stackoverflow.com/questions/32032697/how-to-use-from-future-import-print-function

from ntua-slp-semeval2018.

amirim avatar amirim commented on August 17, 2024

Thanks, it works with python3.
Now there is another problem when running the script: sentiment2017.py: word2vec_300_6_concatened.txt is missing.

from ntua-slp-semeval2018.

cbaziotis avatar cbaziotis commented on August 17, 2024

This is a word embeddings file. Follow the instruction in the ReadMe (Prerequisites):

  1. Download an embeddings file https://github.com/cbaziotis/ntua-slp-semeval2018#2---download-our-pre-trained-word-embeddings
  2. Update the model config https://github.com/cbaziotis/ntua-slp-semeval2018#3---update-model-configs

from ntua-slp-semeval2018.

amirim avatar amirim commented on August 17, 2024

but the file names are: ntua_twitter_300.txt/ ntua_twitter_affect_310.txt, and I'm searching these files: word2vec_300_6_20_neg.txt",
word2vec_300_6_concatened.txt
word2vec_500_6_20_neg.txt",
word2vec_500_6_concatened.txt

from ntua-slp-semeval2018.

cbaziotis avatar cbaziotis commented on August 17, 2024

Go here https://github.com/cbaziotis/ntua-slp-semeval2018/blob/master/model/params.py#L216
Change it to the embeddings file that you want...

from ntua-slp-semeval2018.

Related Issues (16)

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.