Comments (17)
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:
- Czech
- Finish
- Hindi
- Indonesian
- Portuguese
- Slovenian
- Sweedish
- 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.
A quick update: czech and finish should be uploaded and working
from nlp-cube.
Hindi is also finished and I just pushed it to the model repository
from nlp-cube.
Indonesian is finished and uploaded.
from nlp-cube.
Portuguese is pushed.
from nlp-cube.
Slovenian is pushed.
from nlp-cube.
Sweedish is pushed.
from nlp-cube.
@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.
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.
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.
I tested them by modifying and running the whole project.
from nlp-cube.
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.
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.
No problem. Glad to help.
from nlp-cube.
I just noticed that CS has some issues with compound words. I will have to retrain the tokenizer. Sorry for this.
from nlp-cube.
Done. Model is pushed. There is also a package update.
from nlp-cube.
Great! Thanks a lot for the help!
from nlp-cube.
Related Issues (20)
- Adobe-wide pypi deployment credentials HOT 2
- Issues with nn(Norwegian nynorsk) and nb(Norwegian bokmål). HOT 1
- Missing files in sdist
- Does cube support enhanced/collapsed dependency parsing. HOT 2
- license type of models HOT 1
- The future of the Cube project? HOT 2
- Getting stuck at "Configuring tzdata" HOT 5
- The NlpCloud seems to be down HOT 4
- Error while training a model HOT 9
- ERROR in app: Exception on /nlp [GET] HOT 4
- Kazakh language wrong result HOT 3
- Kazakh language wrong result HOT 1
- Russian model of nlpcube 0.3.1.0 does not work HOT 3
- Greek model of nlpcube 0.3.1.0 separates punctuation into other words HOT 3
- Kazakh model of nlpcube 0.3.1.0 does not tokenize well HOT 2
- Issues with different language models HOT 10
- ModuleNotFoundError when launching NLP-Cube HOT 2
- numpy<1.20.0 required HOT 3
- Problem with model loading HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nlp-cube.