convert-*.py: base_model is actually in spec for model cards
This commit is contained in:
parent
4d5cd0670a
commit
32e80e094c
1 changed files with 0 additions and 2 deletions
|
@ -51,8 +51,6 @@ class Metadata:
|
|||
metadata.name = model_card.get("model_name")
|
||||
|
||||
if "base_model" in model_card:
|
||||
# Not part of huggingface model card standard but notice some model creator using it
|
||||
# such as TheBloke who would encode 'mistralai/Mixtral-8x7B-Instruct-v0.1' into base_model
|
||||
model_id = model_card.get("base_model")
|
||||
model_name_normal, organization_name, base_name, fine_tune, version_string, parameter_weight_class = Metadata.get_model_name_components(model_id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue