| MIT License |
|
|
| Copyright (c) 2025 ahczhg |
|
|
| Permission is hereby granted, free of charge, to any person obtaining a copy |
| of this software and associated documentation files (the "Software"), to deal |
| in the Software without restriction, including without limitation the rights |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| copies of the Software, and to permit persons to whom the Software is |
| furnished to do so, subject to the following conditions: |
|
|
| The above copyright notice and this permission notice shall be included in all |
| copies or substantial portions of the Software. |
|
|
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| SOFTWARE. |
|
|
| --- |
| |
| |
|
|
| This project uses and/or fine-tunes models from third parties, which may be |
| subject to their own licenses and terms of use: |
|
|
| |
|
|
| 1. **Qwen3-0.6B-Base** |
| - Model: Qwen/Qwen3-0.6B-Base |
| - Provider: Alibaba Cloud |
| - License: Apache License 2.0 (or as specified by Alibaba Cloud) |
| - URL: https://huggingface.co/Qwen/Qwen3-0.6B-Base |
|
|
| 2. **Llama-3.2-1B** |
| - Model: meta-llama/Llama-3.2-1B |
| - Provider: Meta AI |
| - License: Llama 3.2 Community License Agreement |
| - URL: https://huggingface.co/meta-llama/Llama-3.2-1B |
| - Note: Subject to Meta's acceptable use policy |
|
|
| 3. **ERNIE-4.5-0.3B-Base-PT** |
| - Model: baidu/ERNIE-4.5-0.3B-Base-PT |
| - Provider: Baidu |
| - License: Apache License 2.0 (or as specified by Baidu) |
| - URL: https://huggingface.co/baidu/ERNIE-4.5-0.3B-Base-PT |
|
|
| |
|
|
| **NVIDIA Aegis AI Content Safety Dataset 2.0** |
| - Provider: NVIDIA |
| - License: As specified by NVIDIA |
| - URL: https://huggingface.co/datasets/nvidia/Aegis-AI-Content-Safety-Dataset-2.0 |
|
|
| |
|
|
| This project depends on the following open-source libraries: |
|
|
| - **PyTorch**: BSD-style License |
| - **Transformers**: Apache License 2.0 (HuggingFace) |
| - **PEFT**: Apache License 2.0 (HuggingFace) |
| - **TRL**: Apache License 2.0 (HuggingFace) |
| - **bitsandbytes**: MIT License |
| - **Datasets**: Apache License 2.0 (HuggingFace) |
| - **Accelerate**: Apache License 2.0 (HuggingFace) |
| - **sentencepiece**: Apache License 2.0 |
| - **protobuf**: BSD License |
| - **scikit-learn**: BSD License |
| - **pandas**: BSD License |
| - **numpy**: BSD License |
| - **matplotlib**: PSF License |
| - **seaborn**: BSD License |
|
|
| |
|
|
| 1. **Model Usage**: When using fine-tuned models from this project, you must |
| comply with the license terms of the original base models. |
|
|
| 2. **Commercial Use**: Some base models may have restrictions on commercial |
| use. Please review the original model licenses before deploying in |
| commercial applications. |
|
|
| 3. **Dataset Usage**: The NVIDIA Aegis AI Content Safety Dataset 2.0 may have |
| its own terms of use. Please review the dataset license before use. |
|
|
| 4. **No Warranty**: This software is provided "as is" without warranty of any |
| kind. The authors are not responsible for any consequences arising from |
| the use of this software or the fine-tuned models. |
|
|
| 5. **Responsible Use**: This project is intended for content safety and |
| moderation purposes. Users must ensure their use complies with applicable |
| laws and ethical guidelines. |
|
|
| |
|
|
| Users of this software and the resulting fine-tuned models are responsible for: |
| - Complying with all applicable licenses |
| - Ensuring their use case is permitted under base model licenses |
| - Implementing appropriate safeguards and human oversight |
| - Following ethical AI principles and guidelines |
| - Respecting privacy and data protection regulations |
|
|
| For questions about licensing, please: |
| - Review the original model licenses on HuggingFace |
| - Contact the model providers directly |
| - Consult with legal counsel for commercial deployments |
|
|