SafeGem-27B / LICENSE.md
ywlee88's picture
Initial release of SafeGem-27B with Visual Guard Module
c0ae4dc verified

License for SafeGem

This SafeGem project is governed by a hybrid license model. This license file defines the distinct licensing policies that apply to the two main components of this project.


1. Model Name and Definition of Work

Model Name: SafeGem

Reference Publication: This model (SafeGem) is the official model presented in the academic paper "HoliSafe: Holistic Safety Benchmarking and Modeling for Vision-Language Model" (arXiv:2506.04704).

Naming and Derivation: The name "SafeGem" signifies its dual nature:

  • Safe: For its safety-driven enhancements (the Visual Guard Module)
  • Gem: As an abbreviation of "Gemma". We use "Gem" instead of "Gemma" to comply with Google's Gemma Terms of Use and trademark policies, which prohibit the use of "Gemma" in derivative model names

Model Composition: SafeGem is a Derivative Work based on Google's Gemma-3-12B-IT model. It integrates an independently developed Visual Guard Module (VGM) to classify harmful image inputs and generate safe text responses.


2. License Summary

Component License
Independently Developed Code (e.g., VGM) Apache License 2.0
Gemma-Based Components and Entire Model Google's Gemma Terms of Use

Part 1: Apache License 2.0 (For Independently Developed Code)

All original source code and components developed independently by Electronics and Telecommunications Research Institute (ETRI) (hereinafter "Copyright Holder"), including the Visual Guard Module (VGM) contained in this project, are subject to the Apache License, Version 2.0 (the "License").

You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright Notice

Copyright 2025 Electronics and Telecommunications Research Institute (ETRI)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Part 2: Gemma Terms of Use (For the Gemma-Based Derivative Work)

This SafeGem model is a Derivative Work based on Google's Gemma-3-12B-IT model.

Therefore, the use, reproduction, modification, and distribution of Gemma-based components, including the weights of the SafeGem model, are subject to Google's Gemma Terms of Use.

Any user who uses, reproduces, modifies, or distributes the SafeGem model is considered to agree to all provisions of the Gemma Terms of Use, including but not limited to the following restrictions:

Key Restrictions

  • Prohibited Uses: The model must not be used for any purposes outlined in the Gemma Prohibited Use Policy

  • Commercial Use Restrictions: The model cannot be used in a manner that competes with Google or Google's products or services

Required Notices

In accordance with the Distribution Requirements of the Gemma Terms of Use, the following notices are provided:

Copy of Terms

The full text of the Gemma Terms of Use must be reviewed at the following official link:

Modification Notice

This model (SafeGem) is a modification of the original Google Gemma-3-12B-IT model.

Attribution

The original model was developed by Google. Copyright 2024 Google LLC.

No Endorsement

This derivative model (SafeGem) is not endorsed or officially supported by Google.


Part 3: Attribution and Contact

This SafeGem model was developed by the Electronics and Telecommunications Research Institute (ETRI) in the Republic of Korea.

For any questions regarding the SafeGem model or its licensing, please contact:

Youngwan Lee Email: [email protected]


Summary

  • Visual Guard Module (VGM) and independently developed code → Apache 2.0
  • Entire SafeGem model (including Gemma-based weights) → Google's Gemma Terms of Use
  • Users must comply with both licenses when using SafeGem