Edit model card

MyanmarGPT-Chat

User: MyanmarGPT-Chat ဆိုတာဘာလဲ?

Assistant: သမိုင်းကြောင်းတွေ, နိုင်ငံရေးတွေအကြောင်းရှင်းပြပေးမည်။ 
ဒီ model အပေါ်မှာ fine tuning လုပ်ပြီး model အသစ်တွေတည်ဆောက်နိုင်တဲ့ foundational model ဖြစ်သည်။
Long live burmese language

Myanmar AI Tutor ပြီးကတည်းက Chat Model လေး open source ပေးပါအုန်းဆိုလို့ အလုပ်ကလည်း ဇယ်ဆက်နေတာနဲ့ မတင်ပေးဖြစ်သေးတာ။ မြန်မာသမိုင်းတော့ အငြင်းပွားစရာများလို့ နိုင်ငံခြားသမိုင်းတွေပဲ များများထည့်ထားတယ်။ မည်သူမဆို အခမဲ့ရယူစမ်းသုံးကြည့်လို့ရပါတယ်။ Myanmar GPT Movement ရဲ့ အခြား project တွေပါဝင်ဖို့ စိတ်ဝင်စားတယ်ဆိုရင်လည်း LinkedIn မှာ ဆက်သွယ်လို့ရပါတယ်။

ChatGPT က မြန်မာစာ support ပေးတာကို မစောင့်နိုင်တော့လို့ ကိုယ်ဟာကိုယ်ပဲလုပ်ပြီးသုံးလိုက်ပါတော့တယ်။ မြန်မာ Developer တွေ, reseacher တွေ, စမ်းသပ်ခုံမင်သူတွေ သုံးစွဲလို့ရပါတယ်။ MyanmarGPT-Chat က MyanmarGPT ပေါ်မှာ တင်ပြီး finetuned ထားတဲ့ open source text generation chat model တခုဖြစ်ပါတယ်။ Wikipedia မှာတင်ထားတဲ့ ဘက်မလိုက်တဲ့သမိုင်းကြောင်းတွေ, အဖြစ်အပျက်တွေကို ထိန်းသိမ်းပြောဆိုပေးဖို့ဖြစ်ပါတယ်။

မြန်မာစာ(ဗမာစာ)ဟာ low resource language တခုဖြစ်ပါတယ်။ MyanmarGPT ရဲ့ သက်ရောက်မှုကြောင့် အမျိုးမျိုးသော Burmese language based models တွေထွက်လာကြပါတယ်။ သို့ပေမဲ့ ကျွန်တော်တို့ ဗမာစာနှင့်ပတ်သတ်ပြီး ဆက်သွားစရာတွေရှိပါသေးတယ်။ MyanmarGPT movement က မြန်မာနိုင်ငံတွင်းမှာရှိတဲ့အမျိုးမျိုးသော Artificial Intelligence လှုပ်ရှားမှုတွေ ဆောင်ရွက်သွားမှာဖြစ်ပါတယ်။

MyanmarGPT-Chat is a question-answering model available in the Burmese language. It is fine-tuned via the foundational model called MyanmarGPT.

The dataset used is called "A Brief History of the World" curated by the creator, Min Si Thu. It can answer general knowledge about world history. The dataset is based on a summarization of Wikipedia pages.

Model Details

MyanmarGPT-Chat is based on the MyanmarGPT model. As MyanmarGPT is a frontier model for the Burmese language and is getting used by lots of people around Myanmar, Thus, MyanmarGPT-Chat is required to build a foundational model for question-answering language model.

Model Description

  • Developed by: Min Si Thu
  • Funded by: Self
  • Model type: GPT2
  • Language(s) (NLP): Burmese, English
  • License: CreativeML OpenRAIL-M
  • Finetuned from model [MyanmarGPT]: MyanmarGPT

Model Sources

Direct Use

Question Answering GPT for Burmese Language.

Originally crafted for text completion in Burmese, this model functions as a fundamental asset for various Natural Language Processing (NLP) tasks. Although its primary role is presently centered on aiding in text generation and completion, it harbors considerable potential for broader applications. Researchers and developers have the option to refine this model using specialized datasets, thereby expanding its utility to other NLP domains, including summarization and instruction-based tasks. Nevertheless, it is crucial to acknowledge that when dealing with high-stakes decisions or comprehending domain-specific terminology, additional specialized training for the model is advised to ensure optimal accuracy and reliability.

Out-of-Scope Use

Users need to recognize the inherent limitations and biases present in language models. Responsible usage is crucial, particularly in sensitive contexts, as this model is not designed to generate misleading or harmful content.

Bias, Risks, and Limitations

While the MyanmarGPT-Chat excels in handling general Burmese text about the history of countries around the world, its effectiveness might be limited when dealing with daily-life spoken burmese words. Users are encouraged to perform comprehensive testing tailored to their specific use cases.

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases, and limitations of the model.

How to Get Started with the Model

!pip install transformers
from transformers import GPT2LMHeadModel, GPT2Tokenizer

# Load MyanmarGPT-Chat model and tokenizer
model = GPT2LMHeadModel.from_pretrained("jojo-ai-mst/MyanmarGPT-Chat")
tokenizer = GPT2Tokenizer.from_pretrained("jojo-ai-mst/MyanmarGPT-Chat")

def generate_text(prompt, max_length=300, temperature=0.8, top_k=50):
    input_ids = tokenizer.encode(prompt, return_tensors="pt").cuda() # remove .cude() if only cpu
    output = model.generate(
        input_ids,
        max_length=max_length,
        temperature=temperature,
        top_k=top_k,
        pad_token_id=tokenizer.eos_token_id,
        do_sample=True
    )
    for result in output:
      generated_text = tokenizer.decode(result, skip_special_tokens=True)
      print(generated_text)

generate_text("User: မြန်မာနိုင်ငံအကြောင်းရှင်းပြပါ။\n Assistant: ")

Citations [optional]

How to cite this project

@software{MyanmarGPT-Chat,
  author = {{MinSiThu}},
  title = {MyanmarGPT-Chat},
  url = {https://huggingface.co/jojo-ai-mst/MyanmarGPT-Chat},
  urldate = {2024-1-28}
  date = {2024-1-28},
}
Downloads last month
491
Safetensors
Model size
127M params
Tensor type
F32
·

Space using jojo-ai-mst/MyanmarGPT-Chat 1