Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Suppressors, Administrators
7,785
edits
No edit summary |
|||
Line 168: | Line 168: | ||
}} | }} | ||
|-|Conversational= | |-|Conversational= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 199: | Line 200: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 231: | Line 233: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Feature Extraction= | |-|Feature Extraction= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 263: | Line 267: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 295: | Line 300: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Fill-Mask= | |-|Fill-Mask= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 327: | Line 334: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 359: | Line 367: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Image Classification= | |-|Image Classification= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 391: | Line 401: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 423: | Line 434: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Question Answering= | |-|Question Answering= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 455: | Line 468: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 487: | Line 501: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Summarization= | |-|Summarization= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 519: | Line 535: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 551: | Line 568: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Table Question Answering= | |-|Table Question Answering= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 583: | Line 602: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 615: | Line 635: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Text Classification= | |-|Text Classification= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 647: | Line 669: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 679: | Line 702: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Text Generation= | |-|Text Generation= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 711: | Line 736: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 743: | Line 769: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Text2Text Generation= | |-|Text2Text Generation= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 775: | Line 803: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 807: | Line 836: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Token Classification= | |-|Token Classification= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 839: | Line 870: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 871: | Line 903: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Translation= | |-|Translation= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 903: | Line 937: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 935: | Line 970: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
|-|Zero-Shot Classification= | |-|Zero-Shot Classification= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 967: | Line 1,004: | ||
}) | }) | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
from sagemaker.huggingface import HuggingFaceModel | from sagemaker.huggingface import HuggingFaceModel | ||
Line 999: | Line 1,037: | ||
}) | }) | ||
</pre> | </pre> | ||
}} | |||
</tabber> | </tabber> | ||
Line 1,013: | Line 1,052: | ||
<tabber> | <tabber> | ||
|-|Causal Language Modeling= | |-|Causal Language Modeling= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,047: | Line 1,087: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,083: | Line 1,124: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
}} | |||
|-|Masked Language Modeling= | |-|Masked Language Modeling= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,118: | Line 1,161: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,154: | Line 1,198: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
}} | |||
|-|Question Answering= | |-|Question Answering= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,189: | Line 1,235: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,225: | Line 1,272: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
}} | |||
|-|Summarization= | |-|Summarization= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,260: | Line 1,309: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,296: | Line 1,346: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
}} | |||
|-|Text Classification= | |-|Text Classification= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,331: | Line 1,383: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,367: | Line 1,420: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
}} | |||
|-|Token Classification= | |-|Token Classification= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,402: | Line 1,457: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,438: | Line 1,494: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
}} | |||
|-|Translation= | |-|Translation= | ||
{{#tag:tabber| | |||
AWS= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,473: | Line 1,531: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
{{!}}-{{!}} | |||
Local Machine= | |||
<pre> | <pre> | ||
import sagemaker | import sagemaker | ||
Line 1,509: | Line 1,568: | ||
huggingface_estimator.fit() | huggingface_estimator.fit() | ||
</pre> | </pre> | ||
}} | |||
</tabber> | </tabber> | ||
==Model Card== | ==Model Card== |