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

tokenizer = CamembertTokenizer.from_pretrained("camembert-base")
model = TFCamembertForMaskedLM.from_pretrained("camembert-base")`,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>)`}}),_=new ae({props:{code:`from transformers import AutoTokenizer, TFAutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("camembert-base")
model = TFAutoModelForMaskedLM.from_pretrained("camembert-base")`,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(){N(r.$$.fragment),m=x(),s=u("p"),g=c("\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=u("a"),w=u("code"),y=c("TFAuto*"),h=c(" classes"),k=c("\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 "),$=u("code"),C=c("TFAuto*"),z=c("\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"),E=x(),N(_.$$.fragment),this.h()},l(a){G(r.$$.fragment,a),m=j(a),s=b(a,"P",{});var n=d(s);g=i(n,"\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=b(n,"A",{href:!0,rel:!0});var M=d(f);w=b(M,"CODE",{});var V=d(w);y=i(V,"TFAuto*"),V.forEach(t),h=i(M," classes"),M.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 "),$=b(n,"CODE",{});var P=d($);C=i(P,"TFAuto*"),P.forEach(t),z=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),E=j(a),G(_.$$.fragment,a),this.h()},h(){v(f,"href","https://huggingface.co/transformers/model_doc/auto.html?highlight=auto#auto-classes"),v(f,"rel","nofollow")},m(a,n){R(r,a,n),p(a,m,n),p(a,s,n),l(s,g),l(s,f),l(f,w),l(w,y),l(f,h),l(s,k),l(s,$),l($,C),l(s,z),p(a,E,n),R(_,a,n),L=!0},i(a){L||(F(r.$$.fragment,a),F(_.$$.fragment,a),L=!0)},o(a){T(r.$$.fragment,a),T(_.$$.fragment,a),L=!1},d(a){I(r,a),a&&t(m),a&&t(s),a&&t(E),I(_,a)}}}function ns(A){let r,m,s,g,f,w,y,h,k,$,C,z,E,_,L;return r=new ae({props:{code:`from transformers import CamembertTokenizer, CamembertForMaskedLM

tokenizer = CamembertTokenizer.from_pretrained("camembert-base")
model = CamembertForMaskedLM.from_pretrained("camembert-base")`,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>)`}}),_=new ae({props:{code:`from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("camembert-base")
model = AutoModelForMaskedLM.from_pretrained("camembert-base")`,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(){N(r.$$.fragment),m=x(),s=u("p"),g=c("\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=u("a"),w=u("code"),y=c("Auto*"),h=c(" classes"),k=c("\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 "),$=u("code"),C=c("Auto*"),z=c("\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"),E=x(),N(_.$$.fragment),this.h()},l(a){G(r.$$.fragment,a),m=j(a),s=b(a,"P",{});var n=d(s);g=i(n,"\u3057\u304B\u3057\u3001\u4EE3\u308F\u308A\u306B"),f=b(n,"A",{href:!0,rel:!0});var M=d(f);w=b(M,"CODE",{});var V=d(w);y=i(V,"Auto*"),V.forEach(t),h=i(M," classes"),M.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 "),$=b(n,"CODE",{});var P=d($);C=i(P,"Auto*"),P.forEach(t),z=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),E=j(a),G(_.$$.fragment,a),this.h()},h(){v(f,"href","https://huggingface.co/transformers/model_doc/auto.html?highlight=auto#auto-classes"),v(f,"rel","nofollow")},m(a,n){R(r,a,n),p(a,m,n),p(a,s,n),l(s,g),l(s,f),l(f,w),l(w,y),l(f,h),l(s,k),l(s,$),l($,C),l(s,z),p(a,E,n),R(_,a,n),L=!0},i(a){L||(F(r.$$.fragment,a),F(_.$$.fragment,a),L=!0)},o(a){T(r.$$.fragment,a),T(_.$$.fragment,a),L=!1},d(a){I(r,a),a&&t(m),a&&t(s),a&&t(E),I(_,a)}}}function ms(A){let r;return{c(){r=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")},l(m){r=i(m,"\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(m,s){p(m,r,s)},d(m){m&&t(r)}}}function cs(A){let r,m,s,g,f,w,y,h,k,$,C,z,E,_,L,a,n,M,V,P,S,ge,re,$e,xe,le,je,we,fe,J,ue,U,be,q,Me,oe,ve,Ce,ne,Ee,qe,me,Te,Fe,ce,Ae,Le,_e,K,Q,ze,de,Y,ye,he,D,O,Z,H,ke;s=new as({props:{fw:A[0]}});const De=[ls,rs],W=[];function Oe(e,o){return e[0]==="pt"?0:1}h=Oe(A),k=W[h]=De[h](A),J=new ae({props:{code:`from transformers import pipeline

camembert_fill_mask = pipeline("fill-mask", model="camembert-base")
results = camembert_fill_mask("Le camembert est <mask> :)")`,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 D=Se(A),O=X[D]=Pe[D](A),H=new ts({props:{$$slots:{default:[ms]},$$scope:{ctx:A}}}),{c(){r=u("meta"),m=x(),N(s.$$.fragment),g=x(),f=u("h1"),w=c("\u5B66\u7FD2\u6E08\u307F\u30E2\u30C7\u30EB\u3092\u4F7F\u3046"),y=x(),k.c(),$=x(),C=u("p"),z=c("\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"),E=x(),_=u("p"),L=c("\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"),M=u("img"),P=x(),S=u("p"),ge=c("\u8A66\u3057\u306B"),re=u("code"),$e=c("camembert-base"),xe=c("\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u9078\u629E\u3057\u3066\u307F\u307E\u3057\u3087\u3046\u3002camembert-base"),le=u("code"),je=c("\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=c("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(),N(J.$$.fragment),ue=x(),N(U.$$.fragment),be=x(),q=u("p"),Me=c("\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"),ve=c("camembert-base"),Ce=c("\u3068\u3044\u3046\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092"),ne=u("code"),Ee=c("fill-mask"),qe=c("\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"),me=u("code"),Te=c("text-classification"),Fe=c("\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u3067\u30ED\u30FC\u30C9\u3057\u305F\u3068\u3059\u308B\u3068\u3001"),ce=u("code"),Ae=c("camembert-base"),Le=c("\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"),_e=x(),K=u("div"),Q=u("img"),de=x(),Y=u("p"),ye=c("\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"),he=x(),O.c(),Z=x(),N(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),m=j(e),G(s.$$.fragment,e),g=j(e),f=b(e,"H1",{id:!0});var ie=d(f);w=i(ie,"\u5B66\u7FD2\u6E08\u307F\u30E2\u30C7\u30EB\u3092\u4F7F\u3046"),ie.forEach(t),y=j(e),k.l(e),$=j(e),C=b(e,"P",{});var ee=d(C);z=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),E=j(e),_=b(e,"P",{});var se=d(_);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 pe=d(n);M=b(pe,"IMG",{src:!0,alt:!0,width:!0}),pe.forEach(t),P=j(e),S=b(e,"P",{});var te=d(S);ge=i(te,"\u8A66\u3057\u306B"),re=b(te,"CODE",{});var Be=d(re);$e=i(Be,"camembert-base"),Be.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 Ne=d(le);je=i(Ne,"\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 "),Ne.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),q=b(e,"P",{});var B=d(q);Me=i(B,"\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(B,"CODE",{});var Ge=d(oe);ve=i(Ge,"camembert-base"),Ge.forEach(t),Ce=i(B,"\u3068\u3044\u3046\u30C1\u30A7\u30C3\u30AF\u30DD\u30A4\u30F3\u30C8\u3092"),ne=b(B,"CODE",{});var Re=d(ne);Ee=i(Re,"fill-mask"),Re.forEach(t),qe=i(B,"\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"),me=b(B,"CODE",{});var Ie=d(me);Te=i(Ie,"text-classification"),Ie.forEach(t),Fe=i(B,"\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u3067\u30ED\u30FC\u30C9\u3057\u305F\u3068\u3059\u308B\u3068\u3001"),ce=b(B,"CODE",{});var Ve=d(ce);Ae=i(Ve,"camembert-base"),Ve.forEach(t),Le=i(B,"\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"),B.forEach(t),_e=j(e),K=b(e,"DIV",{class:!0});var He=d(K);Q=b(He,"IMG",{src:!0,alt:!0,width:!0}),He.forEach(t),de=j(e),Y=b(e,"P",{});var Je=d(Y);ye=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),he=j(e),O.l(e),Z=j(e),G(H.$$.fragment,e),this.h()},h(){v(r,"name","hf:doc:metadata"),v(r,"content",JSON.stringify(is)),v(f,"id",""),Ue(M.src,V="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter4/camembert.gif")||v(M,"src",V),v(M,"alt","Selecting the Camembert model."),v(M,"width","80%"),v(n,"class","flex justify-center"),Ue(Q.src,ze="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter4/tasks.png")||v(Q,"src",ze),v(Q,"alt","The task selector on the web interface."),v(Q,"width","80%"),v(K,"class","flex justify-center")},m(e,o){l(document.head,r),p(e,m,o),R(s,e,o),p(e,g,o),p(e,f,o),l(f,w),p(e,y,o),W[h].m(e,o),p(e,$,o),p(e,C,o),l(C,z),p(e,E,o),p(e,_,o),l(_,L),p(e,a,o),p(e,n,o),l(n,M),p(e,P,o),p(e,S,o),l(S,ge),l(S,re),l(re,$e),l(S,xe),l(S,le),l(le,je),l(S,we),p(e,fe,o),R(J,e,o),p(e,ue,o),R(U,e,o),p(e,be,o),p(e,q,o),l(q,Me),l(q,oe),l(oe,ve),l(q,Ce),l(q,ne),l(ne,Ee),l(q,qe),l(q,me),l(me,Te),l(q,Fe),l(q,ce),l(ce,Ae),l(q,Le),p(e,_e,o),p(e,K,o),l(K,Q),p(e,de,o),p(e,Y,o),l(Y,ye),p(e,he,o),X[D].m(e,o),p(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=h;h=Oe(e),h!==ee&&(Qe(),T(W[ee],1,1,()=>{W[ee]=null}),Ke(),k=W[h],k||(k=W[h]=De[h](e),k.c()),F(k,1),k.m($.parentNode,$));let se=D;D=Se(e),D!==se&&(Qe(),T(X[se],1,1,()=>{X[se]=null}),Ke(),O=X[D],O||(O=X[D]=Pe[D](e),O.c()),F(O,1),O.m(Z.parentNode,Z));const pe={};o&2&&(pe.$$scope={dirty:o,ctx:e}),H.$set(pe)},i(e){ke||(F(s.$$.fragment,e),F(k),F(J.$$.fragment,e),F(U.$$.fragment,e),F(O),F(H.$$.fragment,e),ke=!0)},o(e){T(s.$$.fragment,e),T(k),T(J.$$.fragment,e),T(U.$$.fragment,e),T(O),T(H.$$.fragment,e),ke=!1},d(e){t(r),e&&t(m),I(s,e),e&&t(g),e&&t(f),e&&t(y),W[h].d(e),e&&t($),e&&t(C),e&&t(E),e&&t(_),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(q),e&&t(_e),e&&t(K),e&&t(de),e&&t(Y),e&&t(he),X[D].d(e),e&&t(Z),I(H,e)}}}const is={local:"",title:"\u5B66\u7FD2\u6E08\u307F\u30E2\u30C7\u30EB\u3092\u4F7F\u3046"};function ps(A,r,m){let s="pt";return ss(()=>{const g=new URLSearchParams(window.location.search);m(0,s=g.get("fw")||"pt")}),[s]}class hs extends Xe{constructor(r){super();Ye(this,r,ps,cs,Ze,{})}}export{hs as default,is as metadata};
