Skip to content

Add the LICENSE file — pyproject references one that doesn't exist (inference code has no licence) #24

@slittycode

Description

@slittycode

Thanks for releasing MOSS-Audio — the work is excellent.

The model weights on Hugging Face are clearly Apache-2.0 (e.g. OpenMOSS-Team/MOSS-Audio-4B-Instruct declares license: apache-2.0). But the inference/modeling code in this repository appears to carry no licence:

  1. There's no LICENSE / COPYING / NOTICE file anywhere in the repo tree.
  2. pyproject.toml declares license = { file = "LICENSE" } — a reference to a LICENSE file that doesn't exist in the repo.
  3. The README's "Models in MOSS-Audio are licensed under the Apache License 2.0" reads as covering the weights, not unambiguously the src/ code (modeling_moss_audio.py, hf_inference.py, …).

The HF weights repos ship only configuration_*.py + processing_*.py (no modeling_*.py; config.json's auto_map has no AutoModel entry), and the documented run path is git clone … && pip install -e . && python infer.py — so running the Apache-2.0 weights requires this repository's code. Absent an explicit licence, that code defaults to "all rights reserved," which blocks self-hosting and derivative use even though the weights are openly licensed and the intent looks open.

Could you add the missing LICENSE file (presumably Apache-2.0, to match the weights and the pyproject reference)? That would make the self-host / derivative-use story unambiguous. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions