GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ikhode-technology/Telegram-Chatbot: Khmer Telegram Ai Chatbot Using NN Model+KhmerNLTK

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
App
App
 
 
Data
Data
 
 
Training
Training
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

🏅Telegram Khmer Chatbot + Open Source Code🏅

pre-commit GitHub forks GitHub License GitHub Release GitHub code size in bytes

This will never happen if Khmer NLTK Module doesn't exist, thanks 🙏

🎯TODO

  • Tokenization and Bag of Words Creation
  • Data Preprocessing
  • Neural Network Model
  • Training the Model
  • Model Evaluation
  • Telegram Bot Integration
  • Make it more inteligent and flexible

Training Pipeline Flow

  • intents.json ↓
  • Read patterns & tags ↓
  • Khmer Tokenization (khmernltk.word_tokenize) ↓
  • Build Vocabulary (all_words) ↓
  • Bag of Words Encoding ↓
  • Create Training Data
    • X_train (features)
    • y_train (labels) ↓
  • PyTorch Dataset & DataLoader ↓
  • Neural Network Model (SimpleNet) ↓
  • Training Loop
    • Forward pass
    • Loss computation
    • Backpropagation
    • Weight update ↓
  • Save Model Weights & Metadata (data.pth)

💪Installation

pip install numpy
pip install khmer-nltk
pip install python-telegram-bot
pip install torch

🏹 Quick tour

[Official Blog Post Website Url]

To get the quick way of using this code package, please install requirement.txt and read the comment in code header before run that code script.

Some Mention

  • Check folder directory
  • create virtual environment with "myEnv" folder
  • install with requrements version module
  • Check Bot Api
  • Check Bot Username
  • Make sure u aready istall library I mentioned. (if u have any issue, U can contact me by Telegram Directly @SOYTET)

🔯 Demo

Run the ChatApp Scripts to Excute Telegram integration and Bot response after training finish

Python ./App/ChatApp.py

Screenshot 2024-05-28 180135

While Running ChatApp.py Script, so u can make some chat with Telegram Bot which u integrate with your own

សួស្ដីបង

Screenshot 2024-05-28 180224 (1)

✍️ Citation

@misc{Chatbot,
  author = {SOY TET},
  title = {Khmer Telegram Traditional Chatbot},
  year = {2023},
  publisher = {GitHub},
  journal = {GitHub repository}
}

Used in:

  • stopes: A library for preparing data for machine translation research
  • LASER Language-Agnostic SEntence Representations
  • Pretrained Models and Evaluation Data for the Khmer Language
  • Multilingual Open Text 1.0: Public Domain News in 44 Languages
  • ZusammenQA: Data Augmentation with Specialized Models for Cross-lingual Open-retrieval Question Answering System
  • Shared Task on Cross-lingual Open-Retrieval QA
  • No Language Left Behind: Scaling Human-Centered Machine Translation
  • Wordless
  • A Simple and Fast Strategy for Handling Rare Words in Neural Machine Translation

👨‍🎓 References

  • NLP: Text Segmentation Using Conditional Random Fields
  • Khmer Word Segmentation Using Conditional Random Fields
  • Word Segmentation of Khmer Text Using Conditional Random Fields

About

Khmer Telegram Ai Chatbot Using NN Model+KhmerNLTK

Topics

aiikhodekhmer-aikhmer-telegram-bottelegram-bot

Resources

Readme
MIT license
Activity

Stars

8 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.