Skip to content

Commit

Permalink
Update base_model guidance: base_model can be an array (#1168)
Browse files Browse the repository at this point in the history
* Update base_model example to make an array

* Add support for specifying multiple base models in model card metadata

* clarity fix

* Update base_model field in model card metadata

* make single ID

* Update docs/hub/model-cards.md

Co-authored-by: Pedro Cuenca <[email protected]>

* Update docs/hub/model-cards.md

Co-authored-by: Pedro Cuenca <[email protected]>

---------

Co-authored-by: Pedro Cuenca <[email protected]>
  • Loading branch information
davanstrien and pcuenca authored Dec 19, 2023
1 parent 7ad4707 commit 469ed25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hub/model-cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ If it's not specified, the Hub will try to automatically detect the library type

### Specifying a base model

If your model is a fine-tune or adapter of a base model, you can specify the base model in the model card metadata section:
If your model is a fine-tune or adapter of a base model, you can specify the base model in the model card metadata section. This information can also be used to indicate if your model is a merge of multiple existing models. The `base_model` field can either be a single model ID, or a list of one or more base_models (specified by their Hub identifier).

```yaml
base_model: HuggingFaceH4/zephyr-7b-beta
Expand Down

0 comments on commit 469ed25

Please sign in to comment.