From e12bf888ad7569ac00a101729eaffdc259965a04 Mon Sep 17 00:00:00 2001 From: Mishig Date: Tue, 2 Apr 2024 02:54:52 -0700 Subject: [PATCH] [Derived models] better layout of screenshots (#1262) --- docs/hub/model-cards.md | 55 ++++++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/docs/hub/model-cards.md b/docs/hub/model-cards.md index f9b12fd86..b4905bd7d 100644 --- a/docs/hub/model-cards.md +++ b/docs/hub/model-cards.md @@ -116,33 +116,42 @@ If your model is a fine-tune, an adapter, or a quantized version of a base model base_model: HuggingFaceH4/zephyr-7b-beta ``` -This metadata will be used to display the base model on the model page. Users can also use this information to filter models by base model or find models that are fine-tuned from a specific base model: - -
- - +This metadata will be used to display the base model on the model page. Users can also use this information to filter models by base model or find models that are derived from a specific base model: + +
+
+ For a fine-tuned model: +
+ + +
+
+
+ For an adapter (LoRA, PEFT, etc): +
+ + +
+
-For an adapter (LoRA, PEFT, etc): - -
- - +
+
+ For a quantized version of another model: +
+ + +
+
+
+ For a merge of two or more models: +
+ + +
+
-For a quantized version of another model: - -
- - -
- -Finally, for a merge of two or more models: - -
- - -
In the merge case, you specify a list of two or more base_models: