|
|
Line 1: |
Line 1: |
| <includeonly><div class="model-infobox">
| |
| <div class="heading">[[{{PAGENAME}}]]</div>
| |
|
| |
|
| <div style="width: 500px; display: flex; flex-direction: column;">
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{hugging-face-uri|}}}|
| |
| <div class="model-infobox-cell">'''Hugging Face'''</div>
| |
| <div class="model-infobox-cell">[[Has hf model name::{{{hugging-face-uri}}}]]</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{name|}}}|
| |
| <div class="model-infobox-cell">'''Name'''</div>
| |
| <div class="model-infobox-cell">[[Has model name::{{{name}}}]]</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{creator|}}}|
| |
| <div class="model-infobox-cell">'''Creator'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{creator|}}}|,|x|[[Has creator::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{type|}}}|
| |
| <div class="model-infobox-cell">'''Type'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{type|}}}|,|x|[[Has model type::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{task|}}}|
| |
| <div class="model-infobox-cell">'''Task'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{task|}}}|,|x|[[Has task::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{library|}}}|
| |
| <div class="model-infobox-cell">'''Library'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{library|}}}|,|x|[[Has library::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{dataset|}}}|
| |
| <div class="model-infobox-cell">'''Dataset'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{dataset|}}}|,|x|[[Has dataset::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{language|}}}|
| |
| <div class="model-infobox-cell">'''Language'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{language|}}}|,|x|[[Has language::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{paper|}}}|
| |
| <div class="model-infobox-cell">'''Paper'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{paper|}}}|,|x|[[Has paper::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{related-to|}}}|
| |
| <div class="model-infobox-cell">'''Related to'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{related-to|}}}|,|x|[[Has related-to::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| <div class="model-infobox-row">
| |
| {{#if:{{{license|}}}|
| |
| <div class="model-infobox-cell">'''License'''</div>
| |
| <div class="model-infobox-cell">{{#arraymap:{{{license|}}}|,|x|[[Has license::x]]}}</div>
| |
| }}
| |
| </div>
| |
|
| |
| </div>
| |
|
| |
| </div>
| |
| </includeonly><noinclude>
| |
| ==Usage==
| |
| Use this infobox for defining [[models]].
| |
|
| |
| <pre>
| |
| {{Model infobox
| |
| | hugging-face-uri =
| |
| | creator =
| |
| | name =
| |
| | type =
| |
| | task =
| |
| | library =
| |
| | dataset =
| |
| | language =
| |
| | paper =
| |
| | related-to =
| |
| | license =
| |
| }}
| |
| </pre>
| |
|
| |
| {{Model infobox
| |
| | hugging-face-uri = openai/clip-vit-large-patch14
| |
| | creator = openai
| |
| | name = clip-vit-large-patch14
| |
| | type =
| |
| | task =
| |
| | library =
| |
| | dataset =
| |
| | language =
| |
| | paper =
| |
| | related-to =
| |
| | license =
| |
| }}
| |
|
| |
| {{Model infobox
| |
| | hugging-face-uri = bert-base-uncased
| |
| | creator =
| |
| | name = bert-base-uncased
| |
| | type =
| |
| | task =
| |
| | library =
| |
| | dataset =
| |
| | language =
| |
| | paper =
| |
| | related-to =
| |
| | license =
| |
| }}
| |
|
| |
| </noinclude>
| |