Updated Metadata Override (markdown)

Brian 2024-11-21 01:17:20 +11:00
parent 88e0d3f618
commit f700ab37e0

@ -87,13 +87,18 @@ https://github.com/ggerganov/llama.cpp/pull/7499 was added which adds `--metadat
As for how this may corresponds with Hugging Face style model cards... consider: As for how this may corresponds with Hugging Face style model cards... consider:
```yaml ```yaml
# Model Card Fields # Model Card Fields
model_name: Example Model Six model_name: Example Model Six
# Licensing details # Licensing details
license: apache-2.0 license: apache-2.0
license_name: Apache License Version 2.0, January 2004 license_name: Apache License Version 2.0, January 2004
license_link: https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md license_link: https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md
# Model Parents (Merges, Pre-tuning, etc...) # Simple Model (singular or list of hugging face model ids)
base_model: stabilityai/stable-diffusion-xl-base-1.0
# Detailed Model Parents (Merges, Pre-tuning, etc...) (list of dicts)
base_model_sources: base_model_sources:
- name: GPT-3 - name: GPT-3
author: OpenAI author: OpenAI
@ -113,7 +118,9 @@ base_model_sources:
doi: 10.5555/bertdoi789012 doi: 10.5555/bertdoi789012
uuid: 987e6543-e21a-43f3-a356-527614173999 uuid: 987e6543-e21a-43f3-a356-527614173999
repo_url: 'https://github.com/google-research/bert' repo_url: 'https://github.com/google-research/bert'
# Model Datasets Used (Training data...) # Simple Dataset (singular or list of hugging face dataset ids)
datasets: common_voice
# Detailed Model Datasets Used (Training data...) (list of dicts)
dataset_sources: dataset_sources:
- name: Wikipedia Corpus - name: Wikipedia Corpus
author: Wikimedia Foundation author: Wikimedia Foundation