Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model format for huggingface #275

Open
kakumara opened this issue Nov 22, 2023 · 0 comments
Open

Model format for huggingface #275

kakumara opened this issue Nov 22, 2023 · 0 comments
Labels
PURL qualifiers component PURL type definition Non-core definitions that describe and standardize PURL types

Comments

@kakumara
Copy link

A huggingface model can be distributed in different formats/architectures. (Pytorch, Tensorflow, rust, ..etc) . For example see https://huggingface.co/microsoft/deberta-v3-base/tree/main

Currently there seems to no way to differentiate these in the purl type for huggingface
https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst#huggingface

I suggest to add an extra qualifier (with a string enumeration for known formats) to support this. For example distro=pytorch .

@johnmhoran johnmhoran added PURL type definition Non-core definitions that describe and standardize PURL types PURL qualifiers component labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PURL qualifiers component PURL type definition Non-core definitions that describe and standardize PURL types
Projects
None yet
Development

No branches or pull requests

2 participants