Giter Site home page Giter Site logo

minsithu / myanmargpt Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 298 KB

The very first and largest Burmese GPT in Myanmar

License: MIT License

burmese burmese-nlp generative-ai myanmar-language text-generation burmese-gpt generative-ai-myanmar myanmar-gpt myanmargpt-movement

myanmargpt's Introduction

MyanmarGPT - Myanmar Generative Pretrained Transformer

The very first and largest usable Burmese Language GPT in Myanmar

  • Free to use and open-source
  • Lightweight and Accurate
  • Burmese + International Languages (Total 61 Languages)
  • And, It is Awesome!

MyanmarGPT is the very first and largest usable Burmese language GPT in Myanmar with strong community contributions. It was created by me, Min Si Thu.

These two models are trained by using private property datasets, manually cleaned by Min Si Thu.

There are two versions of MyanmarGPT at the moment, 2023 December.

Extended, released in 2024, January 28.

Released in 2024, February 23.

MyanmarGPT

MyanmarGPT is 128 million parameters Burmese Language Model. It is very lightweight and easy to use on all devices.

MyanmarGPT-Big

MyanmarGPT-Big is a 1.42 billion parameters Multi-Language Model. It is an enterprise-level LLM for Burmese Language mainly and other languages. Currently supports 61 Languages.

MyanmarGPT-Chat

Fine-tuned on MyanmarGPT, question answering model for the Burmese language. With the knowledge of "A Brief History of the World"

How to use - Tutorial on Building MyanmarGPT-Chat on local machine

MyanmarGPTX

Fine-tuned on MyanmarGPT-Chat, question answering model for the Burmese language. Faster, lightweight and multiplatform available model.

How to use MyanmarGPT and MyanmarGPT-Big

Install hugging face transformer

pip install transformers

MyanmarGPT

# Using Pipeline

from transformers import pipeline

pipe = pipeline("text-generation", model="jojo-ai-mst/MyanmarGPT")
outputs = pipe("အီတလီ",do_sample=False)
print(outputs)
# Using AutoTokenizer and CausalLM

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("jojo-ai-mst/MyanmarGPT")
model = AutoModelForCausalLM.from_pretrained("jojo-ai-mst/MyanmarGPT")


input_ids = tokenizer.encode("ချစ်သား", return_tensors='pt')
output = model.generate(input_ids, max_length=50)
print(tokenizer.decode(output[0], skip_special_tokens=True))

MyanmarGPT-Big

# Using Pipeline

from transformers import pipeline

pipe = pipeline("text-generation", model="jojo-ai-mst/MyanmarGPT-Big")
outputs = pipe("အီတလီ",do_sample=False)
print(outputs)
# Using AutoTokenizer and CausalLM

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("jojo-ai-mst/MyanmarGPT-Big")
model = AutoModelForCausalLM.from_pretrained("jojo-ai-mst/MyanmarGPT-Big")


input_ids = tokenizer.encode("ချစ်သား", return_tensors='pt')
output = model.generate(input_ids, max_length=50)
print(tokenizer.decode(output[0], skip_special_tokens=True))

About MyanmarGPT interview with DVB

[<iframe width="898" height="505" src="https://www.youtube.com/embed/RujWqJwmrLM" title="Chat GPT (AI) ကို မြန်မာလို သုံးစွဲနိုင်တော့မလား - DVB Youth Voice" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>](https://youtu.be/RujWqJwmrLM)

Contributors

  • Min Si Thu

myanmargpt's People

Contributors

minsithu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.