import{s as Se,o as We,n as Xe}from"../chunks/scheduler.25b97de1.js";import{S as Ae,i as Ye,g as a,s as o,r as m,A as Oe,h as i,f as n,c as s,j as J,u as h,x as k,k as M,y as r,a as l,v as g,d as f,t as u,w as _}from"../chunks/index.d9030fc9.js";import{T as Ke}from"../chunks/Tip.baa67368.js";import{D as te}from"../chunks/Docstring.ffac8efa.js";import{C as et}from"../chunks/CodeBlock.e6cd0d95.js";import{H as ve,E as tt}from"../chunks/EditOnGithub.91d95064.js";function nt(oe){let p,P=`PhoBERT implementation is the same as BERT, except for tokenization. Refer to <a href="bert">BERT documentation</a> for information on
configuration classes and their parameters. PhoBERT-specific tokenizer is documented below.`;return{c(){p=a("p"),p.innerHTML=P},l(b){p=i(b,"P",{"data-svelte-h":!0}),k(p)!=="svelte-1o8sd9x"&&(p.innerHTML=P)},m(b,Z){l(b,p,Z)},p:Xe,d(b){b&&n(p)}}}function ot(oe){let p,P,b,Z,q,se,U,re,z,Le='The PhoBERT model was proposed in <a href="https://www.aclweb.org/anthology/2020.findings-emnlp.92.pdf" rel="nofollow">PhoBERT: Pre-trained language models for Vietnamese</a> by Dat Quoc Nguyen, Anh Tuan Nguyen.',ae,C,Be="The abstract from the paper is the following:",ie,E,Ie=`<em>We present PhoBERT with two versions, PhoBERT-base and PhoBERT-large, the first public large-scale monolingual
language models pre-trained for Vietnamese. Experimental results show that PhoBERT consistently outperforms the recent
best pre-trained multilingual model XLM-R (Conneau et al., 2020) and improves the state-of-the-art in multiple
Vietnamese-specific NLP tasks including Part-of-speech tagging, Dependency parsing, Named-entity recognition and
Natural language inference.</em>`,le,V,Re='This model was contributed by <a href="https://huggingface.co/dqnguyen" rel="nofollow">dqnguyen</a>. The original code can be found <a href="https://github.com/VinAIResearch/PhoBERT" rel="nofollow">here</a>.',de,L,ce,B,pe,v,me,I,he,d,R,ye,N,je="Construct a PhoBERT tokenizer. Based on Byte-Pair-Encoding.",we,S,De=`This tokenizer inherits from <a href="/docs/transformers/main/en/main_classes/tokenizer#transformers.PreTrainedTokenizer">PreTrainedTokenizer</a> which contains most of the main methods. Users should refer to
this superclass for more information regarding those methods.`,$e,y,j,xe,W,Ge="Loads a pre-existing dictionary from a text file and adds its symbols to this instance.",Je,T,D,Me,X,Fe=`Build model inputs from a sequence or a pair of sequence for sequence classification tasks by concatenating and
adding special tokens. A PhoBERT sequence has the following format:`,Pe,A,Qe="<li>single sequence: <code>&lt;s&gt; X &lt;/s&gt;</code></li> <li>pair of sequences: <code>&lt;s&gt; A &lt;/s&gt;&lt;/s&gt; B &lt;/s&gt;</code></li>",qe,w,G,Ue,Y,He="Converts a sequence of tokens (string) in a single string.",ze,$,F,Ce,O,Ze=`Create a mask from the two sequences passed to be used in a sequence-pair classification task. PhoBERT does not
make use of token type ids, therefore a list of zeros is returned.`,Ee,x,Q,Ve,K,Ne=`Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding
special tokens using the tokenizer <code>prepare_for_model</code> method.`,ge,H,fe,ne,ue;return q=new ve({props:{title:"PhoBERT",local:"phobert",headingTag:"h1"}}),U=new ve({props:{title:"Overview",local:"overview",headingTag:"h2"}}),L=new ve({props:{title:"Usage example",local:"usage-example",headingTag:"h2"}}),B=new et({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwQXV0b01vZGVsJTJDJTIwQXV0b1Rva2VuaXplciUwQSUwQXBob2JlcnQlMjAlM0QlMjBBdXRvTW9kZWwuZnJvbV9wcmV0cmFpbmVkKCUyMnZpbmFpJTJGcGhvYmVydC1iYXNlJTIyKSUwQXRva2VuaXplciUyMCUzRCUyMEF1dG9Ub2tlbml6ZXIuZnJvbV9wcmV0cmFpbmVkKCUyMnZpbmFpJTJGcGhvYmVydC1iYXNlJTIyKSUwQSUwQSUyMyUyMElOUFVUJTIwVEVYVCUyME1VU1QlMjBCRSUyMEFMUkVBRFklMjBXT1JELVNFR01FTlRFRCElMEFsaW5lJTIwJTNEJTIwJTIyVCVDMyVCNGklMjBsJUMzJUEwJTIwc2luaF92aSVDMyVBQW4lMjB0ciVDNiVCMCVFMSVCQiU5RG5nJTIwJUM0JTkxJUUxJUJBJUExaV9oJUUxJUJCJThEYyUyMEMlQzMlQjRuZ19uZ2glRTElQkIlODclMjAuJTIyJTBBJTBBaW5wdXRfaWRzJTIwJTNEJTIwdG9yY2gudGVuc29yKCU1QnRva2VuaXplci5lbmNvZGUobGluZSklNUQpJTBBJTBBd2l0aCUyMHRvcmNoLm5vX2dyYWQoKSUzQSUwQSUyMCUyMCUyMCUyMGZlYXR1cmVzJTIwJTNEJTIwcGhvYmVydChpbnB1dF9pZHMpJTIwJTIwJTIzJTIwTW9kZWxzJTIwb3V0cHV0cyUyMGFyZSUyMG5vdyUyMHR1cGxlcyUwQSUwQSUyMyUyMFdpdGglMjBUZW5zb3JGbG93JTIwMi4wJTJCJTNBJTBBJTIzJTIwZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRGQXV0b01vZGVsJTBBJTIzJTIwcGhvYmVydCUyMCUzRCUyMFRGQXV0b01vZGVsLmZyb21fcHJldHJhaW5lZCglMjJ2aW5haSUyRnBob2JlcnQtYmFzZSUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModel, AutoTokenizer

<span class="hljs-meta">&gt;&gt;&gt; </span>phobert = AutoModel.from_pretrained(<span class="hljs-string">&quot;vinai/phobert-base&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(<span class="hljs-string">&quot;vinai/phobert-base&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># INPUT TEXT MUST BE ALREADY WORD-SEGMENTED!</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>line = <span class="hljs-string">&quot;Tôi là sinh_viên trường đại_học Công_nghệ .&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>input_ids = torch.tensor([tokenizer.encode(line)])

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> torch.no_grad():
<span class="hljs-meta">... </span>    features = phobert(input_ids)  <span class="hljs-comment"># Models outputs are now tuples</span>

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># With TensorFlow 2.0+:</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># from transformers import TFAutoModel</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># phobert = TFAutoModel.from_pretrained(&quot;vinai/phobert-base&quot;)</span>`,wrap:!1}}),v=new Ke({props:{$$slots:{default:[nt]},$$scope:{ctx:oe}}}),I=new ve({props:{title:"PhobertTokenizer",local:"transformers.PhobertTokenizer",headingTag:"h2"}}),R=new te({props:{name:"class transformers.PhobertTokenizer",anchor:"transformers.PhobertTokenizer",parameters:[{name:"vocab_file",val:""},{name:"merges_file",val:""},{name:"bos_token",val:" = '<s>'"},{name:"eos_token",val:" = '</s>'"},{name:"sep_token",val:" = '</s>'"},{name:"cls_token",val:" = '<s>'"},{name:"unk_token",val:" = '<unk>'"},{name:"pad_token",val:" = '<pad>'"},{name:"mask_token",val:" = '<mask>'"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.PhobertTokenizer.vocab_file",description:`<strong>vocab_file</strong> (<code>str</code>) &#x2014;
Path to the vocabulary file.`,name:"vocab_file"},{anchor:"transformers.PhobertTokenizer.merges_file",description:`<strong>merges_file</strong> (<code>str</code>) &#x2014;
Path to the merges file.`,name:"merges_file"},{anchor:"transformers.PhobertTokenizer.bos_token",description:`<strong>bos_token</strong> (<code>st</code>, <em>optional</em>, defaults to <code>&quot;&lt;s&gt;&quot;</code>) &#x2014;
The beginning of sequence token that was used during pretraining. Can be used a sequence classifier token.</p>
<div class="course-tip  bg-gradient-to-br dark:bg-gradient-to-r before:border-green-500 dark:before:border-green-800 from-green-50 dark:from-gray-900 to-white dark:to-gray-950 border border-green-50 text-green-700 dark:text-gray-400">
						
<p>When building a sequence using special tokens, this is not the token that is used for the beginning of
sequence. The token used is the <code>cls_token</code>.</p>

					</div>`,name:"bos_token"},{anchor:"transformers.PhobertTokenizer.eos_token",description:`<strong>eos_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&lt;/s&gt;&quot;</code>) &#x2014;
The end of sequence token.</p>
<div class="course-tip  bg-gradient-to-br dark:bg-gradient-to-r before:border-green-500 dark:before:border-green-800 from-green-50 dark:from-gray-900 to-white dark:to-gray-950 border border-green-50 text-green-700 dark:text-gray-400">
						
<p>When building a sequence using special tokens, this is not the token that is used for the end of sequence.
The token used is the <code>sep_token</code>.</p>

					</div>`,name:"eos_token"},{anchor:"transformers.PhobertTokenizer.sep_token",description:`<strong>sep_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&lt;/s&gt;&quot;</code>) &#x2014;
The separator token, which is used when building a sequence from multiple sequences, e.g. two sequences for
sequence classification or for a text and a question for question answering. It is also used as the last
token of a sequence built with special tokens.`,name:"sep_token"},{anchor:"transformers.PhobertTokenizer.cls_token",description:`<strong>cls_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&lt;s&gt;&quot;</code>) &#x2014;
The classifier token which is used when doing sequence classification (classification of the whole sequence
instead of per-token classification). It is the first token of the sequence when built with special tokens.`,name:"cls_token"},{anchor:"transformers.PhobertTokenizer.unk_token",description:`<strong>unk_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&lt;unk&gt;&quot;</code>) &#x2014;
The unknown token. A token that is not in the vocabulary cannot be converted to an ID and is set to be this
token instead.`,name:"unk_token"},{anchor:"transformers.PhobertTokenizer.pad_token",description:`<strong>pad_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&lt;pad&gt;&quot;</code>) &#x2014;
The token used for padding, for example when batching sequences of different lengths.`,name:"pad_token"},{anchor:"transformers.PhobertTokenizer.mask_token",description:`<strong>mask_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&lt;mask&gt;&quot;</code>) &#x2014;
The token used for masking values. This is the token used when training this model with masked language
modeling. This is the token which the model will try to predict.`,name:"mask_token"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/phobert/tokenization_phobert.py#L51"}}),j=new te({props:{name:"add_from_file",anchor:"transformers.PhobertTokenizer.add_from_file",parameters:[{name:"f",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/phobert/tokenization_phobert.py#L327"}}),D=new te({props:{name:"build_inputs_with_special_tokens",anchor:"transformers.PhobertTokenizer.build_inputs_with_special_tokens",parameters:[{name:"token_ids_0",val:": typing.List[int]"},{name:"token_ids_1",val:": typing.Optional[typing.List[int]] = None"}],parametersDescription:[{anchor:"transformers.PhobertTokenizer.build_inputs_with_special_tokens.token_ids_0",description:`<strong>token_ids_0</strong> (<code>List[int]</code>) &#x2014;
List of IDs to which the special tokens will be added.`,name:"token_ids_0"},{anchor:"transformers.PhobertTokenizer.build_inputs_with_special_tokens.token_ids_1",description:`<strong>token_ids_1</strong> (<code>List[int]</code>, <em>optional</em>) &#x2014;
Optional second list of IDs for sequence pairs.`,name:"token_ids_1"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/phobert/tokenization_phobert.py#L146",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>List of <a href="../glossary#input-ids">input IDs</a> with the appropriate special tokens.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>List[int]</code></p>
`}}),G=new te({props:{name:"convert_tokens_to_string",anchor:"transformers.PhobertTokenizer.convert_tokens_to_string",parameters:[{name:"tokens",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/phobert/tokenization_phobert.py#L293"}}),F=new te({props:{name:"create_token_type_ids_from_sequences",anchor:"transformers.PhobertTokenizer.create_token_type_ids_from_sequences",parameters:[{name:"token_ids_0",val:": typing.List[int]"},{name:"token_ids_1",val:": typing.Optional[typing.List[int]] = None"}],parametersDescription:[{anchor:"transformers.PhobertTokenizer.create_token_type_ids_from_sequences.token_ids_0",description:`<strong>token_ids_0</strong> (<code>List[int]</code>) &#x2014;
List of IDs.`,name:"token_ids_0"},{anchor:"transformers.PhobertTokenizer.create_token_type_ids_from_sequences.token_ids_1",description:`<strong>token_ids_1</strong> (<code>List[int]</code>, <em>optional</em>) &#x2014;
Optional second list of IDs for sequence pairs.`,name:"token_ids_1"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/phobert/tokenization_phobert.py#L200",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>List of zeros.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>List[int]</code></p>
`}}),Q=new te({props:{name:"get_special_tokens_mask",anchor:"transformers.PhobertTokenizer.get_special_tokens_mask",parameters:[{name:"token_ids_0",val:": typing.List[int]"},{name:"token_ids_1",val:": typing.Optional[typing.List[int]] = None"},{name:"already_has_special_tokens",val:": bool = False"}],parametersDescription:[{anchor:"transformers.PhobertTokenizer.get_special_tokens_mask.token_ids_0",description:`<strong>token_ids_0</strong> (<code>List[int]</code>) &#x2014;
List of IDs.`,name:"token_ids_0"},{anchor:"transformers.PhobertTokenizer.get_special_tokens_mask.token_ids_1",description:`<strong>token_ids_1</strong> (<code>List[int]</code>, <em>optional</em>) &#x2014;
Optional second list of IDs for sequence pairs.`,name:"token_ids_1"},{anchor:"transformers.PhobertTokenizer.get_special_tokens_mask.already_has_special_tokens",description:`<strong>already_has_special_tokens</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not the token list is already formatted with special tokens for the model.`,name:"already_has_special_tokens"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/phobert/tokenization_phobert.py#L172",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of integers in the range [0, 1]: 1 for a special token, 0 for a sequence token.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>List[int]</code></p>
`}}),H=new tt({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/model_doc/phobert.md"}}),{c(){p=a("meta"),P=o(),b=a("p"),Z=o(),m(q.$$.fragment),se=o(),m(U.$$.fragment),re=o(),z=a("p"),z.innerHTML=Le,ae=o(),C=a("p"),C.textContent=Be,ie=o(),E=a("p"),E.innerHTML=Ie,le=o(),V=a("p"),V.innerHTML=Re,de=o(),m(L.$$.fragment),ce=o(),m(B.$$.fragment),pe=o(),m(v.$$.fragment),me=o(),m(I.$$.fragment),he=o(),d=a("div"),m(R.$$.fragment),ye=o(),N=a("p"),N.textContent=je,we=o(),S=a("p"),S.innerHTML=De,$e=o(),y=a("div"),m(j.$$.fragment),xe=o(),W=a("p"),W.textContent=Ge,Je=o(),T=a("div"),m(D.$$.fragment),Me=o(),X=a("p"),X.textContent=Fe,Pe=o(),A=a("ul"),A.innerHTML=Qe,qe=o(),w=a("div"),m(G.$$.fragment),Ue=o(),Y=a("p"),Y.textContent=He,ze=o(),$=a("div"),m(F.$$.fragment),Ce=o(),O=a("p"),O.textContent=Ze,Ee=o(),x=a("div"),m(Q.$$.fragment),Ve=o(),K=a("p"),K.innerHTML=Ne,ge=o(),m(H.$$.fragment),fe=o(),ne=a("p"),this.h()},l(e){const t=Oe("svelte-u9bgzb",document.head);p=i(t,"META",{name:!0,content:!0}),t.forEach(n),P=s(e),b=i(e,"P",{}),J(b).forEach(n),Z=s(e),h(q.$$.fragment,e),se=s(e),h(U.$$.fragment,e),re=s(e),z=i(e,"P",{"data-svelte-h":!0}),k(z)!=="svelte-1ao5fqi"&&(z.innerHTML=Le),ae=s(e),C=i(e,"P",{"data-svelte-h":!0}),k(C)!=="svelte-vfdo9a"&&(C.textContent=Be),ie=s(e),E=i(e,"P",{"data-svelte-h":!0}),k(E)!=="svelte-pnlemp"&&(E.innerHTML=Ie),le=s(e),V=i(e,"P",{"data-svelte-h":!0}),k(V)!=="svelte-cbf0gj"&&(V.innerHTML=Re),de=s(e),h(L.$$.fragment,e),ce=s(e),h(B.$$.fragment,e),pe=s(e),h(v.$$.fragment,e),me=s(e),h(I.$$.fragment,e),he=s(e),d=i(e,"DIV",{class:!0});var c=J(d);h(R.$$.fragment,c),ye=s(c),N=i(c,"P",{"data-svelte-h":!0}),k(N)!=="svelte-f1kmpq"&&(N.textContent=je),we=s(c),S=i(c,"P",{"data-svelte-h":!0}),k(S)!=="svelte-1c3t5ty"&&(S.innerHTML=De),$e=s(c),y=i(c,"DIV",{class:!0});var _e=J(y);h(j.$$.fragment,_e),xe=s(_e),W=i(_e,"P",{"data-svelte-h":!0}),k(W)!=="svelte-ooaeix"&&(W.textContent=Ge),_e.forEach(n),Je=s(c),T=i(c,"DIV",{class:!0});var ee=J(T);h(D.$$.fragment,ee),Me=s(ee),X=i(ee,"P",{"data-svelte-h":!0}),k(X)!=="svelte-dhtv7"&&(X.textContent=Fe),Pe=s(ee),A=i(ee,"UL",{"data-svelte-h":!0}),k(A)!=="svelte-rq8uot"&&(A.innerHTML=Qe),ee.forEach(n),qe=s(c),w=i(c,"DIV",{class:!0});var ke=J(w);h(G.$$.fragment,ke),Ue=s(ke),Y=i(ke,"P",{"data-svelte-h":!0}),k(Y)!=="svelte-b3k2yi"&&(Y.textContent=He),ke.forEach(n),ze=s(c),$=i(c,"DIV",{class:!0});var be=J($);h(F.$$.fragment,be),Ce=s(be),O=i(be,"P",{"data-svelte-h":!0}),k(O)!=="svelte-qg6q9n"&&(O.textContent=Ze),be.forEach(n),Ee=s(c),x=i(c,"DIV",{class:!0});var Te=J(x);h(Q.$$.fragment,Te),Ve=s(Te),K=i(Te,"P",{"data-svelte-h":!0}),k(K)!=="svelte-1f4f5kp"&&(K.innerHTML=Ne),Te.forEach(n),c.forEach(n),ge=s(e),h(H.$$.fragment,e),fe=s(e),ne=i(e,"P",{}),J(ne).forEach(n),this.h()},h(){M(p,"name","hf:doc:metadata"),M(p,"content",st),M(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(d,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,t){r(document.head,p),l(e,P,t),l(e,b,t),l(e,Z,t),g(q,e,t),l(e,se,t),g(U,e,t),l(e,re,t),l(e,z,t),l(e,ae,t),l(e,C,t),l(e,ie,t),l(e,E,t),l(e,le,t),l(e,V,t),l(e,de,t),g(L,e,t),l(e,ce,t),g(B,e,t),l(e,pe,t),g(v,e,t),l(e,me,t),g(I,e,t),l(e,he,t),l(e,d,t),g(R,d,null),r(d,ye),r(d,N),r(d,we),r(d,S),r(d,$e),r(d,y),g(j,y,null),r(y,xe),r(y,W),r(d,Je),r(d,T),g(D,T,null),r(T,Me),r(T,X),r(T,Pe),r(T,A),r(d,qe),r(d,w),g(G,w,null),r(w,Ue),r(w,Y),r(d,ze),r(d,$),g(F,$,null),r($,Ce),r($,O),r(d,Ee),r(d,x),g(Q,x,null),r(x,Ve),r(x,K),l(e,ge,t),g(H,e,t),l(e,fe,t),l(e,ne,t),ue=!0},p(e,[t]){const c={};t&2&&(c.$$scope={dirty:t,ctx:e}),v.$set(c)},i(e){ue||(f(q.$$.fragment,e),f(U.$$.fragment,e),f(L.$$.fragment,e),f(B.$$.fragment,e),f(v.$$.fragment,e),f(I.$$.fragment,e),f(R.$$.fragment,e),f(j.$$.fragment,e),f(D.$$.fragment,e),f(G.$$.fragment,e),f(F.$$.fragment,e),f(Q.$$.fragment,e),f(H.$$.fragment,e),ue=!0)},o(e){u(q.$$.fragment,e),u(U.$$.fragment,e),u(L.$$.fragment,e),u(B.$$.fragment,e),u(v.$$.fragment,e),u(I.$$.fragment,e),u(R.$$.fragment,e),u(j.$$.fragment,e),u(D.$$.fragment,e),u(G.$$.fragment,e),u(F.$$.fragment,e),u(Q.$$.fragment,e),u(H.$$.fragment,e),ue=!1},d(e){e&&(n(P),n(b),n(Z),n(se),n(re),n(z),n(ae),n(C),n(ie),n(E),n(le),n(V),n(de),n(ce),n(pe),n(me),n(he),n(d),n(ge),n(fe),n(ne)),n(p),_(q,e),_(U,e),_(L,e),_(B,e),_(v,e),_(I,e),_(R),_(j),_(D),_(G),_(F),_(Q),_(H,e)}}}const st='{"title":"PhoBERT","local":"phobert","sections":[{"title":"Overview","local":"overview","sections":[],"depth":2},{"title":"Usage example","local":"usage-example","sections":[],"depth":2},{"title":"PhobertTokenizer","local":"transformers.PhobertTokenizer","sections":[],"depth":2}],"depth":1}';function rt(oe){return We(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mt extends Ae{constructor(p){super(),Ye(this,p,rt,ot,Se,{})}}export{mt as component};
