A curated collection of practical AI model implementations and examples for real-world applications.
- π
audio/text-to-speech/text-to-speech-kokoro-82m.py
- Model: Kokoro 82M
- Purpose: Generate natural speech from text
- Languages: English, Spanish, French, Italian, Japanese, Chinese (Mandarin), Portuguese, Hindi
- Features: Multiple voice options, batch processing from Excel files
- π
nlp/translation/translation-tencent-hunyuan-mt-7b.py
- Model: Tencent HunYuan MT-7B
- Purpose: High-quality multi-language translation
- Languages: English β French, Spanish, German, Chinese
- Features: Batch translation from Excel files
-
Clone the repository
git clone <repository-url> cd ai-models-in-practice
-
Set up environment
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Run a model
# Text-to-Speech example python audio/text-to-speech/text-to-speech-kokoro-82m.py # Translation example python nlp/translation/translation-tencent-hunyuan-mt-7b.py
ai-models-in-practice/
βββ π΅ audio/
β βββ text-to-speech/
β βββ text-to-speech-kokoro-82m.py
β βββ data/
βββ π nlp/
β βββ translation/
β βββ translation-tencent-hunyuan-mt-7b.py
β βββ data/
βββ π README.md
This project is open source and available under the MIT License.