Skip to content

Lnu-AI is an AI developed to promote and preserve the Mi'kmaq language and culture. Its purpose is to provide information, resources, and support for learning the Mi'kmaq language, as well as promoting cultural awareness and understanding.

License

Notifications You must be signed in to change notification settings

AdieLaine/Lnu-AI-Chat

Repository files navigation

Lnu-AI: Chat 🪶

GitHub License

Lnu-AI is an Artificial Intelligence system developed to serve as a bridge between the Mi'kmaq language and AI. This platform is rooted in the deep commitment to cultural preservation, leveraging modern technologies like machine learning and natural language processing to aid in the revitalization of the Mi'kmaq language.


Lnu-AI Chat is a conversational AI system that can be used to chat with an AI system that is trained on the Mi'kmaq language and aligned as an Indigenous AI aligned assistant. This system was pre-trained on a large dataset of written and audio translations of Mi'kmaq words and phrases.

Lnu-AI Chat has learned the nuances of the Mi'kmaq language structure, including its orthography and written form.

Pre-Trained:

  • 8000+ Mi'kmaq Words
  • 6000+ Audio Translations
  • 150000 Prompt Completion Pairs
  • OpenAI Fine-Tune Models

Output:

  • Embedded Mi'kmaq Language Corpus
  • Indigenous Aligned AI Assistant
  • Translation and Interpretation into 161 Languages
  • Logical Reasoning and Problem Solving
  • Storytelling and Poetry
  • Coding and Programming

Lnu-AI Chat Feature Overview

The Chat feature in Lnu-Ai creates a groundbreaking platform where users can engage in real-time conversations with an AI, powered by machine learning and natural language processing. This unique feature is meticulously designed to incorporate the Mi'kmaq language, thus paving the way for an immersive linguistic experience.

Features

  • Real-Time Conversations: The Chat feature enables users to interact with the AI in real-time, creating an engaging and responsive conversation environment.

  • Language Learning: With each interaction, the AI uses Mi'kmaq phrases and words, providing users with the opportunity to learn and use the language in a conversational context.

  • Customizable Experiences: The AI can adjust its conversational style based on user preferences, allowing for a highly personalized chatting experience.


Example Conversations

Storytelling


Mi'kmaq Linguistics


Python Programming


Prompt Completion Pairing



Table of Contents


Getting Started

Prerequisites

  • Python 3.7+
  • pip
  • OpenAI API Key

Installation

  1. Clone the repo:

    git clone https://github.com/AdieLaine/Lnu-AI-Chat.git

  2. Install Python packages:

    pip install -r requirements.txt

  3. Copy the .env.example file and create a new .env file.

  4. Replace "your-openai-key" in the .env file with your actual OpenAI API Key.

  5. If required, replace other variables in the .env file based on your configuration.

  6. This code also uses Streamlit .streamlit/secrets.toml to store your OpenAI API Key and other sensitive information.

  7. Download the Data files from here and place them in the data folder.


Usage

  1. Ensure you are in the project directory and run: streamlit run lnu-ai-chat.py
  2. Open the link in your browser: streamlit run lnu-ai-chat.py
  3. After executing the above command, open the link displayed in the terminal in your web browser: Local URL: http://localhost:8501

Contribution Guidelines

We welcome contributions, issues, and feature requests! If you're considering significant changes, kindly open an issue first to discuss what you would like to change.


License

This project is licensed under the terms of the MIT license.


Acknowledgements

The Lnu-AI project honors the timeless art of storytelling, keeping the flame of tradition alive and preserving the rhythmic beauty of Mi'kmaq words. Lnu-AI is my heartfelt gift to the Mi'kmaq people, a testament to our shared heritage, and a vital step towards a future where technology and tradition intersect gracefully, celebrating and honoring the richness of cultural diversity.

We would like to acknowledge Mi'gmaq-Mi'kmaq Online for consolidating Listuguj Mi'kmaq translations.

Lnu-AI was born at the crossroads of GPT-4 API and the insatiable curiosity to be creative. We extend out thanks toOpenAI for providing the API solution that was critical in the pre-training and fine-tune process.


Developed by Madie Laine

About

Lnu-AI is an AI developed to promote and preserve the Mi'kmaq language and culture. Its purpose is to provide information, resources, and support for learning the Mi'kmaq language, as well as promoting cultural awareness and understanding.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages