Buckets:

download
raw
49.1 kB
<meta charset="utf-8" /><meta name="hf:doc:metadata" content="{&quot;title&quot;:&quot;ଇନ୍‌ଷ୍ଟଲେସନ୍&quot;,&quot;local&quot;:&quot;ଇନଷଟଲସନ&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;pip ବ୍ୟବହାର କରି ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;pip-ବୟବହର-କର-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;ବୈକଳ୍ପିକ ନିର୍ଭରତାଗୁଡ଼ିକ ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;ବକଳପକ-ନରଭରତଗଡକ-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:3},{&quot;title&quot;:&quot;ସୋର୍ସରୁ ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;ସରସର-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:3},{&quot;title&quot;:&quot;ସମ୍ପାଦନଯୋଗ୍ୟ ଇନ୍‌ଷ୍ଟଲେସନ୍&quot;,&quot;local&quot;:&quot;ସମପଦନଯଗୟ-ଇନଷଟଲସନ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:3}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;conda ବ୍ୟବହାର କରି ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;conda-ବୟବହର-କର-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2},{&quot;title&quot;:&quot;ଇନ୍‌ଷ୍ଟଲେସନ୍ ଯାଞ୍ଚ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;ଇନଷଟଲସନ-ଯଞଚ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2},{&quot;title&quot;:&quot;Windowsର ସୀମାବଦ୍ଧତା&quot;,&quot;local&quot;:&quot;windowsର-ସମବଦଧତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2},{&quot;title&quot;:&quot;ପରବର୍ତ୍ତୀ ପଦକ୍ଷେପ&quot;,&quot;local&quot;:&quot;ପରବରତତ-ପଦକଷପ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2}],&quot;depth&quot;:1}"/>
<link href="/docs/huggingface_hub/main/or/_app/immutable/entry/start.gJbQ1znq.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/chunks/C88q1U9h.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/chunks/D2-C6oRw.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/entry/app.B9_0bd7X.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/chunks/DZFNMJnC.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/chunks/CmOVgtBK.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/chunks/DsnmJJEf.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/chunks/BH1xZHjK.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/nodes/0.plFeMcJV.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/nodes/3.D6a71Zb4.js" rel="modulepreload">
<link href="/docs/huggingface_hub/main/or/_app/immutable/chunks/zPQIlmx-.js" rel="modulepreload">
<!--t06thp--><meta name="hf:doc:metadata" content="{&quot;title&quot;:&quot;ଇନ୍‌ଷ୍ଟଲେସନ୍&quot;,&quot;local&quot;:&quot;ଇନଷଟଲସନ&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;pip ବ୍ୟବହାର କରି ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;pip-ବୟବହର-କର-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;ବୈକଳ୍ପିକ ନିର୍ଭରତାଗୁଡ଼ିକ ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;ବକଳପକ-ନରଭରତଗଡକ-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:3},{&quot;title&quot;:&quot;ସୋର୍ସରୁ ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;ସରସର-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:3},{&quot;title&quot;:&quot;ସମ୍ପାଦନଯୋଗ୍ୟ ଇନ୍‌ଷ୍ଟଲେସନ୍&quot;,&quot;local&quot;:&quot;ସମପଦନଯଗୟ-ଇନଷଟଲସନ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:3}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;conda ବ୍ୟବହାର କରି ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;conda-ବୟବହର-କର-ଇନଷଟଲ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2},{&quot;title&quot;:&quot;ଇନ୍‌ଷ୍ଟଲେସନ୍ ଯାଞ୍ଚ କରନ୍ତୁ&quot;,&quot;local&quot;:&quot;ଇନଷଟଲସନ-ଯଞଚ-କରନତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2},{&quot;title&quot;:&quot;Windowsର ସୀମାବଦ୍ଧତା&quot;,&quot;local&quot;:&quot;windowsର-ସମବଦଧତ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2},{&quot;title&quot;:&quot;ପରବର୍ତ୍ତୀ ପଦକ୍ଷେପ&quot;,&quot;local&quot;:&quot;ପରବରତତ-ପଦକଷପ&quot;,&quot;sections&quot;:[],&quot;depth&quot;:2}],&quot;depth&quot;:1}"/><!---->
<link href="/docs/huggingface_hub/main/or/_app/immutable/assets/0.tn0RQdqM.css" rel="modulepreload"> <!--[--><!--[0--><!--[--><!--[0--><!--[--><p></p> <div class="items-center shrink-0 min-w-[100px] max-sm:min-w-[50px] justify-end ml-auto flex" style="float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"><div class="inline-flex rounded-md max-sm:rounded-sm"><button class="inline-flex items-center gap-1 h-7 max-sm:h-7 px-2 max-sm:px-1.5 text-sm font-medium text-gray-800 border border-r-0 rounded-l-md max-sm:rounded-l-sm border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800" aria-live="polite"><span class="inline-flex items-center justify-center rounded-md p-0.5 max-sm:p-0 hover:text-gray-800 dark:hover:text-gray-200"><svg class="sm:size-3.5 size-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----></span> <span>Copy page</span></button> <button class="inline-flex items-center justify-center w-6 max-sm:w-5 h-7 max-sm:h-7 disabled:pointer-events-none text-sm text-gray-500 hover:text-gray-700 dark:hover:text-white rounded-r-md max-sm:rounded-r-sm border border-l transition border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800" aria-haspopup="menu" aria-expanded="false" aria-label="Open copy menu"><svg class="transition-transform text-gray-400 overflow-visible sm:size-3.5 size-3 rotate-0" width="1em" height="1em" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="currentColor"></path></svg><!----></button></div> <!--[-1--><!--]--></div><!----> <!--[0--><h1 class="relative group"><a id="ଇନଷଟଲସନ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#ଇନଷଟଲସନ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>ଇନ୍‌ଷ୍ଟଲେସନ୍</span></h1><!--]--><!----> <p>ଆରମ୍ଭ କରିବା ପୂର୍ବରୁ, ଉପଯୁକ୍ତ ପ୍ୟାକେଜ୍‌ଗୁଡ଼ିକୁ ଇନ୍‌ଷ୍ଟଲ୍ କରି ଆପଣଙ୍କ ଏଂଭରମେଣ୍ଟକୁ ସେଟ୍‌ଅପ୍ କରିବାକୁ ପଡ଼ିବ।</p> <p><code>huggingface_hub</code>କୁ <strong>Python 3.10+</strong> ରେ ପରୀକ୍ଷା କରାଯାଇଛି।</p> <!--[1--><h2 class="relative group"><a id="pip-ବୟବହର-କର-ଇନଷଟଲ-କରନତ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pip-ବୟବହର-କର-ଇନଷଟଲ-କରନତ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>pip ବ୍ୟବହାର କରି ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ</span></h2><!--]--><!----> <p><code>huggingface_hub</code>କୁ ଗୋଟିଏ <a href="https://docs.python.org/3/library/venv.html" rel="nofollow">ଭର୍ଚୁଆଲ୍ ଏଂଭରମେଣ୍ଟ</a> ମଧ୍ୟରେ ଇନ୍‌ଷ୍ଟଲ୍ କରିବାକୁ ଦୃଢ଼ ଭାବେ ପରାମର୍ଶ ଦିଆଯାଏ।
ଆପଣ Python ଭର୍ଚୁଆଲ୍ ଏଂଭରମେଣ୍ଟ ସହିତ ପରିଚିତ ନଥିଲେ, ଏହି <a href="https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/" rel="nofollow">ଗାଇଡ୍</a>ଟି ଦେଖନ୍ତୁ।
ଗୋଟିଏ ଭର୍ଚୁଆଲ୍ ଏଂଭରମେଣ୍ଟ ବିଭିନ୍ନ ପ୍ରକଳ୍ପକୁ ସହଜରେ ପରିଚାଳନା କରିବାରେ ସାହାଯ୍ୟ କରେ ଏବଂ ନିର୍ଭରତାଗୁଡ଼ିକ ମଧ୍ୟରେ ସୁସଙ୍ଗତି ସମସ୍ୟାକୁ ଏଡ଼ାଇଥାଏ।</p> <p>ଆପଣଙ୍କ ପ୍ରୋଜେକ୍ଟ ଡିରେକ୍ଟୋରିରେ ଗୋଟିଏ ଭର୍ଚୁଆଲ୍ ଏଂଭରମେଣ୍ଟ ତିଆରି କରି ଆରମ୍ଭ କରନ୍ତୁ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!---->python -m venv .venv<!----></pre></div><!----> <p>ଭର୍ଚୁଆଲ୍ ଏଂଭରମେଣ୍ଟଟି ସକ୍ରିୟ କରନ୍ତୁ। Linux ଏବଂ macOS ରେ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!----><span class="hljs-built_in">source</span> .venv/bin/activate<!----></pre></div><!----> <p>Windows ରେ ଭର୍ଚୁଆଲ୍ ଏଂଭରମେଣ୍ଟଟି ସକ୍ରିୟ କରନ୍ତୁ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!---->.venv/Scripts/activate<!----></pre></div><!----> <p>ଏବେ ଆପଣ <a href="https://pypi.org/project/huggingface-hub/" rel="nofollow">PyPi ରେଜିଷ୍ଟ୍ରିରୁ</a> <code>huggingface_hub</code> ଇନ୍‌ଷ୍ଟଲ୍ କରିବା ପାଇଁ ପ୍ରସ୍ତୁତ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!---->pip install --upgrade huggingface_hub<!----></pre></div><!----> <p>ଏହା ସମାପ୍ତ ହେବା ପରେ, ସବୁକିଛି ଠିକ୍ ଭାବରେ କାମ କରୁଛି କି ନାହିଁ ସୁନିଶ୍ଚିତ କରିବା ପାଇଁ <a href="#%E0%AC%87%E0%AC%A8%E0%AD%8D%E2%80%8C%E0%AC%B7%E0%AD%8D%E0%AC%9F%E0%AC%B2%E0%AD%87%E0%AC%B8%E0%AC%A8%E0%AD%8D-%E0%AC%AF%E0%AC%BE%E0%AC%9E%E0%AD%8D%E0%AC%9A-%E0%AC%95%E0%AC%B0%E0%AC%A8%E0%AD%8D%E0%AC%A4%E0%AD%81">ଇନ୍‌ଷ୍ଟଲେସନ୍ ଯାଞ୍ଚ କରନ୍ତୁ</a></p> <!--[2--><h3 class="relative group"><a id="ବକଳପକ-ନରଭରତଗଡକ-ଇନଷଟଲ-କରନତ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#ବକଳପକ-ନରଭରତଗଡକ-ଇନଷଟଲ-କରନତ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>ବୈକଳ୍ପିକ ନିର୍ଭରତାଗୁଡ଼ିକ ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ</span></h3><!--]--><!----> <p><code>huggingface_hub</code>ର କେତେକ ନିର୍ଭରତା <a href="https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies" rel="nofollow">ବୈକଳ୍ପିକ</a>, କାରଣ <code>huggingface_hub</code>ର ମୁଖ୍ୟ ବୈଶିଷ୍ଟ୍ୟଗୁଡ଼ିକ ଚଲାଇବା ପାଇଁ ସେଗୁଡ଼ିକର ଆବଶ୍ୟକତା ନାହିଁ। ତେବେ, ବୈକଳ୍ପିକ ନିର୍ଭରତାଗୁଡ଼ିକ ଇନ୍‌ଷ୍ଟଲ୍ ହୋଇନଥିଲେ <code>huggingface_hub</code>ର କେତେକ ବୈଶିଷ୍ଟ୍ୟ ଉପଲବ୍ଧ ନହୋଇପାରେ।</p> <p>ଆପଣ <code>pip</code> ମାଧ୍ୟମରେ ବୈକଳ୍ପିକ ନିର୍ଭରତାଗୁଡ଼ିକ ଇନ୍‌ଷ୍ଟଲ୍ କରିପାରିବେ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!----><span class="hljs-comment"># Install dependencies for both torch-specific and CLI-specific features.</span>
pip install <span class="hljs-string">&#x27;huggingface_hub[cli,torch]&#x27;</span><!----></pre></div><!----> <p>ଏଠାରେ <code>huggingface_hub</code>ର ବୈକଳ୍ପିକ ନିର୍ଭରତାଗୁଡ଼ିକର ତାଲିକା ଦିଆଯାଇଛି:</p> <ul><li><code>cli</code>: <code>huggingface_hub</code> ପାଇଁ ଅଧିକ ସୁବିଧାଜନକ CLI ଇଣ୍ଟରଫେସ୍ ପ୍ରଦାନ କରେ।</li> <li><code>fastai</code>, <code>torch</code>: ଫ୍ରେମ୍‌ୱର୍କ-ନିର୍ଦ୍ଦିଷ୍ଟ ବୈଶିଷ୍ଟ୍ୟଗୁଡ଼ିକ ଚଲାଇବା ପାଇଁ ଆବଶ୍ୟକ ନିର୍ଭରତା।</li> <li><code>dev</code>: libରେ ଅବଦାନ ଦେବା ପାଇଁ ଆବଶ୍ୟକ ନିର୍ଭରତା। ଏଥିରେ ‘ପରୀକ୍ଷଣ’ (ପରୀକ୍ଷଣଗୁଡ଼ିକ ଚଲାଇବା ପାଇଁ), ‘ଟାଇପିଂ’ (ଟାଇପ୍ ଚେକର୍ ଚଲାଇବା ପାଇଁ) ଏବଂ ‘ଗୁଣବତ୍ତା’ (ଲିଣ୍ଟର୍ ଚଲାଇବା ପାଇଁ) ଅନ୍ତର୍ଭୁକ୍ତ।</li></ul> <!--[2--><h3 class="relative group"><a id="ସରସର-ଇନଷଟଲ-କରନତ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#ସରସର-ଇନଷଟଲ-କରନତ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>ସୋର୍ସରୁ ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ</span></h3><!--]--><!----> <p>କେତେକ ପରିସ୍ଥିତିରେ, <code>huggingface_hub</code>କୁ ସିଧାସଳଖ ସୋର୍ସରୁ ଇନ୍‌ଷ୍ଟଲ୍ କରିବା ଉପଯୋଗୀ ହୋଇଥାଏ।
ଏହା ଆପଣଙ୍କୁ ସର୍ବଶେଷ ସ୍ଥିର ଭର୍ସନ୍ ପରିବର୍ତ୍ତେ ଅତ୍ୟାଧୁନିକ <code>main</code> ଭର୍ସନ୍ ବ୍ୟବହାର କରିବାର ସୁଯୋଗ ଦେଇଥାଏ। <code>main</code> ଭର୍ସନ୍ ସର୍ବଶେଷ ବିକାଶ ସହିତ ଅଦ୍ୟତନ ରହିବା ପାଇଁ ଉପଯୋଗୀ। ଉଦାହରଣ ସ୍ୱରୂପ, ଶେଷ ଆଧିକାରିକ ରିଲିଜ୍ ପରେ କୌଣସି ବଗ୍‌କୁ ଠିକ୍ କରାଯାଇଥିଲେ, କିନ୍ତୁ ଏପର୍ଯ୍ୟନ୍ତ ନୂତନ ରିଲିଜ୍ ପ୍ରକାଶ ପାଇନଥିଲେ ଏହା ଉପଯୋଗୀ ହୋଇପାରେ।</p> <p>ତେବେ, ଏହାର ଅର୍ଥ ହେଉଛି <code>main</code> ଭର୍ସନ୍ ସବୁବେଳେ ସ୍ଥିର ନଥାଇପାରେ।
ଆମେ <code>main</code> ଭର୍ସନ୍‌କୁ କାର୍ଯ୍ୟକ୍ଷମ ରଖିବାକୁ ଚେଷ୍ଟା କରୁ ଏବଂ ଅଧିକାଂଶ ସମସ୍ୟା ସାଧାରଣତଃ କିଛି ଘଣ୍ଟା କିମ୍ବା ଗୋଟିଏ ଦିନ ମଧ୍ୟରେ ସମାଧାନ ହୋଇଯାଏ।
ଆପଣ କୌଣସି ସମସ୍ୟାର ସମ୍ମୁଖୀନ ହେଲେ, ଦୟାକରି ଗୋଟିଏ ଇସ୍ୟୁ ଖୋଲନ୍ତୁ, ଯାହାଦ୍ୱାରା ଆମେ ଏହାକୁ ଆହୁରି ଶୀଘ୍ର ସମାଧାନ କରିପାରିବୁ!</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!---->pip install git+https://github.com/huggingface/huggingface_hub<!----></pre></div><!----> <p>ସୋର୍ସରୁ ଇନ୍‌ଷ୍ଟଲ୍ କରିବା ସମୟରେ, ଆପଣ ଏକ ନିର୍ଦ୍ଦିଷ୍ଟ ବ୍ରାଞ୍ଚ୍‌ ମଧ୍ୟ ଉଲ୍ଲେଖ କରିପାରିବେ।
ଏପର୍ଯ୍ୟନ୍ତ ମର୍ଜ୍ ହୋଇନଥିବା କୌଣସି ନୂତନ ବୈଶିଷ୍ଟ୍ୟ କିମ୍ବା ନୂତନ ବଗ୍‌-ଫିକ୍ସ ପରୀକ୍ଷା କରିବାକୁ ଚାହୁଁଥିଲେ ଏହା ଉପଯୋଗୀ ହୋଇଥାଏ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!---->pip install git+https://github.com/huggingface/huggingface_hub@my-feature-branch<!----></pre></div><!----> <p>ଏହା ସମାପ୍ତ ହେବା ପରେ, ସବୁକିଛି ଠିକ୍ ଭାବରେ କାମ କରୁଛି କି ନାହିଁ ସୁନିଶ୍ଚିତ କରିବା ପାଇଁ <a href="#%E0%AC%87%E0%AC%A8%E0%AD%8D%E2%80%8C%E0%AC%B7%E0%AD%8D%E0%AC%9F%E0%AC%B2%E0%AD%87%E0%AC%B8%E0%AC%A8%E0%AD%8D-%E0%AC%AF%E0%AC%BE%E0%AC%9E%E0%AD%8D%E0%AC%9A-%E0%AC%95%E0%AC%B0%E0%AC%A8%E0%AD%8D%E0%AC%A4%E0%AD%81">ଇନ୍‌ଷ୍ଟଲେସନ୍ ଯାଞ୍ଚ କରନ୍ତୁ</a></p> <!--[2--><h3 class="relative group"><a id="ସମପଦନଯଗୟ-ଇନଷଟଲସନ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#ସମପଦନଯଗୟ-ଇନଷଟଲସନ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>ସମ୍ପାଦନଯୋଗ୍ୟ ଇନ୍‌ଷ୍ଟଲେସନ୍</span></h3><!--]--><!----> <p>ସୋର୍ସରୁ ଇନ୍‌ଷ୍ଟଲ୍ କରିବା ସମୟରେ ଆପଣ ଏକ <a href="https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs" rel="nofollow">ସମ୍ପାଦନଯୋଗ୍ୟ ଇନ୍‌ଷ୍ଟଲେସନ୍</a> ମଧ୍ୟ କରିପାରିବେ।
ଆପଣ <code>huggingface_hub</code>ରେ ଅବଦାନ ଦେବାକୁ ଯୋଜନା କରୁଥିଲେ ଏବଂ କୋଡ୍‌ରେ କରାଯାଇଥିବା ପରିବର୍ତ୍ତନଗୁଡ଼ିକୁ ପରୀକ୍ଷା କରିବାର ଆବଶ୍ୟକତା ଥିଲେ, ଏହା ଏକ ଅଧିକ ଉନ୍ନତ ଇନ୍‌ଷ୍ଟଲେସନ୍ ପଦ୍ଧତି।
ଆପଣଙ୍କୁ ନିଜ ମେସିନ୍‌ରେ <code>huggingface_hub</code>ର ଗୋଟିଏ ସ୍ଥାନୀୟ କପି କ୍ଲୋନ୍ କରିବାକୁ ପଡ଼ିବ।</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!----><span class="hljs-comment"># First, clone repo locally</span>
git <span class="hljs-built_in">clone</span> https://github.com/huggingface/huggingface_hub.git
<span class="hljs-comment"># Then, install with -e flag</span>
<span class="hljs-built_in">cd</span> huggingface_hub
pip install -e .<!----></pre></div><!----> <p>ଏହି କମାଣ୍ଡ୍‌ଗୁଡ଼ିକ ଆପଣ ରିପୋଜିଟୋରିକୁ କ୍ଲୋନ୍ କରିଥିବା ଫୋଲ୍ଡର୍‌କୁ ଆପଣଙ୍କ Python ଲାଇବ୍ରେରୀ ପାଥ୍ ସହିତ ଲିଙ୍କ୍ କରିବ।
Python ଏବେ ସାଧାରଣ ଲାଇବ୍ରେରୀ ପାଥ୍ ବ୍ୟତୀତ ଆପଣ କ୍ଲୋନ୍ କରିଥିବା ଫୋଲ୍ଡର୍ ମଧ୍ୟରେ ମଧ୍ୟ ଖୋଜିବ।
ଉଦାହରଣ ସ୍ୱରୂପ, ଆପଣଙ୍କ Python ପ୍ୟାକେଜ୍‌ଗୁଡ଼ିକ ସାଧାରଣତଃ <code>./.venv/lib/python3.11/site-packages/</code>ରେ ଇନ୍‌ଷ୍ଟଲ୍ ହୋଇଥିଲେ,
Python ଆପଣ <code>./huggingface_hub/</code>ରେ କ୍ଲୋନ୍ କରିଥିବା ଫୋଲ୍ଡର୍‌ରେ ମଧ୍ୟ ଖୋଜିବ।</p> <!--[1--><h2 class="relative group"><a id="conda-ବୟବହର-କର-ଇନଷଟଲ-କରନତ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#conda-ବୟବହର-କର-ଇନଷଟଲ-କରନତ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>conda ବ୍ୟବହାର କରି ଇନ୍‌ଷ୍ଟଲ୍ କରନ୍ତୁ</span></h2><!--]--><!----> <p>ଆପଣ ଏହା ସହିତ ଅଧିକ ପରିଚିତ ଥିଲେ, <a href="https://anaconda.org/conda-forge/huggingface_hub" rel="nofollow">conda-forge ଚ୍ୟାନେଲ୍</a> ବ୍ୟବହାର କରି <code>huggingface_hub</code> ଇନ୍‌ଷ୍ଟଲ୍ କରିପାରିବେ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!---->conda install -c conda-forge huggingface_hub<!----></pre></div><!----> <p>ଏହା ସମାପ୍ତ ହେବା ପରେ, ସବୁକିଛି ଠିକ୍ ଭାବରେ କାମ କରୁଛି କି ନାହିଁ ସୁନିଶ୍ଚିତ କରିବା ପାଇଁ <a href="#%E0%AC%87%E0%AC%A8%E0%AD%8D%E2%80%8C%E0%AC%B7%E0%AD%8D%E0%AC%9F%E0%AC%B2%E0%AD%87%E0%AC%B8%E0%AC%A8%E0%AD%8D-%E0%AC%AF%E0%AC%BE%E0%AC%9E%E0%AD%8D%E0%AC%9A-%E0%AC%95%E0%AC%B0%E0%AC%A8%E0%AD%8D%E0%AC%A4%E0%AD%81">ଇନ୍‌ଷ୍ଟଲେସନ୍ ଯାଞ୍ଚ କରନ୍ତୁ</a></p> <!--[1--><h2 class="relative group"><a id="ଇନଷଟଲସନ-ଯଞଚ-କରନତ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#ଇନଷଟଲସନ-ଯଞଚ-କରନତ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>ଇନ୍‌ଷ୍ଟଲେସନ୍ ଯାଞ୍ଚ କରନ୍ତୁ</span></h2><!--]--><!----> <p>ଇନ୍‌ଷ୍ଟଲ୍ ହୋଇସାରିବା ପରେ, ନିମ୍ନଲିଖିତ କମାଣ୍ଡ୍ ଚଲାଇ <code>huggingface_hub</code> ଠିକ୍ ଭାବରେ କାମ କରୁଛି କି ନାହିଁ ଯାଞ୍ଚ କରନ୍ତୁ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-bash "><!---->python -c <span class="hljs-string">&quot;from huggingface_hub import model_info; print(model_info(&#x27;gpt2&#x27;))&quot;</span><!----></pre></div><!----> <p>ଏହି କମାଣ୍ଡ୍ ହବ୍‌ରୁ <a href="https://huggingface.co/gpt2" rel="nofollow">gpt2</a> ମଡେଲ୍ ବିଷୟରେ ସୂଚନା ପ୍ରାପ୍ତ କରିବ।
ଆଉଟପୁଟ୍‌ଟି ନିମ୍ନପ୍ରକାର ଦେଖାଯିବା ଉଚିତ:</p> <div class="code-block relative "><div class="absolute top-2.5 right-4"><button class="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none transition duration-200 ease-in-out opacity-0 mx-0.5 text-gray-600 " title="code excerpt" type="button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg><!----> <div class=" absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow left-1/2 top-full transform -translate-x-1/2 translate-y-2 opacity-0 "><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="border-left-color: transparent; border-right-color: transparent;"></div> Copied</div><!----></button><!----></div> <pre class="language-text "><!---->Model Name: gpt2
Tags: [&#x27;pytorch&#x27;, &#x27;tf&#x27;, &#x27;jax&#x27;, &#x27;tflite&#x27;, &#x27;rust&#x27;, &#x27;safetensors&#x27;, &#x27;gpt2&#x27;, &#x27;text-generation&#x27;, &#x27;en&#x27;, &#x27;doi:10.57967/hf/0039&#x27;, &#x27;transformers&#x27;, &#x27;exbert&#x27;, &#x27;license:mit&#x27;, &#x27;has_space&#x27;]
Task: text-generation<!----></pre></div><!----> <!--[1--><h2 class="relative group"><a id="windowsର-ସମବଦଧତ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#windowsର-ସମବଦଧତ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>Windowsର ସୀମାବଦ୍ଧତା</span></h2><!--]--><!----> <p>ସମସ୍ତଙ୍କ ପାଇଁ ସବୁଠାରେ ଉତ୍ତମ ଏମ୍‌ଏଲ୍ ଉପଲବ୍ଧ କରାଇବାର ଆମ ଲକ୍ଷ୍ୟକୁ ଧ୍ୟାନରେ ରଖି, ଆମେ <code>huggingface_hub</code>କୁ ଏକ କ୍ରସ୍‌-ପ୍ଲାଟଫର୍ମ ଲାଇବ୍ରେରୀ ଭାବରେ ବିକଶିତ କରିଛୁ
ଏବଂ ଏହାକୁ ବିଶେଷ ଭାବରେ ୟୁନିକ୍ସ-ଆଧାରିତ ଏବଂ Windows ସିଷ୍ଟମ୍ ଉଭୟରେ ଠିକ୍ ଭାବରେ କାମ କରିବା ପାଇଁ ପ୍ରସ୍ତୁତ କରିଛୁ।
ତେବେ, Windowsରେ ଚଲାଇବା ସମୟରେ <code>huggingface_hub</code>ର କେତେକ ସୀମାବଦ୍ଧତା ରହିଛି।
ଏଠାରେ ଜଣାଶୁଣା ସମସ୍ୟାଗୁଡ଼ିକର ଏକ ବିସ୍ତୃତ ତାଲିକା ଦିଆଯାଇଛି। ଆପଣ କୌଣସି ଉଲ୍ଲେଖ ହୋଇନଥିବା ସମସ୍ୟାର ସମ୍ମୁଖୀନ ହେଲେ, <a href="https://github.com/huggingface/huggingface_hub/issues/new/choose" rel="nofollow">Github</a>ରେ ଗୋଟିଏ ଇସ୍ୟୁ ଖୋଲି ଦୟାକରି ଆମକୁ ଜଣାନ୍ତୁ।</p> <ul><li><code>huggingface_hub</code><code>cache</code> ସିଷ୍ଟମ୍ ହବ୍‌ରୁ ଡାଉନଲୋଡ୍ କରାଯାଇଥିବା ଫାଇଲ୍‌ଗୁଡ଼ିକୁ ଦକ୍ଷତାର ସହିତ <code>cache</code> କରିବା ପାଇଁ ସିମ୍‌ଲିଙ୍କ୍ ଉପରେ ନିର୍ଭର କରେ।
Windowsରେ ସିମ୍‌ଲିଙ୍କ୍ ସକ୍ରିୟ କରିବା ପାଇଁ ଆପଣଙ୍କୁ ଡେଭଲପର୍ ମୋଡ୍ ସକ୍ରିୟ କରିବାକୁ କିମ୍ବା ନିଜ ସ୍କ୍ରିପ୍ଟଗୁଡ଼ିକୁ ଆଡମିନିଷ୍ଟ୍ରେଟର୍ ଭାବରେ ଚଲାଇବାକୁ ପଡ଼ିବ।
ସେଗୁଡ଼ିକ ସକ୍ରିୟ ନଥିଲେ ମଧ୍ୟ <code>cache</code>-ସିଷ୍ଟମ୍ କାମ କରିବ, କିନ୍ତୁ ଏହା ଅପ୍ଟିମାଇଜ୍ ହୋଇନଥିବା ପଦ୍ଧତିରେ କାମ କରିବ। ଅଧିକ ସୂଚନା ପାଇଁ ଦୟାକରି <a href="./guides/manage-cache#limities"><code>cache</code> ସୀମାବଦ୍ଧତା</a> ବିଭାଗଟି ପଢ଼ନ୍ତୁ।</li> <li>ହବ୍‌ର ଫାଇଲ୍‌ପାଥ୍‌ରେ ବିଶେଷ ଅକ୍ଷର ରହିପାରେ, ଯେପରିକି <code>"path/to?/my/file"</code>
Windows ବିଶେଷ ଅକ୍ଷରଗୁଡ଼ିକ ଉପରେ ଅଧିକ କଟକଣା ଲଗାଇଥାଏ, ଯାହା ଫଳରେ ସେହି ଫାଇଲ୍‌ଗୁଡ଼ିକୁ Windowsରେ ଡାଉନଲୋଡ୍ କରିବା ସମ୍ଭବ ହୋଇନପାରେ।
ଆଶା କରାଯାଏ ଯେ ଏହା ଏକ ବିରଳ ପରିସ୍ଥିତି। ଆପଣଙ୍କୁ ଏହା ଏକ ତ୍ରୁଟି ବୋଲି ଲାଗିଲେ, ଦୟାକରି ରିପୋଜିଟୋରି ମାଲିକଙ୍କ ସହିତ ଯୋଗାଯୋଗ କରନ୍ତୁ କିମ୍ବା ସମାଧାନ ଖୋଜିବା ପାଇଁ ଆମ ସହିତ ଯୋଗାଯୋଗ କରନ୍ତୁ।</li></ul> <!--[1--><h2 class="relative group"><a id="ପରବରତତ-ପଦକଷପ" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#ପରବରତତ-ପଦକଷପ"><span><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!----></span></a> <span>ପରବର୍ତ୍ତୀ ପଦକ୍ଷେପ</span></h2><!--]--><!----> <p>ଆପଣଙ୍କ ମେସିନ୍‌ରେ <code>huggingface_hub</code> ଠିକ୍ ଭାବରେ ଇନ୍‌ଷ୍ଟଲ୍ ହୋଇସାରିବା ପରେ,
ଆରମ୍ଭ କରିବା ପାଇଁ ଆପଣ <a href="package_reference/environment_variables">ପରିବେଶ ଭେରିଏବଲ୍‌ଗୁଡ଼ିକ କନଫିଗର୍ କରନ୍ତୁ</a> କିମ୍ବା <a href="guides/overview">ଆମ ଗାଇଡ୍‌ଗୁଡ଼ିକ ମଧ୍ୟରୁ ଗୋଟିଏ ଦେଖନ୍ତୁ</a></p> <a class="!text-gray-400 !no-underline text-sm flex items-center not-prose mt-4" href="https://github.com/huggingface/huggingface_hub/blob/main/docs/source/or/installation.md" target="_blank"><svg class="mr-1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M31,16l-7,7l-1.41-1.41L28.17,16l-5.58-5.59L24,9l7,7z"></path><path d="M1,16l7-7l1.41,1.41L3.83,16l5.58,5.59L8,23l-7-7z"></path><path d="M12.419,25.484L17.639,6.552l1.932,0.518L14.351,26.002z"></path></svg><!----> <span><span class="underline">Update</span> on GitHub</span></a><!----> <p></p><!--]--><!----><!--]--><!--]--><!--]--> <!--[-1--><!--]--><!--]-->
<script>
{
__sveltekit_1ukav16 = {
base: "/docs/huggingface_hub/main/or",
assets: "/docs/huggingface_hub/main/or"
};
const element = document.currentScript.parentElement;
Promise.all([
import("/docs/huggingface_hub/main/or/_app/immutable/entry/start.gJbQ1znq.js"),
import("/docs/huggingface_hub/main/or/_app/immutable/entry/app.B9_0bd7X.js")
]).then(([kit, app]) => {
kit.start(app, element, {
node_ids: [0, 3],
data: [null,null],
form: null,
error: null
});
});
}
</script>

Xet Storage Details

Size:
49.1 kB
·
Xet hash:
2918fb441df3776ddf00a92d3eb7c1ea423cca04d6e52f2bc5c9dd723f9a7029

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.