Skip to content

Commit e9c819a

Browse files
authored
Merge pull request #1 from Infotrend-Inc/initialrelease
25a01
2 parents 8a1a44c + d05915f commit e9c819a

File tree

74 files changed

+8153
-87735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+8153
-87735
lines changed

.WiP/Home-Credit-Default-Risk-Recognition/Home Credit Risk Notebook.ipynb

+3,158
Large diffs are not rendered by default.

Home-Credit-Default-Risk-Recognition/Readme.md renamed to .WiP/Home-Credit-Default-Risk-Recognition/Readme.md

+54-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,37 @@
1-
# Home Credit Default Risk Recognition
1+
<h1>Home Credit Default Risk Recognition</h1>
22

3-
## Original Author
3+
In `.WiP` folder: `featuretools` is not maintained.
4+
5+
- [1. Project Details](#1-project-details)
6+
- [1.1. Original Author](#11-original-author)
7+
- [1.2. Original GitHub Link](#12-original-github-link)
8+
- [1.3. Description of Project](#13-description-of-project)
9+
- [1.4. Required Datasets](#14-required-datasets)
10+
- [1.4.1. How to Set Up the Dataset](#141-how-to-set-up-the-dataset)
11+
- [1.5. Expected Packages and Resource Requirements](#15-expected-packages-and-resource-requirements)
12+
- [2. CoreAI Setup](#2-coreai-setup)
13+
- [2.1. Stop CoreAI](#21-stop-coreai)
14+
- [3. Detailed Setup](#3-detailed-setup)
15+
- [3.1. How To Use](#31-how-to-use)
16+
- [3.1.1. Important Note](#311-important-note)
17+
- [3.2. Troubleshooting](#32-troubleshooting)
18+
19+
20+
# 1. Project Details
21+
22+
## 1.1. Original Author
423

524
**GitHub Profile**: [Abhishek Bihani](https://github.com/abhishekdbihani)
625

7-
## Original GitHub Link
26+
## 1.2. Original GitHub Link
827

928
[Home Credit Default Risk Recognition Repository](https://github.com/abhishekdbihani/Home-Credit-Default-Risk-Recognition/tree/master)
1029

11-
## Description of Project
30+
## 1.3. Description of Project
1231

1332
This project aims to predict the ability of applicants to repay a loan based on historical financial data. Utilizing machine learning techniques, the model assesses the creditworthiness of potential borrowers, enhancing the decision-making process for granting loans. This solution is particularly beneficial in providing an opportunity for people who struggle to get loans due to insufficient credit history.
1433

15-
## Required Datasets
34+
## 1.4. Required Datasets
1635

1736
The datasets used in this project are detailed financial records provided by Home Credit, each describing a different aspect of the applicant's financial history:
1837

@@ -25,14 +44,14 @@ The datasets used in this project are detailed financial records provided by Hom
2544
- **installments_payments.csv**: Repayment history for previously disbursed credits in Home Credit.
2645
- **HomeCredit_columns_description.csv**: Descriptions for the columns in the various data files.
2746

28-
### How to Set Up the Dataset
47+
### 1.4.1. How to Set Up the Dataset
2948
1. Create a `data` folder in your project directory.
3049
2. Download the datasets from [Home Credit Dataset](https://www.kaggle.com/c/home-credit-default-risk/data) on Kaggle.
3150
- Note: You will need to log in to Kaggle to access and download these files due to the special rules set by the competition.
3251
3. Place the downloaded files into the `data` folder.
3352

3453

35-
## Expected Packages and Resource Requirements
54+
## 1.5. Expected Packages and Resource Requirements
3655

3756
**Python Packages**:
3857
- pydash
@@ -44,15 +63,39 @@ The datasets used in this project are detailed financial records provided by Hom
4463
**Resource Requirements**:
4564
- CPU
4665

47-
## How To Use
66+
# 2. CoreAI Setup
67+
68+
From the folder where this `README.md` is, run:
69+
70+
```bash
71+
# Run one of the following commands:
72+
73+
# podman command
74+
podman run --rm -it --userns=keep-id --device nvidia.com/gpu=all -e WANTED_UID=`id -u` -e WANTED_GID=`id -g` -e CoreAI_VERBOSE="yes" -v `pwd`:/iti -p 8888:8888 docker.io/infotrend/coreai:latest /run_jupyter.sh
75+
76+
# docker command
77+
docker run --rm -it --runtime=nvidia --gpus all -e WANTED_UID=`id -u` -e WANTED_GID=`id -g` -e CoreAI_VERBOSE="yes" -v `pwd`:/iti -p 8888:8888 infotrend/coreai:latest /run_jupyter.sh
78+
```
79+
80+
Follow the instructions in the notebook `Home-Credit-Default-Risk-Recognition.ipynb`.
81+
82+
## 2.1. Stop CoreAI
83+
84+
You can stop the Notebook by using the `File -> Shutdown` option.
85+
86+
Alternatively, you can stop the container by pressing `Ctrl + C` in the terminal where the container is running.
87+
88+
# 3. Detailed Setup
89+
90+
## 3.1. How To Use
4891

4992
1. **Setup Environment**:
5093
- Clone the repository or download the specific project files.
5194
- Ensure Python 3.x is installed.
5295

5396
2. **Install Required Packages**:
5497

55-
- To enhance the functionality of the CTPO environment, you may need to install some libraries not pre-installed but required for this notebook. Follow these steps to install the necessary libraries from the `requirements.txt` file:
98+
- To enhance the functionality of the CoreAI environment, you may need to install some libraries not pre-installed but required for this notebook. Follow these steps to install the necessary libraries from the `requirements.txt` file:
5699

57100
**2.1 Create and Activate the Virtual Environment:**
58101

@@ -75,7 +118,7 @@ The datasets used in this project are detailed financial records provided by Hom
75118
```
76119
!. ./myvenv/bin/activate; pip install -r requirements.txt
77120
```
78-
### Important Note
121+
### 3.1.1. Important Note
79122

80123
It is crucial to load the new "myvenv" kernel for the notebook to work correctly. If the new "myvenv" kernel is not loaded, the required libraries and environment settings will not be applied, and the notebook will not function as expected.
81124

@@ -86,7 +129,7 @@ It is crucial to load the new "myvenv" kernel for the notebook to work correctly
86129
4. **Model Usage**:
87130
- **Predictive Capability**: The trained models can be used to predict default risk on new customer data, thereby helping financial institutions make informed loan approval decisions.
88131

89-
## Troubleshooting
132+
## 3.2. Troubleshooting
90133
- Ensure all required packages from `requirements.txt` are properly installed.
91134
- Verify that dataset paths in the notebook match the location of the downloaded files.
92135
- Check Python version compatibility with the packages used.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
pydash
2-
featuretools
32
lightgbm
43
hyperopt
5-
featuretools==0.16
64
seaborn
75
xgboost
6+
featuretools

OpenVoiceClone/demo.ipynb renamed to .WiP/OpenVoiceClone/OpenVoiceClone.ipynb

+5-6
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"\n",
4141
"2. **Install Required Packages**:\n",
4242
"\n",
43-
" - To enhance the functionality of the CTPO environment, you may need to install some libraries not pre-installed but required for this notebook. Follow these steps to install the necessary libraries from the `requirements.txt` file:\n",
43+
" - To enhance the functionality of the CoreAI environment, you may need to install some libraries not pre-installed but required for this notebook. Follow these steps to install the necessary libraries from the `requirements.txt` file:\n",
4444
"\n",
4545
" **2.1 Create and Activate the Virtual Environment:**\n",
4646
" \n",
@@ -51,8 +51,7 @@
5151
" Execute the following commands to create and activate the virtual environment:\n",
5252
" \n",
5353
" ```\n",
54-
" bash\n",
55-
" python3 -m venv --system-site-packages myvenv #myvenv is name of virtual environment you can change it\n",
54+
" python3 -m venv --system-site-packages myvenv\n",
5655
" source myvenv/bin/activate\n",
5756
" pip3 install ipykernel\n",
5857
" python -m ipykernel install --user --name=myvenv --display-name=\"Python (myvenv)\"\n",
@@ -463,9 +462,9 @@
463462
],
464463
"metadata": {
465464
"kernelspec": {
466-
"display_name": "Python (openvoicevenv)",
465+
"display_name": "Python (myvenv)",
467466
"language": "python",
468-
"name": "openvoicevenv"
467+
"name": "myvenv"
469468
},
470469
"language_info": {
471470
"codemirror_mode": {
@@ -477,7 +476,7 @@
477476
"name": "python",
478477
"nbconvert_exporter": "python",
479478
"pygments_lexer": "ipython3",
480-
"version": "3.10.12"
479+
"version": "3.12.3"
481480
}
482481
},
483482
"nbformat": 4,

OpenVoiceClone/readme.md renamed to .WiP/OpenVoiceClone/readme.md

+59-15
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,94 @@
1-
# OpenVoice: Advanced Voice Cloning and Synthesis
2-
3-
## Project Overview
1+
# 1. OpenVoice: Advanced Voice Cloning and Synthesis
2+
3+
In `.WiP` due to missing library. Will investigate further.
4+
5+
- [1. OpenVoice: Advanced Voice Cloning and Synthesis](#1-openvoice-advanced-voice-cloning-and-synthesis)
6+
- [2. Project Overview](#2-project-overview)
7+
- [2.1. Original GitHub Link](#21-original-github-link)
8+
- [2.2. Voice Translation Widgets](#22-voice-translation-widgets)
9+
- [2.2.1. Features](#221-features)
10+
- [2.2.2. Usage](#222-usage)
11+
- [3. CoreAI Setup](#3-coreai-setup)
12+
- [3.1. Stop CoreAI](#31-stop-coreai)
13+
- [4. Detailed Setup](#4-detailed-setup)
14+
- [4.1. System Requirements](#41-system-requirements)
15+
- [4.2. Setup and Installation](#42-setup-and-installation)
16+
- [4.3. How To Use](#43-how-to-use)
17+
- [4.4. Model Preparation](#44-model-preparation)
18+
- [4.5. Run the Notebook:](#45-run-the-notebook)
19+
- [4.6. Troubleshooting](#46-troubleshooting)
20+
- [4.6.1. Common Issues and Fixes](#461-common-issues-and-fixes)
21+
22+
23+
# 2. Project Overview
424

525
OpenVoice is a cutting-edge project dedicated to the development of voice cloning and speech synthesis technologies. This repository hosts the tools and models necessary for implementing state-of-the-art voice cloning capabilities, enabling users to create lifelike synthetic voices from audio samples.
626

7-
## Original GitHub Link
27+
## 2.1. Original GitHub Link
828

929
[OpenVoice Project Repository](https://github.com/myshell-ai/OpenVoice)
1030

1131

12-
## Voice Translation Widgets
32+
## 2.2. Voice Translation Widgets
1333

1434
This application provides a user-friendly interface for voice translation. Below are the features available:
1535

16-
### Features
36+
### 2.2.1. Features
1737

1838
1. **Voice Upload**: Users can upload their voice recordings in MP3 format.
1939

2040
2. **Language Selection**: A dropdown menu allows users to select the language of the text to which the uploaded voice will be translated.
2141

2242
3. **Text Input Box**: Users can input or edit the text that will be translated into the selected language using the uploaded voice.
2343

24-
### Usage
44+
### 2.2.2. Usage
2545

2646
- **Uploading Voice**: Click on the 'Upload' button and select an MP3 file from your device.
2747
- **Selecting Language**: Use the dropdown to choose the target language for translation.
2848
- **Entering Text**: Type into the text box the text you want to use for translation.
2949

3050
This application is designed to be intuitive and easy to use, ensuring that users can quickly translate voices with minimal effort.
3151

32-
## System Requirements
52+
# 3. CoreAI Setup
53+
54+
From the folder where this `README.md` is, run:
55+
56+
```bash
57+
# Run one of the following commands:
58+
59+
# podman command
60+
podman run --rm -it --userns=keep-id --device nvidia.com/gpu=all -e WANTED_UID=`id -u` -e WANTED_GID=`id -g` -e CoreAI_VERBOSE="yes" -v `pwd`:/iti -p 8888:8888 docker.io/infotrend/coreai:latest /run_jupyter.sh
61+
62+
# docker command
63+
docker run --rm -it --runtime=nvidia --gpus all -e WANTED_UID=`id -u` -e WANTED_GID=`id -g` -e CoreAI_VERBOSE="yes" -v `pwd`:/iti -p 8888:8888 infotrend/coreai:latest /run_jupyter.sh
64+
```
65+
66+
Follow the instructions in the notebook `OpenVoiceClone.ipynb`.
67+
68+
## 3.1. Stop CoreAI
69+
70+
You can stop the Notebook by using the `File -> Shutdown` option.
71+
72+
Alternatively, you can stop the container by pressing `Ctrl + C` in the terminal where the container is running.
73+
74+
# 4. Detailed Setup
75+
76+
## 4.1. System Requirements
3377

3478
- **Python 3.x**: Ensure Python 3.x is installed.
3579
- **Operating System**: Linux or macOS (for complete compatibility with all tools and scripts).
3680

37-
## Setup and Installation
81+
## 4.2. Setup and Installation
3882

39-
## How To Use
83+
## 4.3. How To Use
4084

4185
1. **Setup Environment**:
4286
- Clone the repository or download the specific project files.
4387
- Ensure Python 3.x is installed.
4488

4589
2. **Install Required Packages**:
4690

47-
- To enhance the functionality of the CTPO environment, you may need to install some libraries not pre-installed but required for this notebook. Follow these steps to install the necessary libraries from the `requirements.txt` file:
91+
- To enhance the functionality of the CoreAI environment, you may need to install some libraries not pre-installed but required for this notebook. Follow these steps to install the necessary libraries from the `requirements.txt` file:
4892

4993
**2.1 Create and Activate the Virtual Environment:**
5094

@@ -70,7 +114,7 @@ This application is designed to be intuitive and easy to use, ensuring that user
70114
!. ./myvenv/bin/activate; pip install -r requirements.txt
71115
```
72116

73-
## Model Preparation
117+
## 4.4. Model Preparation
74118
Download and prepare the model data:
75119

76120
1. Create a directory for model checkpoints:
@@ -83,13 +127,13 @@ Download and prepare the model data:
83127
unzip checkpoints_v2_0417.zip -d checkpoints_v2
84128
```
85129
86-
## Run the Notebook:
130+
## 4.5. Run the Notebook:
87131
- Open the `demo.ipynb` notebook in a Jupyter environment.
88132
- Follow the instructions within the notebook, executing the code cells in sequence. Each cell includes comments explaining the purpose of the code, which will guide you through the demo process.
89133
- Make sure to read any embedded instructions or comments carefully to maximize your understanding and troubleshooting any issues that may arise.
90134
91-
## Troubleshooting
92-
### Common Issues and Fixes
135+
## 4.6. Troubleshooting
136+
### 4.6.1. Common Issues and Fixes
93137
CUDA Library Error: If you encounter an error related to libcublas.so.11, create a symbolic link to the newer version:
94138
```
95139
ln -s /usr/local/cuda/lib64/libcublas.so.12 /usr/local/cuda/lib64/libcublas.so.11

.WiP/OpenVoiceClone/requirements.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
librosa
2+
faster-whisper
3+
pydub
4+
wavmark
5+
eng_to_ipa
6+
inflect
7+
unidecode
8+
whisper-timestamped
9+
openai
10+
python-dotenv
11+
pypinyin
12+
cn2an
13+
jieba
14+
gradio
15+
langid
16+
sounddevice
17+
mecab-python3
18+
git+https://github.com/myshell-ai/MeloTTS.git
19+
unidic
20+
#melotts

.WiP/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# About
2+
3+
Existing projects that are have been tested with CoreAI but found not functional currently or are still in the process of being tested.
4+
5+
A note in the header of individual README.md files in the subfolders will detail the issues found.
6+
7+
| Domain | Project Name | Link to Directory |
8+
| --- | --- | --- |
9+
| Data Science | Home Credit Default Risk Recognition | [Home-Credit-Default-Risk-Recognition](https://github.com/Infotrend-Inc/CoreAI-DemoProjects/tree/main/.WiP/Home-Credit-Default-Risk-Recognition) |
10+
| Natural Language Processing | Open Voice Clone | [OpenVoiceClone](https://github.com/Infotrend-Inc/CoreAI-DemoProjects/tree/main/.WiP/OpenVoiceClone) |
11+
| Natural Language Processing | Skimming Literature | [SkimLit](https://github.com/Infotrend-Inc/CoreAI-DemoProjects/tree/main/.WiP/SkimLit) |
File renamed without changes.

0 commit comments

Comments
 (0)