Dataset Viewer
View in Dataset Viewer
Viewer
The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider
removing the
loading script
and relying on
automated data support
(you can use
convert_to_parquet
from the datasets
library). If this is not possible, please
open a discussion
for direct help.
YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
Title
This product is for ...
Github Action Test
Prerequisites
- Python 3.10
- Nvidia T4 GPU or higher
- Microsoft SQL
- Llama 2
- Whisper
Architecture
Features
- ................
- ................
- ................
Demo
Reports
Installation
for Linux/Ubuntu
- Do the following operations in order.
1. Install Nvidia Drivers
- System Update & Upgrade
sudo apt update
sudo apt upgrade
- Install Nvidia Drivers
sudo apt install ubuntu-drivers-common
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
- System Reboot
sudo reboot
- Check Nvidia Driver and Note CUDA Version
nvidia-smi
- Note: Yukarıdaki adımda hem Nvidia Driver'ın yüklenip yüklenmediğini kontrol edin. Hem de yüklemeniz gereken CUDA versiyonunu öğreninin.
2. Install CUDA 12.2 for Ubuntu 22.04
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda-repo-ubuntu2204-12-2-local_12.2.0-535.54.03-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2204-12-2-local_12.2.0-535.54.03-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2204-12-2-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda
sudo find / -name nvcc
echo 'export PATH=/usr/local/cuda-12.3/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
nvcc --version
3. Python 3.10.0 Installation
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget
sudo apt-get install libbz2-dev
sudo apt-get install libgdbm-compat-dev
sudo apt-get install liblzma-dev
sudo apt-get install tk-dev
sudo apt-get install uuid-dev
sudo apt-get install zlib1g-dev
wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
tar -xf Python-3.10.0.tar.xz
cd Python-3.10.0
./configure --enable-optimizations --prefix=/usr/local
make -j $(nproc)
sudo make altinstall
4. Get Repository
- Clone Repository
git clone https://github.com/organization_name/repo_name
- Navigate to the project directory:
cd Repository_Directory
- Create Virtual Environment named
.venv
python3.10 -m venv .venv
- Activate virtual environment
source .venv/bin/activate
5. Install Pytorch
pip install torch --index-url https://download.pytorch.org/whl/cu122
- Note: Lütfen farklı CUDA verdiyonu kullanıyorsanız Pytorch versiyonunuzu değiştirin.
6. Download Llama and Install
- Visit the
https://ai.meta.com/llama/
and get download link for Llama 2
git clone https://github.com/facebookresearch/llama.git
cd llama
pip install -e .
chmod +x download.sh
./download.sh
- Note: If you get the error
"The file is already fully retrieved; nothing to do."
, delete the--continue
commands in thedownload.sh
file and try again. Related issue link:https://github.com/facebookresearch/llama/issues/760
7. Install Requirements for Audio Process
sudo apt-get install unixodbc-dev
pip install Cython
pip install -r requirements/requirements_audio.txt
8. Install Requirements for Architecture
pip install -r requirements/requirements_arctitecture.txt
9. Install ODBC Driver 18
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
sudo apt-get update
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
10. Install FFmpeg
sudo apt install ffmpeg
11. Install Linux Services
sudo cp /home/azureuser/directory/services/audio.service /etc/systemd/system/
sudo cp /home/azureuser/directory/services/text.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable audio.service
sudo systemctl enable text.service
sudo systemctl start audio.service
sudo systemctl start text.service
sudo systemctl status audio.service
sudo systemctl status text.service
File Structure
.
├── README.md
├── TODO.md
├── app.py
├── examples
│ ├── example_1.wav
│ ├── example_2.wav
├── flagged
├── gradio_app.py
├── outputs
│ ├── example_1.json
├── requirements.txt
└── test.py
Version Control System
Releases
Branches
Related Repos
Upcoming
- ....
Documentations
Turkish Readme
TO DO list
Contributing Guidence
License
Links
Team
Contact
Resources
Citation
- Reference to cite if you use this work in a paper or research project:
@software{software_2024,
author = {Ergen},
doi = {00.0000/zenodo.0000},
month = {01},
title = {{software_2024}},
url = {https://github.com/repo_name},
year = {2024}
}
- Downloads last month
- 2