Metadata-Version: 2.1
Name: alegant
Version: 1.0.0
Summary: Elegant: a simple and concise training framework
Home-page: https://github.com/Hugo-Zhu
Author: Haohao Zhu
Author-email: zhuhh17@qq.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Alegant

Alegant is a simple and concise training framework for PyTorch models.

## Usage
To use alegant, follow the steps below:

1. Define your Model.
2. Define your DataModule.
3. Define your Trainer.
4. Run the training script using the following command:

```python
python --config_file run.py
```
Make sure to replace config_file with the path to your configuration file.

## Configuration
To customize the training process, you need to provide a configuration file. This file specifies various parameters such as dataset paths, model architecture, hyperparameters, etc. Make sure to create a valid configuration file before running the framework.

## Project Structure

```plaintext
alegant
├── tensorboard
├── data
├── alegant
│   ├── data_module.py
│   ├── trainer.py
│   └── utils.py
├── src
│   ├── dataset.py
│   ├── loss.py
│   ├── model
│   │   ├── modeling.py
│   │   ├── poolers.py
│   ├── trainer.py
│   └── utils.py
├── config.yaml
├── run.py
```

## Contact
If you have any questions or inquiries, please contact us at zhuhh17@qq.com

Thank you for using Alegant! Happy training!

