Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ht0710/vietnamese-sentiment-analysis
https://github.com/ht0710/vietnamese-sentiment-analysis
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ht0710/vietnamese-sentiment-analysis
- Owner: HT0710
- Created: 2023-05-12T07:22:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-22T16:28:47.000Z (over 1 year ago)
- Last Synced: 2023-07-22T17:28:14.729Z (over 1 year ago)
- Language: Python
- Size: 221 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sentiment-Analysis
## Main folders
- `datasets`: contains data
- `lightning_log`: contains logs during training
- `lightning_modules`: contains important modules
- `models`: contains models used for training## Main filess
- `dataset_generator.py`: Used to generate dataset from raw data
- `requirements.txt`: Python packages needed for the project. Install:
```bash
pip install -r requirements.txt
```
- `config.yaml`: Configuration for training and testing process
> **Adjust the config** before training or testing- `main.py`: Used for training
```bash
python train.py --epoch 10 --learning_rate 0.001 --batch 128
```
- `test.py`: Used for testing
```bash
python test.py
# or
python test.py --prompt "tuyệt vời"
```