Welcome to Malaya’s documentation!#

logo

Pypi versionPython3 versionMIT LicenseDocumentationtotal statsdownload stats / monthdiscord


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

Documentation#

Proper documentation is available athttps://malaya.readthedocs.io/

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.

OnlyPython >= 3.6.0, andPyTorch >= 1.10 are supported.

If you are a Windows user, make sure readhttps://malaya.readthedocs.io/en/latest/running-on-windows.html

Development Release#

Install frommaster branch,

$ pip install git+https://github.com/huseinzol05/malaya.git

We recommend to usevirtualenv for development.

Documentation athttps://malaya.readthedocs.io/en/latest/

Pretrained Models#

Malaya also released Malaysian pretrained models, simply check athttps://huggingface.co/mesolitica

References#

If you use our software for research, please cite:

@misc{Malaya,Natural-Language-ToolkitlibraryforbahasaMalaysia,poweredbyPyTorch,author={Husein,Zolkepli},title={Malaya},year={2018},publisher={GitHub},journal={GitHubrepository},howpublished={\url{https://github.com/mesolitica/malaya}}}

Acknowledgement#

Thanks to,

  1. KeyReply for private V100s cloud.

logo
  1. Nvidia for Azure credit.

logo
  1. Tensorflow Research Cloud for free TPUs access.

logo

Contributing#

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!

logo

Contents:#

Getting Started

Normalization Module

Jawi Module