Update README.md
Browse files5 unmodified lines67891011121314151617181920212223245 unmodified lines- pytorch---# Comment Network## Setup### YouTube Data API Key Setup1. Go to [Google Cloud Console - API Credentials](https://console.cloud.google.com/apis/credentials)2. Create a new project or select an existing one3. Click **Create Credentials** β **API Key**4. Copy the generated API key + https://console.developers.google.com/apis/api/youtube.googleapis.com/overview5. Create a `.env` file in the project root (or copy from `.env-example`)6. Paste your API key in the `.env` file:```YOUTUBE_API_KEY=your_api_key_here```5 unmodified lines67891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001015 unmodified lines- pytorch---# Comments Classifier (RuBERT fine-tune)A Russian-language comment classification model fine-tuned on top of **RuBERT**. Developed as part of the Lubarsky Comments Model project.## OverviewThe model was fine-tuned on a labeled dataset of Russian-language comments. Its goal is to automatically determine the category/type of a given comment.The repository contains three ready-to-use **standalone applications** built with **PyInstaller** β no Python installation or dependencies required:| File | Size | Description ||---|---|---|| `run_trainer.zip` | ~2.6 GB | Application for fine-tuning the model || `run_prediction.zip` | ~2.5 GB | Application for running predictions || `run_classifier.zip` | ~60 MB | Application for manual comment classification || `QA_dataset.csv` | ~75 kB | Quality assurance dataset |---## Quick Start> β οΈ **No Python installation required** β all three programs are self-contained `.exe` applications.### 1. Download the ZIP archiveDownload one or more archives from this page.### 2. Extract the archiveExtract the downloaded archive to a convenient location. The folder structure will look like this:```run_classifier/βββ _internal/ # internal dependencies (do not modify)βββ run_classifier.exe # executable file```### 3. Run the `.exe`Simply double-click the `.exe` file or launch it from the terminal:```bash.\run_classifier.exe.\run_prediction.exe.\run_trainer.exe```---## Application Descriptions**`run_classifier`** β a tool for manual or batch comment classification. Useful for quick review and labeling.**`run_prediction`** β the main inference application. Takes comments as input and returns predicted classes.**`run_trainer`** β fine-tunes the model on new data. Allows you to retrain the classifier on your own dataset.---## Environment ConfigurationThe repository includes a `.env` file with environment variables (e.g., file paths, parameters). Edit it as needed before running the applications.---## Source CodeThe full source code (training, data labeling, scripts) is available on GitHub:π [gerageragera39/Lubarsky_Comments_Model](https://github.com/gerageragera39/Lubarsky_Comments_Model)Source repository structure:- `data_hand_classifier/` β tools for manual data labeling- `rubert_trainer/` β RuBERT fine-tuning scripts- `dataset.csv` β main training dataset- `test_comments.csv` β test set- `result.png` β training results visualization---## Technical Details- **Base model:** RuBERT (DeepPavlov)- **Framework:** PyTorch + HuggingFace Transformers- **Build:** PyInstaller (standalone Windows executables)- **Data language:** Russian- **Task:** Text Classification---## LicenseMIT License
README.md+87-10