Coder Social home page Coder Social logo

Comments (4)

andreagrusso avatar andreagrusso commented on August 17, 2024 1

I've resolved the issue by using:
!pip install git+https://github.com/n-waves/multifit.git !pip install sacremoses

I don't know what is the difference with the other way but now it works. I hope it will help other users!

from multifit.

mkardas avatar mkardas commented on August 17, 2024

Hi Andrea,

I guess that instead of importing the multifit module you've somehow imported the repository directory. Can you verify that by inspecting multifit.__path__?

from multifit.

andreagrusso avatar andreagrusso commented on August 17, 2024

Hi, thank you for your reply!
I think that you're right as multifit.__path__ returns

_NamespacePath(['/content/multifit'])

and inspecting the above path I got exactly the repository directory

fastai_contrib
prepare_cls.py
prepare_xnli.py
sotabench
get_preprocessed_wikis.sh
prepare_imdb.sh
prepare_xnli.sh
split-cls.py
LICENSE
prepare_mldoc.py
README.md
multifit
prepare_wiki-en.sh
requirements.txt
notebooks
prepare_wiki.sh
setup.py

I've tried again to install setup.py as I did on my local machine !python /content/multifit/setup.py install but the problem persists. I don't understand what I am doing wrong.

from multifit.

mkardas avatar mkardas commented on August 17, 2024

It depends on what's on your $PYTHON_PATH. Installing directly from repository works as the repository directory is not cloned into your current working directory.

from multifit.

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.