- Python 3.7+
- pip
- OpenAI API Key
-
Clone the repo:
git clone https://github.com/AdieLaine/lnu-ai.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.
-
Because these audio files are sourced from a resource that has expressed a common creative license, we want to honor that and so we will only include a small sample of the audio files. This allows the program to still demonstrate the features within the Sound of Words function. If you would like to access the full audio files, please contact us and we will provide you with the information to access the full audio files.
-
For demonstrative purposes, we've kept files for any Mi'kmaq word found that begins with the letter 'Q or q'. These words will play the audio file and will provide the sound of words visualization.
-
Due to the size of: trained_data_embeddings.json and word_details_embeddings.json we have decided to offer them as a direct download. Those two data files are stored in a Google Drive folder. You can access the folder here.
-
Simply download the folder and place it in the root directory of the project. The project will automatically detect the folder and use the data files. Be sure to check the Readme file in the folder for more information.
-
We understand that this is not the most ideal solution, but we are working on a better solution for the future.
- Ensure you are in the project directory and run:
streamlit run src/lnu-ai.py
- Open the link in your browser: streamlit run src/lnu-ai.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