GithubHelp home page GithubHelp logo

Comments (7)

yashmahendra13 avatar yashmahendra13 commented on June 1, 2024 2

Thanks, @Christopher-Thornton just wanted to bring this to your attention. This is a great package, if I have some capacity, I can help address the above issue.

I have installed an earlier version of scikit-learn. The fix is here if anyone faced this issue ->https://stackoverflow.com/questions/65635575/attributeerror-minmaxscaler-object-has-no-attribute-clip

from hmni.

Christopher-Thornton avatar Christopher-Thornton commented on June 1, 2024 2

@gloriamacia I've pinned the sklearn version to 0.23.1 in the requirements.txt.

Hopefully I will have the time in the next few weeks to train a new model using the latest version of sklearn.
The training dataset and code is included in the dev folder for other developers to build their own unique models and compare benchmarks.

The ultimate goal for this package is to be lightweight and high performance. Pytorch lightning might be a better framework in this regard, or I could make the inference part of the package entirely independent of a DL framework.

I think a change to pytorch would improve the usability of the package, if you are able to translate the model definitions that would really help me out.

from hmni.

gloriamacia avatar gloriamacia commented on June 1, 2024 1

@Christopher-Thornton consider maybe hosting the training dataset. This way we could help you retrain the model with the newest sklearn version and upload the artifact. I would also like to develop a pytorch version of it and would be super-useful.

To solve the issue for now, in the meantime you can change the install requirements in requirements.txt. 0.23.1 is the required version with the current model training.

from hmni.

gloriamacia avatar gloriamacia commented on June 1, 2024 1

Happy to help out @Christopher-Thornton. Let me have a look this weekend at the training dataset to maybe start improving this first for ES/FR languages

from hmni.

caiyishu avatar caiyishu commented on June 1, 2024 1

I solved this issue by:

pip uninstall scikit-learn
pip install scikit-learn==0.23.1

from hmni.

Christopher-Thornton avatar Christopher-Thornton commented on June 1, 2024

This is likely a version compatibility issue with sklearn, can you let me know what version you have installed? I don’t have the bandwidth to fix this right now, try installing an earlier version of sklearn for now.

from hmni.

OleksiyAnokhin avatar OleksiyAnokhin commented on June 1, 2024

Faced the same issue still.

from hmni.

Related Issues (19)

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.