Skip to content

MenorahOlive/CG_cat

 
 

Repository files navigation

Massive dataset by Amazon

This project puts a key emphasis on the efficient management of the dataset while addressing potential challenges related to memory and time complexity.The focus lies in generating language-specific files, denoted as 'en-xx.xlsx,' for diverse languages such as English (en), Swahili (sw), and German (de). Additionally, the project entails the creation of distinct JSONL files for English (en), Swahili (sw), and German (de), comprising test, train, and dev data sets. Moreover, the endeavor aims to produce a consolidated JSON file that incorporates translations from English to all other languages, encompassing both 'id' and 'utt' data for the training sets.

Installation

To set up the Python3 development environment and install the necessary dependencies, follow these steps:

  1. Clone this repository to your local machine:
https://github.com/lawdneo/CG_cat.git
  1. Create a virtual environment (recommended):
python3 -m venv venv

Activate the virtual environment:

source venv/bin/activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Data Import: Having already obtained the MASSIVE Dataset mentioned in the Data File, Ensure that this dataset is accessible in your project directory. Save it under the data folder in the project directory.

Implementation

Using a merge algorithm to form the requests locales instead of a recursive algorithm. The merge algorithm was done using pandas.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Shell 1.4%
  • Batchfile 1.1%