GithubHelp home page GithubHelp logo

Comments (17)

tiberiu44 avatar tiberiu44 commented on May 24, 2024 1

Hi @Spaskich

Thank you for letting us know about this issue. We are going to start training 3.0 models for these languages. Greek, Slovak and Russian should already be supported in 3.0.

The missing languages are:

  1. Czech
  2. Finish
  3. Hindi
  4. Indonesian
  5. Portuguese
  6. Slovenian
  7. Sweedish
  8. Turkish

They will be trained 1 by 1 and I will update this issue as soon as we publish the models.

Regarding 1.1-3.0 compatibility - 3.0 version of NLPCube is incompatible with 1.1. Especially because we changed the underlaying ML framework for lack of support.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024 1

A quick update: czech and finish should be uploaded and working

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Hindi is also finished and I just pushed it to the model repository

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Indonesian is finished and uploaded.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Portuguese is pushed.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Slovenian is pushed.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Sweedish is pushed.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

@Spaskich - I've just pushed the final language (Turkish). Let me know if you have any issues with the 3.0 models. At the first glance, there should be a huge boost in accuracy for the newly added models.

If everything is ok, give me the green light to close the issue.

from nlp-cube.

Spaskich avatar Spaskich commented on May 24, 2024

I tested all the languages. Everything works well, except for Czech, it can't find the model. Is the language code the same - cs?

On an unrelated note, is the pip repository updated with the newest version? When I try to run the example code from the readme, I get the following error:

Traceback (most recent call last):
  File ".../main.py", line 1, in <module>
    from cube.api import Cube       # import the Cube object
  File "...\Python\Python37-32\lib\site-packages\cube\__init__.py", line 1, in <module>
    from api import *
ModuleNotFoundError: No module named 'api'

I've tried replacing from api with from cube.api in the imported library, but then I get errors for multiple missing packages: requests, urllib2, StringIO, to name a few.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Yes, it should have the same name (cs). Maybe you need to clear the cache: rm -rf ~/.nlpcube/3.0/cs*.

Yes, the pip package has the latest version. How did you test the other languages if you are getting that error? Was it a local installation?

from nlp-cube.

Spaskich avatar Spaskich commented on May 24, 2024

I tested them by modifying and running the whole project.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Czech had a packaging issue. It is now fixed and pushed, but you will have to clear the cache: rm -rf ~/.nlpcube/3.0/cs*

Regarding the other issue, I don't know what is happening. Maybe there is a package confusion in your local environment. I just tried running NLPCube from scratch in a Google Collaboratory. It worked without issues. This is the link: https://colab.research.google.com/drive/16774lm4UcW_30REm0_60CXFshn8BH4L3?usp=sharing

from nlp-cube.

Spaskich avatar Spaskich commented on May 24, 2024

Okay, it's probably something on my end then, I'll look into it. Thanks for the help and the quick response with the models!

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

No problem. Glad to help.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

I just noticed that CS has some issues with compound words. I will have to retrain the tokenizer. Sorry for this.

from nlp-cube.

tiberiu44 avatar tiberiu44 commented on May 24, 2024

Done. Model is pushed. There is also a package update.

from nlp-cube.

Spaskich avatar Spaskich commented on May 24, 2024

Great! Thanks a lot for the help!

from nlp-cube.

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.