================================================================================
SRE Embedding Model
Copyright (c) 2026 Senthil Kumar Thanapal <senthilthepro@hotmail.com>
================================================================================

This repository contains two distinct components with separate licenses:

  1. PUBLISHED COMPONENT  — model weights + inference API  (pip package)
  2. PRIVATE COMPONENT    — training code + training data  (not distributed)

────────────────────────────────────────────────────────────────────────────────
COMPONENT 1 — PUBLISHED (pip package: sre-embedding-model)
────────────────────────────────────────────────────────────────────────────────

Files covered:
  inference.py
  evaluate.py
  download_model.py
  models/  (fine-tuned model weights)

License: Apache License, Version 2.0

Copyright (c) 2026 Senthil Kumar Thanapal <senthilthepro@hotmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use these files 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.

Why Apache 2.0?
  The fine-tuned model weights are a derivative work of
  "sentence-transformers/all-MiniLM-L6-v2" which is licensed under
  Apache 2.0 by Microsoft / the sentence-transformers team.
  Apache 2.0 requires that derivative model weights remain Apache 2.0
  compatible. This license satisfies that requirement.

Base Model Attribution (required by Apache 2.0 Section 4):
  Original model : sentence-transformers/all-MiniLM-L6-v2
  Original author: Microsoft / sentence-transformers team
  Original license: Apache License 2.0
  Source         : https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2
  Modifications  : Fine-tuned on SRE domain vocabulary by
                   Senthil Kumar Thanapal <senthilthepro@hotmail.com>


────────────────────────────────────────────────────────────────────────────────
COMPONENT 2 — PROPRIETARY (NOT distributed, NOT included in pip package)
────────────────────────────────────────────────────────────────────────────────

Files covered:
  train.py
  data/sre_training_data.py
  data/dataset_builder.py
  data/processed/

Copyright (c) 2026 Senthil Kumar Thanapal <senthilthepro@hotmail.com>
All Rights Reserved.

These files are PROPRIETARY and CONFIDENTIAL. No part of this software,
training data, or associated files may be reproduced, distributed, transmitted,
displayed, published, or broadcast in any form or by any means, without the
prior written permission of Senthil Kumar Thanapal.

Unauthorized use, copying, modification, or distribution of this material
is strictly prohibited.

For licensing enquiries: senthilthepro@hotmail.com


────────────────────────────────────────────────────────────────────────────────
SUMMARY
────────────────────────────────────────────────────────────────────────────────

  Component             | License       | Published
  ──────────────────────────────────────────────────────
  Fine-tuned weights    | Apache 2.0    | Yes (pip / HuggingFace)
  Inference API code    | Apache 2.0    | Yes (pip package)
  Training code         | Proprietary   | No
  Training data         | Proprietary   | No

