import{S as Xe,i as Ye,s as Ze,e as u,k as x,w as B,t as p,M as es,c as b,d as t,m as j,x as G,a as _,h as i,b as E,N as Ue,G as l,g as m,y as R,o as M,p as Ke,q as T,B as I,v as ss,n as Qe}from"../../chunks/vendor-hf-doc-builder.js";import{T as ts,D as We}from"../../chunks/DocNotebookDropdown-hf-doc-builder.js";import{C as ae}from"../../chunks/CodeBlock-hf-doc-builder.js";import{F as as}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";function rs(A){let r,c;return r=new We({props:{classNames:"absolute z-10 right-0 top-0",options:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/chapter4/section2_tf.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/chapter4/section2_tf.ipynb"}]}}),{c(){B(r.$$.fragment)},l(s){G(r.$$.fragment,s)},m(s,$){R(r,s,$),c=!0},i(s){c||(T(r.$$.fragment,s),c=!0)},o(s){M(r.$$.fragment,s),c=!1},d(s){I(r,s)}}}function ls(A){let r,c;return r=new We({props:{classNames:"absolute z-10 right-0 top-0",options:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/chapter4/section2_pt.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/chapter4/section2_pt.ipynb"}]}}),{c(){B(r.$$.fragment)},l(s){G(r.$$.fragment,s)},m(s,$){R(r,s,$),c=!0},i(s){c||(T(r.$$.fragment,s),c=!0)},o(s){M(r.$$.fragment,s),c=!1},d(s){I(r,s)}}}function os(A){let r,c,s,$,f,w,F,d,k,g,q,D,C,h,L;return r=new ae({props:{code:"",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> CamembertTokenizer, TFCamembertForMaskedLM

tokenizer = CamembertTokenizer.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)
model = TFCamembertForMaskedLM.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)`}}),h=new ae({props:{code:"",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer, TFAutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)
model = TFAutoModelForMaskedLM.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)`}}),{c(){B(r.$$.fragment),c=x(),s=u("p"),$=p("\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=u("a"),w=u("code"),F=p("TFAuto*"),d=p(" classes"),k=p("\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3092\u304A\u52E7\u3081\u3057\u307E\u3059\u3002\u3053\u308C\u3089\u306F\u8A2D\u8A08\u4E0A\u3001\u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u306B\u4F9D\u5B58\u3057\u306A\u3044\u305F\u3081\u3067\u3059\u3002\u5148\u307B\u3069\u306E\u30B3\u30FC\u30C9\u30B5\u30F3\u30D7\u30EB\u3067\u306F\u3001CamemBERT \u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u3067\u30ED\u30FC\u30C9\u53EF\u80FD\u306A\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u306B\u9650\u5B9A\u3057\u3066\u3044\u307E\u3057\u305F\u304C\u3001 "),g=u("code"),q=p("TFAuto*"),D=p("\u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u7C21\u5358\u306B\u5207\u308A\u66FF\u3048\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\uFF1A"),C=x(),B(h.$$.fragment),this.h()},l(a){G(r.$$.fragment,a),c=j(a),s=b(a,"P",{});var n=_(s);$=i(n,"\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=b(n,"A",{href:!0,rel:!0});var v=_(f);w=b(v,"CODE",{});var V=_(w);F=i(V,"TFAuto*"),V.forEach(t),d=i(v," classes"),v.forEach(t),k=i(n,"\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3092\u304A\u52E7\u3081\u3057\u307E\u3059\u3002\u3053\u308C\u3089\u306F\u8A2D\u8A08\u4E0A\u3001\u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u306B\u4F9D\u5B58\u3057\u306A\u3044\u305F\u3081\u3067\u3059\u3002\u5148\u307B\u3069\u306E\u30B3\u30FC\u30C9\u30B5\u30F3\u30D7\u30EB\u3067\u306F\u3001CamemBERT \u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u3067\u30ED\u30FC\u30C9\u53EF\u80FD\u306A\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u306B\u9650\u5B9A\u3057\u3066\u3044\u307E\u3057\u305F\u304C\u3001 "),g=b(n,"CODE",{});var P=_(g);q=i(P,"TFAuto*"),P.forEach(t),D=i(n,"\u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u7C21\u5358\u306B\u5207\u308A\u66FF\u3048\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\uFF1A"),n.forEach(t),C=j(a),G(h.$$.fragment,a),this.h()},h(){E(f,"href","https://huggingface.co/transformers/model_doc/auto.html?highlight=auto#auto-classes"),E(f,"rel","nofollow")},m(a,n){R(r,a,n),m(a,c,n),m(a,s,n),l(s,$),l(s,f),l(f,w),l(w,F),l(f,d),l(s,k),l(s,g),l(g,q),l(s,D),m(a,C,n),R(h,a,n),L=!0},i(a){L||(T(r.$$.fragment,a),T(h.$$.fragment,a),L=!0)},o(a){M(r.$$.fragment,a),M(h.$$.fragment,a),L=!1},d(a){I(r,a),a&&t(c),a&&t(s),a&&t(C),I(h,a)}}}function ns(A){let r,c,s,$,f,w,F,d,k,g,q,D,C,h,L;return r=new ae({props:{code:"",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> CamembertTokenizer, CamembertForMaskedLM

tokenizer = CamembertTokenizer.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)
model = CamembertForMaskedLM.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)`}}),h=new ae({props:{code:"",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)
model = AutoModelForMaskedLM.from_pretrained(<span class="hljs-string">&quot;camembert-base&quot;</span>)`}}),{c(){B(r.$$.fragment),c=x(),s=u("p"),$=p("\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=u("a"),w=u("code"),F=p("Auto*"),d=p(" classes"),k=p("\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3092\u304A\u52E7\u3081\u3057\u307E\u3059\u3002\u3053\u308C\u3089\u306F\u8A2D\u8A08\u4E0A\u3001\uFF08\u30E2\u30C7\u30EB\uFF09\u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u306B\u4F9D\u5B58\u3057\u306A\u3044\u305F\u3081\u3067\u3059\u3002\u5148\u307B\u3069\u306E\u30B3\u30FC\u30C9\u30B5\u30F3\u30D7\u30EB\u3067\u306F\u3001CamemBERT \u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u3067\u30ED\u30FC\u30C9\u53EF\u80FD\u306A\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u306B\u9650\u5B9A\u3057\u3066\u3044\u307E\u3057\u305F\u304C\u3001 "),g=u("code"),q=p("Auto*"),D=p("\u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u7C21\u5358\u306B\u5207\u308A\u66FF\u3048\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\uFF1A"),C=x(),B(h.$$.fragment),this.h()},l(a){G(r.$$.fragment,a),c=j(a),s=b(a,"P",{});var n=_(s);$=i(n,"\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=b(n,"A",{href:!0,rel:!0});var v=_(f);w=b(v,"CODE",{});var V=_(w);F=i(V,"Auto*"),V.forEach(t),d=i(v," classes"),v.forEach(t),k=i(n,"\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3092\u304A\u52E7\u3081\u3057\u307E\u3059\u3002\u3053\u308C\u3089\u306F\u8A2D\u8A08\u4E0A\u3001\uFF08\u30E2\u30C7\u30EB\uFF09\u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u306B\u4F9D\u5B58\u3057\u306A\u3044\u305F\u3081\u3067\u3059\u3002\u5148\u307B\u3069\u306E\u30B3\u30FC\u30C9\u30B5\u30F3\u30D7\u30EB\u3067\u306F\u3001CamemBERT \u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u3067\u30ED\u30FC\u30C9\u53EF\u80FD\u306A\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u306B\u9650\u5B9A\u3057\u3066\u3044\u307E\u3057\u305F\u304C\u3001 "),g=b(n,"CODE",{});var P=_(g);q=i(P,"Auto*"),P.forEach(t),D=i(n,"\u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u7C21\u5358\u306B\u5207\u308A\u66FF\u3048\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\uFF1A"),n.forEach(t),C=j(a),G(h.$$.fragment,a),this.h()},h(){E(f,"href","https://huggingface.co/transformers/model_doc/auto.html?highlight=auto#auto-classes"),E(f,"rel","nofollow")},m(a,n){R(r,a,n),m(a,c,n),m(a,s,n),l(s,$),l(s,f),l(f,w),l(w,F),l(f,d),l(s,k),l(s,g),l(g,q),l(s,D),m(a,C,n),R(h,a,n),L=!0},i(a){L||(T(r.$$.fragment,a),T(h.$$.fragment,a),L=!0)},o(a){M(r.$$.fragment,a),M(h.$$.fragment,a),L=!1},d(a){I(r,a),a&&t(c),a&&t(s),a&&t(C),I(h,a)}}}function cs(A){let r;return{c(){r=p("\u5B66\u7FD2\u6E08\u307F\u306E\u30E2\u30C7\u30EB\u3092\u4F7F\u3046\u5834\u5408\u306F\u3001\u3069\u306E\u3088\u3046\u306B\u5B66\u7FD2\u3057\u305F\u306E\u304B\u3001\u3069\u306E\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3067\u5B66\u7FD2\u3057\u305F\u306E\u304B\u3001\u305D\u306E\u9650\u754C\u3068\u504F\u308A\u3092\u5FC5\u305A\u78BA\u8A8D\u3059\u308B\u3053\u3068\u3002\u3053\u308C\u3089\u306E\u60C5\u5831\u306F\u3059\u3079\u3066\u3001\u30E2\u30C7\u30EB\u30AB\u30FC\u30C9\u306B\u8A18\u8F09\u3055\u308C\u3066\u3044\u307E\u3059\u3002")},l(c){r=i(c,"\u5B66\u7FD2\u6E08\u307F\u306E\u30E2\u30C7\u30EB\u3092\u4F7F\u3046\u5834\u5408\u306F\u3001\u3069\u306E\u3088\u3046\u306B\u5B66\u7FD2\u3057\u305F\u306E\u304B\u3001\u3069\u306E\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3067\u5B66\u7FD2\u3057\u305F\u306E\u304B\u3001\u305D\u306E\u9650\u754C\u3068\u504F\u308A\u3092\u5FC5\u305A\u78BA\u8A8D\u3059\u308B\u3053\u3068\u3002\u3053\u308C\u3089\u306E\u60C5\u5831\u306F\u3059\u3079\u3066\u3001\u30E2\u30C7\u30EB\u30AB\u30FC\u30C9\u306B\u8A18\u8F09\u3055\u308C\u3066\u3044\u307E\u3059\u3002")},m(c,s){m(c,r,s)},d(c){c&&t(r)}}}function ps(A){let r,c,s,$,f,w,F,d,k,g,q,D,C,h,L,a,n,v,V,P,S,$e,re,ge,xe,le,je,we,fe,J,ue,U,be,y,ve,oe,Ee,qe,ne,Ce,ye,ce,Me,Te,pe,Ae,Le,he,K,Q,De,_e,Y,Fe,de,z,O,Z,H,ke;s=new as({props:{fw:A[0]}});const ze=[ls,rs],W=[];function Oe(e,o){return e[0]==="pt"?0:1}d=Oe(A),k=W[d]=ze[d](A),J=new ae({props:{code:"",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> pipeline

camembert_fill_mask = pipeline(<span class="hljs-string">&quot;fill-mask&quot;</span>, model=<span class="hljs-string">&quot;camembert-base&quot;</span>)
results = camembert_fill_mask(<span class="hljs-string">&quot;Le camembert est &lt;mask&gt; :)&quot;</span>)`}}),U=new ae({props:{code:`[
  {'sequence': 'Le camembert est d\xE9licieux :)', 'score': 0.49091005325317383, 'token': 7200, 'token_str': 'd\xE9licieux'}, 
  {'sequence': 'Le camembert est excellent :)', 'score': 0.1055697426199913, 'token': 2183, 'token_str': 'excellent'}, 
  {'sequence': 'Le camembert est succulent :)', 'score': 0.03453313186764717, 'token': 26202, 'token_str': 'succulent'}, 
  {'sequence': 'Le camembert est meilleur :)', 'score': 0.0330314114689827, 'token': 528, 'token_str': 'meilleur'}, 
  {'sequence': 'Le camembert est parfait :)', 'score': 0.03007650189101696, 'token': 1654, 'token_str': 'parfait'}
]`,highlighted:`[
  {<span class="hljs-string">&#x27;sequence&#x27;</span>: <span class="hljs-string">&#x27;Le camembert est d\xE9licieux :)&#x27;</span>, <span class="hljs-string">&#x27;score&#x27;</span>: <span class="hljs-number">0.49091005325317383</span>, <span class="hljs-string">&#x27;token&#x27;</span>: <span class="hljs-number">7200</span>, <span class="hljs-string">&#x27;token_str&#x27;</span>: <span class="hljs-string">&#x27;d\xE9licieux&#x27;</span>}, 
  {<span class="hljs-string">&#x27;sequence&#x27;</span>: <span class="hljs-string">&#x27;Le camembert est excellent :)&#x27;</span>, <span class="hljs-string">&#x27;score&#x27;</span>: <span class="hljs-number">0.1055697426199913</span>, <span class="hljs-string">&#x27;token&#x27;</span>: <span class="hljs-number">2183</span>, <span class="hljs-string">&#x27;token_str&#x27;</span>: <span class="hljs-string">&#x27;excellent&#x27;</span>}, 
  {<span class="hljs-string">&#x27;sequence&#x27;</span>: <span class="hljs-string">&#x27;Le camembert est succulent :)&#x27;</span>, <span class="hljs-string">&#x27;score&#x27;</span>: <span class="hljs-number">0.03453313186764717</span>, <span class="hljs-string">&#x27;token&#x27;</span>: <span class="hljs-number">26202</span>, <span class="hljs-string">&#x27;token_str&#x27;</span>: <span class="hljs-string">&#x27;succulent&#x27;</span>}, 
  {<span class="hljs-string">&#x27;sequence&#x27;</span>: <span class="hljs-string">&#x27;Le camembert est meilleur :)&#x27;</span>, <span class="hljs-string">&#x27;score&#x27;</span>: <span class="hljs-number">0.0330314114689827</span>, <span class="hljs-string">&#x27;token&#x27;</span>: <span class="hljs-number">528</span>, <span class="hljs-string">&#x27;token_str&#x27;</span>: <span class="hljs-string">&#x27;meilleur&#x27;</span>}, 
  {<span class="hljs-string">&#x27;sequence&#x27;</span>: <span class="hljs-string">&#x27;Le camembert est parfait :)&#x27;</span>, <span class="hljs-string">&#x27;score&#x27;</span>: <span class="hljs-number">0.03007650189101696</span>, <span class="hljs-string">&#x27;token&#x27;</span>: <span class="hljs-number">1654</span>, <span class="hljs-string">&#x27;token_str&#x27;</span>: <span class="hljs-string">&#x27;parfait&#x27;</span>}
]`}});const Pe=[ns,os],X=[];function Se(e,o){return e[0]==="pt"?0:1}return z=Se(A),O=X[z]=Pe[z](A),H=new ts({props:{$$slots:{default:[cs]},$$scope:{ctx:A}}}),{c(){r=u("meta"),c=x(),B(s.$$.fragment),$=x(),f=u("h1"),w=p("\u5B66\u7FD2\u6E08\u307F\u30E2\u30C7\u30EB\u3092\u4F7F\u3046"),F=x(),k.c(),g=x(),q=u("p"),D=p("\u30E2\u30C7\u30EB\u30CF\u30D6\u306F\u9069\u5207\u306A\u30E2\u30C7\u30EB\u3092\u7C21\u5358\u306B\u9078\u629E\u3067\u304D\u308B\u3088\u3046\u306B\u3057\u3001\u3069\u306E\u30E9\u30A4\u30D6\u30E9\u30EA\u304B\u3089\u3067\u3082\u6570\u884C\u306E\u30B3\u30FC\u30C9\u3067\u4F7F\u7528\u3067\u304D\u308B\u3088\u3046\u306B\u3057\u307E\u3059\u3002\u3067\u306F\u3001\u5B9F\u969B\u306B\u3053\u308C\u3089\u306E\u30E2\u30C7\u30EB\u3092\u3069\u306E\u3088\u3046\u306B\u4F7F\u7528\u3057\u3001\u3069\u306E\u3088\u3046\u306B\u30B3\u30DF\u30E5\u30CB\u30C6\u30A3\u306B\u8CA2\u732E\u3059\u308B\u304B\u3092\u898B\u3066\u3044\u304D\u307E\u3057\u3087\u3046\u3002"),C=x(),h=u("p"),L=p("\u4F8B\u3048\u3070\u3001\u30DE\u30B9\u30AF\u30D5\u30A3\u30EB\u3092\u884C\u3048\u308B\u30D5\u30E9\u30F3\u30B9\u8A9E\u306E\u30E2\u30C7\u30EB\u3092\u63A2\u3057\u3066\u3044\u308B\u3068\u3057\u307E\u3059\u3002"),a=x(),n=u("div"),v=u("img"),P=x(),S=u("p"),$e=p("\u8A66\u3057\u306B"),re=u("code"),ge=p("camembert-base"),xe=p("\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u9078\u629E\u3057\u3066\u307F\u307E\u3057\u3087\u3046\u3002camembert-base"),le=u("code"),je=p("\u3068\u3044\u3046\u8B58\u5225\u5B50\u304C\u3042\u308C\u3070\u3001\u3059\u3050\u306B\u4F7F\u3044\u59CB\u3081\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u3053\u308C\u307E\u3067\u306E\u7AE0\u3067\u898B\u3066\u304D\u305F\u3088\u3046\u306B\u3001 "),we=p("pipeline()` \u95A2\u6570\u3092\u4F7F\u7528\u3057\u3066\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u4F5C\u6210\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\uFF1A"),fe=x(),B(J.$$.fragment),ue=x(),B(U.$$.fragment),be=x(),y=u("p"),ve=p("\u3054\u89A7\u306E\u901A\u308A\u3001\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u5185\u3067\u306E\u30E2\u30C7\u30EB\u306E\u30ED\u30FC\u30C9\u306F\u975E\u5E38\u306B\u7C21\u5358\u3067\u3059\u3002\u552F\u4E00\u6C17\u3092\u3064\u3051\u306A\u3051\u308C\u3070\u306A\u3089\u306A\u3044\u306E\u306F\u3001\u9078\u629E\u3057\u305F\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u304C\u4F7F\u7528\u3059\u308B\u30BF\u30B9\u30AF\u306B\u9069\u3057\u3066\u3044\u308B\u304B\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u4F8B\u3048\u3070\u3001\u3053\u3053\u3067\u306F"),oe=u("code"),Ee=p("camembert-base"),qe=p("\u3068\u3044\u3046\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092"),ne=u("code"),Ce=p("fill-mask"),ye=p("\u3068\u3044\u3046\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u3067\u30ED\u30FC\u30C9\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u3053\u308C\u306F\u5168\u304F\u554F\u984C\u3042\u308A\u307E\u305B\u3093\u3002\u3057\u304B\u3057\u3001\u3053\u306E\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092"),ce=u("code"),Me=p("text-classification"),Te=p("\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u3067\u30ED\u30FC\u30C9\u3057\u305F\u3068\u3059\u308B\u3068\u3001"),pe=u("code"),Ae=p("camembert-base"),Le=p("\u306E\u300C\u30D8\u30C3\u30C9\u300D\u304C\u3053\u306E\u30BF\u30B9\u30AF\u306B\u9069\u3057\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u7D50\u679C\u304C\u610F\u5473\u3092\u306A\u3055\u306A\u3044\u3053\u3068\u306B\u306A\u308A\u307E\u3059\uFF01\u9069\u5207\u306A\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u9078\u629E\u3059\u308B\u305F\u3081\u306B\u3001\u30CF\u30AE\u30F3\u30B0\u30D5\u30A7\u30A4\u30B9\u30CF\u30D6\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u3042\u308B\u30BF\u30B9\u30AF\u30BB\u30EC\u30AF\u30BF\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3092\u304A\u52E7\u3081\u3057\u307E\u3059\uFF1A"),he=x(),K=u("div"),Q=u("img"),_e=x(),Y=u("p"),Fe=p("\u307E\u305F\u3001\u30E2\u30C7\u30EB\u30FB\u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u3092\u76F4\u63A5\u4F7F\u7528\u3057\u3066\u3001\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\uFF1A"),de=x(),O.c(),Z=x(),B(H.$$.fragment),this.h()},l(e){const o=es('[data-svelte="svelte-1phssyn"]',document.head);r=b(o,"META",{name:!0,content:!0}),o.forEach(t),c=j(e),G(s.$$.fragment,e),$=j(e),f=b(e,"H1",{id:!0});var ie=_(f);w=i(ie,"\u5B66\u7FD2\u6E08\u307F\u30E2\u30C7\u30EB\u3092\u4F7F\u3046"),ie.forEach(t),F=j(e),k.l(e),g=j(e),q=b(e,"P",{});var ee=_(q);D=i(ee,"\u30E2\u30C7\u30EB\u30CF\u30D6\u306F\u9069\u5207\u306A\u30E2\u30C7\u30EB\u3092\u7C21\u5358\u306B\u9078\u629E\u3067\u304D\u308B\u3088\u3046\u306B\u3057\u3001\u3069\u306E\u30E9\u30A4\u30D6\u30E9\u30EA\u304B\u3089\u3067\u3082\u6570\u884C\u306E\u30B3\u30FC\u30C9\u3067\u4F7F\u7528\u3067\u304D\u308B\u3088\u3046\u306B\u3057\u307E\u3059\u3002\u3067\u306F\u3001\u5B9F\u969B\u306B\u3053\u308C\u3089\u306E\u30E2\u30C7\u30EB\u3092\u3069\u306E\u3088\u3046\u306B\u4F7F\u7528\u3057\u3001\u3069\u306E\u3088\u3046\u306B\u30B3\u30DF\u30E5\u30CB\u30C6\u30A3\u306B\u8CA2\u732E\u3059\u308B\u304B\u3092\u898B\u3066\u3044\u304D\u307E\u3057\u3087\u3046\u3002"),ee.forEach(t),C=j(e),h=b(e,"P",{});var se=_(h);L=i(se,"\u4F8B\u3048\u3070\u3001\u30DE\u30B9\u30AF\u30D5\u30A3\u30EB\u3092\u884C\u3048\u308B\u30D5\u30E9\u30F3\u30B9\u8A9E\u306E\u30E2\u30C7\u30EB\u3092\u63A2\u3057\u3066\u3044\u308B\u3068\u3057\u307E\u3059\u3002"),se.forEach(t),a=j(e),n=b(e,"DIV",{class:!0});var me=_(n);v=b(me,"IMG",{src:!0,alt:!0,width:!0}),me.forEach(t),P=j(e),S=b(e,"P",{});var te=_(S);$e=i(te,"\u8A66\u3057\u306B"),re=b(te,"CODE",{});var Ne=_(re);ge=i(Ne,"camembert-base"),Ne.forEach(t),xe=i(te,"\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u9078\u629E\u3057\u3066\u307F\u307E\u3057\u3087\u3046\u3002camembert-base"),le=b(te,"CODE",{});var Be=_(le);je=i(Be,"\u3068\u3044\u3046\u8B58\u5225\u5B50\u304C\u3042\u308C\u3070\u3001\u3059\u3050\u306B\u4F7F\u3044\u59CB\u3081\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u3053\u308C\u307E\u3067\u306E\u7AE0\u3067\u898B\u3066\u304D\u305F\u3088\u3046\u306B\u3001 "),Be.forEach(t),we=i(te,"pipeline()` \u95A2\u6570\u3092\u4F7F\u7528\u3057\u3066\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u4F5C\u6210\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\uFF1A"),te.forEach(t),fe=j(e),G(J.$$.fragment,e),ue=j(e),G(U.$$.fragment,e),be=j(e),y=b(e,"P",{});var N=_(y);ve=i(N,"\u3054\u89A7\u306E\u901A\u308A\u3001\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u5185\u3067\u306E\u30E2\u30C7\u30EB\u306E\u30ED\u30FC\u30C9\u306F\u975E\u5E38\u306B\u7C21\u5358\u3067\u3059\u3002\u552F\u4E00\u6C17\u3092\u3064\u3051\u306A\u3051\u308C\u3070\u306A\u3089\u306A\u3044\u306E\u306F\u3001\u9078\u629E\u3057\u305F\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u304C\u4F7F\u7528\u3059\u308B\u30BF\u30B9\u30AF\u306B\u9069\u3057\u3066\u3044\u308B\u304B\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u4F8B\u3048\u3070\u3001\u3053\u3053\u3067\u306F"),oe=b(N,"CODE",{});var Ge=_(oe);Ee=i(Ge,"camembert-base"),Ge.forEach(t),qe=i(N,"\u3068\u3044\u3046\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092"),ne=b(N,"CODE",{});var Re=_(ne);Ce=i(Re,"fill-mask"),Re.forEach(t),ye=i(N,"\u3068\u3044\u3046\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u3067\u30ED\u30FC\u30C9\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u3053\u308C\u306F\u5168\u304F\u554F\u984C\u3042\u308A\u307E\u305B\u3093\u3002\u3057\u304B\u3057\u3001\u3053\u306E\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092"),ce=b(N,"CODE",{});var Ie=_(ce);Me=i(Ie,"text-classification"),Ie.forEach(t),Te=i(N,"\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u3067\u30ED\u30FC\u30C9\u3057\u305F\u3068\u3059\u308B\u3068\u3001"),pe=b(N,"CODE",{});var Ve=_(pe);Ae=i(Ve,"camembert-base"),Ve.forEach(t),Le=i(N,"\u306E\u300C\u30D8\u30C3\u30C9\u300D\u304C\u3053\u306E\u30BF\u30B9\u30AF\u306B\u9069\u3057\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u7D50\u679C\u304C\u610F\u5473\u3092\u306A\u3055\u306A\u3044\u3053\u3068\u306B\u306A\u308A\u307E\u3059\uFF01\u9069\u5207\u306A\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u9078\u629E\u3059\u308B\u305F\u3081\u306B\u3001\u30CF\u30AE\u30F3\u30B0\u30D5\u30A7\u30A4\u30B9\u30CF\u30D6\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u3042\u308B\u30BF\u30B9\u30AF\u30BB\u30EC\u30AF\u30BF\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3092\u304A\u52E7\u3081\u3057\u307E\u3059\uFF1A"),N.forEach(t),he=j(e),K=b(e,"DIV",{class:!0});var He=_(K);Q=b(He,"IMG",{src:!0,alt:!0,width:!0}),He.forEach(t),_e=j(e),Y=b(e,"P",{});var Je=_(Y);Fe=i(Je,"\u307E\u305F\u3001\u30E2\u30C7\u30EB\u30FB\u30A2\u30FC\u30AD\u30C6\u30AF\u30C1\u30E3\u3092\u76F4\u63A5\u4F7F\u7528\u3057\u3066\u3001\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\uFF1A"),Je.forEach(t),de=j(e),O.l(e),Z=j(e),G(H.$$.fragment,e),this.h()},h(){E(r,"name","hf:doc:metadata"),E(r,"content",JSON.stringify(is)),E(f,"id",""),Ue(v.src,V="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter4/camembert.gif")||E(v,"src",V),E(v,"alt","Selecting the Camembert model."),E(v,"width","80%"),E(n,"class","flex justify-center"),Ue(Q.src,De="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter4/tasks.png")||E(Q,"src",De),E(Q,"alt","The task selector on the web interface."),E(Q,"width","80%"),E(K,"class","flex justify-center")},m(e,o){l(document.head,r),m(e,c,o),R(s,e,o),m(e,$,o),m(e,f,o),l(f,w),m(e,F,o),W[d].m(e,o),m(e,g,o),m(e,q,o),l(q,D),m(e,C,o),m(e,h,o),l(h,L),m(e,a,o),m(e,n,o),l(n,v),m(e,P,o),m(e,S,o),l(S,$e),l(S,re),l(re,ge),l(S,xe),l(S,le),l(le,je),l(S,we),m(e,fe,o),R(J,e,o),m(e,ue,o),R(U,e,o),m(e,be,o),m(e,y,o),l(y,ve),l(y,oe),l(oe,Ee),l(y,qe),l(y,ne),l(ne,Ce),l(y,ye),l(y,ce),l(ce,Me),l(y,Te),l(y,pe),l(pe,Ae),l(y,Le),m(e,he,o),m(e,K,o),l(K,Q),m(e,_e,o),m(e,Y,o),l(Y,Fe),m(e,de,o),X[z].m(e,o),m(e,Z,o),R(H,e,o),ke=!0},p(e,[o]){const ie={};o&1&&(ie.fw=e[0]),s.$set(ie);let ee=d;d=Oe(e),d!==ee&&(Qe(),M(W[ee],1,1,()=>{W[ee]=null}),Ke(),k=W[d],k||(k=W[d]=ze[d](e),k.c()),T(k,1),k.m(g.parentNode,g));let se=z;z=Se(e),z!==se&&(Qe(),M(X[se],1,1,()=>{X[se]=null}),Ke(),O=X[z],O||(O=X[z]=Pe[z](e),O.c()),T(O,1),O.m(Z.parentNode,Z));const me={};o&2&&(me.$$scope={dirty:o,ctx:e}),H.$set(me)},i(e){ke||(T(s.$$.fragment,e),T(k),T(J.$$.fragment,e),T(U.$$.fragment,e),T(O),T(H.$$.fragment,e),ke=!0)},o(e){M(s.$$.fragment,e),M(k),M(J.$$.fragment,e),M(U.$$.fragment,e),M(O),M(H.$$.fragment,e),ke=!1},d(e){t(r),e&&t(c),I(s,e),e&&t($),e&&t(f),e&&t(F),W[d].d(e),e&&t(g),e&&t(q),e&&t(C),e&&t(h),e&&t(a),e&&t(n),e&&t(P),e&&t(S),e&&t(fe),I(J,e),e&&t(ue),I(U,e),e&&t(be),e&&t(y),e&&t(he),e&&t(K),e&&t(_e),e&&t(Y),e&&t(de),X[z].d(e),e&&t(Z),I(H,e)}}}const is={local:"",title:"\u5B66\u7FD2\u6E08\u307F\u30E2\u30C7\u30EB\u3092\u4F7F\u3046"};function ms(A,r,c){let s="pt";return ss(()=>{const $=new URLSearchParams(window.location.search);c(0,s=$.get("fw")||"pt")}),[s]}class _s extends Xe{constructor(r){super();Ye(this,r,ms,ps,Ze,{})}}export{_s as default,is as metadata};
