Template:Model infobox: Difference between revisions
No edit summary |
No edit summary |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 21: | Line 21: | ||
{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}| | {{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}| | ||
<div class="model-infobox-cell">'''User / Organization'''</div> | <div class="model-infobox-cell">'''User / Organization'''</div> | ||
<div class="model-infobox-cell">{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|[[Has model user-organization::https://huggingface.co/{{#explode:{{{hugging-face-uri|}}}|/|0}}|{{#explode:{{{hugging-face-uri|}}}|/|0}}]]|}}</div> | <div class="model-infobox-cell">{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|[[Has model user-organization url::https://huggingface.co/{{#explode:{{{hugging-face-uri|}}}|/|0}}|{{#explode:{{{hugging-face-uri|}}}|/|0}}]]|}}</div> | ||
}} | }} | ||
</div> | </div> | ||
Line 71: | Line 71: | ||
<div class="model-infobox-cell">'''Paper'''</div> | <div class="model-infobox-cell">'''Paper'''</div> | ||
<div class="model-infobox-cell">{{#arraymap:{{{paper|}}}|,|x|[[Has paper::x]]}}</div> | <div class="model-infobox-cell">{{#arraymap:{{{paper|}}}|,|x|[[Has paper::x]]}}</div> | ||
}} | }} | ||
</div> | </div> | ||
Line 88: | Line 81: | ||
</div> | </div> | ||
{{#arraymap:{{{tags|}}}|,|x|[[Has tags::x]]}} | <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><span style="display:none!important;"> | |||
{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|[[Has model user-organization::{{#explode:{{{hugging-face-uri|}}}|/|0}}|{{#explode:{{{hugging-face-uri|}}}|/|0}}]]|}} | |||
{{#arraymap:{{{all-tags|}}}|,|x|[[Has all-tags::x]]}} | |||
{{#arraymap:{{{all-lang-tags|}}}|,|x|[[Has all-lang-tags::x]]}}</span> | |||
</div> | </div> | ||
</div> | </div> | ||
{{PAGENAME}} is a [[model]]. | [[{{PAGENAME}}]] is a {{#arraymap:{{{type|}}}|,|x|[[x]]}} [[model]] used for {{#arraymap:{{{task|}}}|,|x|[[x]]}}. | ||
</includeonly><noinclude> | [[Category:Models]]</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Use this infobox for defining [[models]]. | Use this infobox for defining [[models]]. | ||
Line 108: | Line 107: | ||
| language = | | language = | ||
| paper = | | paper = | ||
| license = | |||
| related-to = | | related-to = | ||
| | | all-tags = | ||
| tags = | | all-lang-tags = | ||
}} | }} | ||
</pre></noinclude> | </pre></noinclude> |
Latest revision as of 10:43, 18 May 2023
Usage
Use this infobox for defining models.
{{Model infobox | hugging-face-uri = | creator = | type = | task = | library = | dataset = | language = | paper = | license = | related-to = | all-tags = | all-lang-tags = }}