Skip to main content

Natural-Language-Toolkit for bahasa Malaysia, powered by Tensorflow and PyTorch.

Project description

Malaya is a Natural-Language-Toolkit library for bahasa Malaysia, powered by PyTorch.


Proper documentation is available at

Installing from the PyPI

$ pip install malaya

It will automatically install all dependencies except for PyTorch. So you can choose your own PyTorch CPU / GPU version.

Only Python >= 3.6.0, and PyTorch >= 1.10 are supported.

If you are a Windows user, make sure read

Development Release

Install from master branch,

$ pip install git+

We recommend to use virtualenv for development.

Documentation at

Pretrained Models

Malaya also released Malaysian pretrained models, simply check at


If you use our software for research, please cite:

@misc{Malaya, Natural-Language-Toolkit library for bahasa Malaysia, powered by PyTorch,
  author = {Husein, Zolkepli},
  title = {Malaya},
  year = {2018},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{}}


Thanks to KeyReply for private V100s cloud and Mesolitica for private RTXs cloud to train Malaya-Speech models.

Also, thanks to Tensorflow Research Cloud for free TPUs access.


Thank you for contributing this library, really helps a lot. Feel free to contact me to suggest me anything or want to contribute other kind of forms, we accept everything, not just code!

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

malaya-5.1.1-py3-none-any.whl (2.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page