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
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.
-
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.
Storytelling
Mi'kmaq Linguistics
Python Programming
Prompt Completion Pairing
- Python 3.7+
- pip
- OpenAI API Key
-
Clone the repo:
git clone https://github.com/AdieLaine/Lnu-AI-Chat.git
-
Install Python packages:
pip install -r requirements.txt
-
Copy the .env.example file and create a new .env file.
-
Replace "your-openai-key" in the .env file with your actual OpenAI API Key.
-
If required, replace other variables in the .env file based on your configuration.
-
This code also uses Streamlit .streamlit/secrets.toml to store your OpenAI API Key and other sensitive information.
-
Download the Data files from here and place them in the data folder.
- Ensure you are in the project directory and run:
streamlit run lnu-ai-chat.py
- Open the link in your browser: streamlit run lnu-ai-chat.py
- After executing the above command, open the link displayed in the terminal in your web browser: Local URL: http://localhost:8501
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.
This project is licensed under the terms of the MIT license.
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