Buckets:
| <meta charset="utf-8" /><meta name="hf:doc:metadata" content="{"title":"သင့် Argilla Instance ကို တည်ဆောက်ခြင်း","local":"set-up-your-argilla-instance","sections":[{"title":"Argilla UI ကို Deploy လုပ်ပါ","local":"argilla-ui-က-deploy-လပပ","sections":[],"depth":2},{"title":"Python SDK ကို Install လုပ်ပြီး ချိတ်ဆက်ပါ","local":"python-sdk-က-install-လပပ-ခတဆကပ","sections":[],"depth":2},{"title":"ဝေါဟာရ ရှင်းလင်းချက် (Glossary)","local":"ဝဟရ-ရငလငခက-glossary","sections":[],"depth":2}],"depth":1}"> | |
| <link href="/docs/course/pr_1095/my/_app/immutable/assets/0.e3b0c442.css" rel="modulepreload"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/entry/start.8e25cab6.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/scheduler.893fe8c9.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/singletons.ba455c5c.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/index.bce52c8a.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/paths.9a7be869.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/entry/app.b12ce275.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/preload-helper.b5ee8f74.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/index.b1df2166.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/nodes/0.77c840e7.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/each.e59479a4.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/nodes/15.855b39ef.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/MermaidChart.svelte_svelte_type_style_lang.e6d31e72.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/CodeBlock.abb4f40e.js"> | |
| <link rel="modulepreload" href="/docs/course/pr_1095/my/_app/immutable/chunks/CourseFloatingBanner.c1c08878.js"><!-- HEAD_svelte-u9bgzb_START --><meta name="hf:doc:metadata" content="{"title":"သင့် Argilla Instance ကို တည်ဆောက်ခြင်း","local":"set-up-your-argilla-instance","sections":[{"title":"Argilla UI ကို Deploy လုပ်ပါ","local":"argilla-ui-က-deploy-လပပ","sections":[],"depth":2},{"title":"Python SDK ကို Install လုပ်ပြီး ချိတ်ဆက်ပါ","local":"python-sdk-က-install-လပပ-ခတဆကပ","sections":[],"depth":2},{"title":"ဝေါဟာရ ရှင်းလင်းချက် (Glossary)","local":"ဝဟရ-ရငလငခက-glossary","sections":[],"depth":2}],"depth":1}"><!-- HEAD_svelte-u9bgzb_END --> <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 max-sm:gap-0.5 h-6 max-sm:h-5 px-2 max-sm:px-1.5 text-[11px] max-sm:text-[9px] 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"><svg class="w-3 h-3 max-sm:w-2.5 max-sm:h-2.5" 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-6 max-sm:h-5 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 w-3 h-3 max-sm:w-2.5 max-sm:h-2.5 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> </div> <h1 class="relative group"><a id="set-up-your-argilla-instance" 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="#set-up-your-argilla-instance"><span><svg class="" 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>သင့် Argilla Instance ကို တည်ဆောက်ခြင်း</span></h1> <div class="flex space-x-1 absolute z-10 right-0 top-0" style=""><a href="https://discuss.huggingface.co/t/chapter-10-questions" target="_blank"><img alt="Ask a Question" class="!m-0" src="https://img.shields.io/badge/Ask%20a%20question-ffcb4c.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTEgMTA0IDEwNiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMyMzFmMjA7fS5jbHMtMntmaWxsOiNmZmY5YWU7fS5jbHMtM3tmaWxsOiMwMGFlZWY7fS5jbHMtNHtmaWxsOiMwMGE5NGY7fS5jbHMtNXtmaWxsOiNmMTVkMjI7fS5jbHMtNntmaWxsOiNlMzFiMjM7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5EaXNjb3Vyc2VfbG9nbzwvdGl0bGU+PGcgaWQ9IkxheWVyXzIiPjxnIGlkPSJMYXllcl8zIj48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik01MS44NywwQzIzLjcxLDAsMCwyMi44MywwLDUxYzAsLjkxLDAsNTIuODEsMCw1Mi44MWw1MS44Ni0uMDVjMjguMTYsMCw1MS0yMy43MSw1MS01MS44N1M4MCwwLDUxLjg3LDBaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNTIuMzcsMTkuNzRBMzEuNjIsMzEuNjIsMCwwLDAsMjQuNTgsNjYuNDFsLTUuNzIsMTguNEwzOS40LDgwLjE3YTMxLjYxLDMxLjYxLDAsMSwwLDEzLTYwLjQzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTc3LjQ1LDMyLjEyYTMxLjYsMzEuNiwwLDAsMS0zOC4wNSw0OEwxOC44Niw4NC44MmwyMC45MS0yLjQ3QTMxLjYsMzEuNiwwLDAsMCw3Ny40NSwzMi4xMloiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Ik03MS42MywyNi4yOUEzMS42LDMxLjYsMCwwLDEsMzguOCw3OEwxOC44Niw4NC44MiwzOS40LDgwLjE3QTMxLjYsMzEuNiwwLDAsMCw3MS42MywyNi4yOVoiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Ik0yNi40Nyw2Ny4xMWEzMS42MSwzMS42MSwwLDAsMSw1MS0zNUEzMS42MSwzMS42MSwwLDAsMCwyNC41OCw2Ni40MWwtNS43MiwxOC40WiIvPjxwYXRoIGNsYXNzPSJjbHMtNiIgZD0iTTI0LjU4LDY2LjQxQTMxLjYxLDMxLjYxLDAsMCwxLDcxLjYzLDI2LjI5YTMxLjYxLDMxLjYxLDAsMCwwLTQ5LDM5LjYzbC0zLjc2LDE4LjlaIi8+PC9nPjwvZz48L3N2Zz4="></a> <a href="https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/en/chapter10/section2.ipynb" target="_blank"><img alt="Open In Colab" class="!m-0" src="https://colab.research.google.com/assets/colab-badge.svg"></a> <a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/en/chapter10/section2.ipynb" target="_blank"><img alt="Open In Studio Lab" class="!m-0" src="https://studiolab.sagemaker.aws/studiolab.svg"></a></div> <p data-svelte-h="svelte-4y7j5q">Argilla ကို စတင်အသုံးပြုဖို့အတွက်၊ သင်ဟာ သင်ကိုယ်တိုင်ရဲ့ Argilla instance ကို အရင်ဆုံး တည်ဆောက်ဖို့ လိုအပ်ပါလိမ့်မယ်။ ပြီးရင် Python code ကို အသုံးပြုပြီး Argilla ကို စီမံခန့်ခွဲနိုင်ဖို့ Python SDK ကို install လုပ်ဖို့ လိုအပ်ပါလိမ့်မယ်။</p> <h2 class="relative group"><a id="argilla-ui-က-deploy-လပပ" 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="#argilla-ui-က-deploy-လပပ"><span><svg class="" 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>Argilla UI ကို Deploy လုပ်ပါ</span></h2> <p data-svelte-h="svelte-1u0csj5">သင့် Argilla instance ကို တည်ဆောက်ဖို့ အလွယ်ကူဆုံးနည်းလမ်းကတော့ Hugging Face Spaces ကနေတစ်ဆင့်ပါပဲ။ သင်ရဲ့ Argilla Space ကို ဖန်တီးဖို့ <a href="https://huggingface.co/new-space?template=argilla%2Fargilla-template-space" rel="nofollow">ဒီ form</a> ကို ရိုးရှင်းစွာ လိုက်နာပါ။ နောက်ထပ် လမ်းညွှန်မှု လိုအပ်ရင် <a href="https://docs.argilla.io/latest/getting_started/quickstart/" rel="nofollow">Argilla quickstart</a> ကို ကြည့်ရှုပါ။</p> <img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/space_config.png" alt="Space configuration form."> <blockquote class="warning" data-svelte-h="svelte-ove11d"><p>⚠️ <strong>Persistent storage</strong> ကို ဖွင့်ထားချင်ပါလိမ့်မယ်။ ဒါမှ Space ကို ခဏရပ်ထားတာ ဒါမှမဟုတ် restart လုပ်ရင် data တွေ မပျောက်ဆုံးမှာပါ။ | |
| ဒါကို သင့် Space ရဲ့ Settings ကနေ လုပ်ဆောင်နိုင်ပါတယ်။</p></blockquote> <p data-svelte-h="svelte-6z6x09">Argilla အဆင်သင့်ဖြစ်ပြီး အလုပ်လုပ်နေပြီဆိုတာနဲ့၊ သင့်ရဲ့ credentials တွေနဲ့ log in ဝင်နိုင်ပါတယ်။</p> <h2 class="relative group"><a id="python-sdk-က-install-လပပ-ခတဆကပ" 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="#python-sdk-က-install-လပပ-ခတဆကပ"><span><svg class="" 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>Python SDK ကို Install လုပ်ပြီး ချိတ်ဆက်ပါ</span></h2> <p data-svelte-h="svelte-ux1byz">အခု သင့် Python environment ဒါမှမဟုတ် notebook ကို သွားပြီး argilla library ကို install လုပ်နိုင်ပါပြီ။</p> <p data-svelte-h="svelte-7zjbtm"><code>!pip install argilla</code></p> <p data-svelte-h="svelte-5wyv8n">ကျွန်တော်တို့ Argilla instance နဲ့ ချိတ်ဆက်ကြရအောင်။ ဒါကိုလုပ်ဖို့ သင်ဟာ အောက်ပါအချက်အလက်တွေ လိုအပ်ပါလိမ့်မယ်။</p> <ul data-svelte-h="svelte-t1nt10"><li><strong>သင်၏ API URL</strong>: ဒါက Argilla run နေတဲ့ URL ပါ။ သင် Space ကို အသုံးပြုနေတယ်ဆိုရင်၊ Space ကို ဖွင့်ပါ၊ ညာဘက်အပေါ်ထောင့်က အစက်သုံးစက်ကို နှိပ်ပြီး “Embed this Space” ကို နှိပ်ပြီး <strong>Direct URL</strong> ကို copy လုပ်ပါ။ ဒါက <code>https://<your-username>.<space-name>.hf.space</code> လိုမျိုး ပုံစံရှိပါလိမ့်မယ်။</li> <li><strong>သင်၏ API key</strong>: သင့် key ကို ရယူဖို့၊ သင့် Argilla instance ကို log in ဝင်ပြီး “My Settings” ကို သွားကာ API key ကို copy လုပ်ပါ။</li> <li><strong>သင်၏ HF token</strong>: သင့် Space က private ဖြစ်နေရင်၊ writing permissions ပါဝင်တဲ့ Access Token တစ်ခုကို သင့် Hugging Face Hub account မှာ လိုအပ်ပါလိမ့်မယ်။</li></ul> <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 class="" 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=""><!-- HTML_TAG_START --><span class="hljs-keyword">import</span> argilla <span class="hljs-keyword">as</span> rg | |
| HF_TOKEN = <span class="hljs-string">"..."</span> <span class="hljs-comment"># private spaces များအတွက်သာ</span> | |
| client = rg.Argilla( | |
| api_url=<span class="hljs-string">"..."</span>, | |
| api_key=<span class="hljs-string">"..."</span>, | |
| headers={<span class="hljs-string">"Authorization"</span>: <span class="hljs-string">f"Bearer <span class="hljs-subst">{HF_TOKEN}</span>"</span>}, <span class="hljs-comment"># private spaces များအတွက်သာ</span> | |
| )<!-- HTML_TAG_END --></pre></div> <p data-svelte-h="svelte-1sdywxg">အားလုံး ကောင်းမွန်စွာ အလုပ်လုပ်နေခြင်းရှိမရှိ စစ်ဆေးဖို့အတွက် <code>me</code> ကို ကျွန်တော်တို့ ခေါ်ပါမယ်။ ဒါက ကျွန်တော်တို့ရဲ့ user ကို ပြန်ပေးသင့်ပါတယ်။</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 class="" 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=""><!-- HTML_TAG_START -->client.me<!-- HTML_TAG_END --></pre></div> <p data-svelte-h="svelte-cwxro3">ဒါက အလုပ်ဖြစ်တယ်ဆိုရင်၊ သင့် Argilla instance က အဆင်သင့်ဖြစ်ပြီး သင်လည်း ချိတ်ဆက်ပြီးပါပြီ! ဂုဏ်ယူပါတယ်။</p> <p data-svelte-h="svelte-1465xrm">အခု ကျွန်တော်တို့ရဲ့ ပထမဆုံး dataset ကို Argilla ထဲကို load လုပ်ဖို့ စတင်နိုင်ပါပြီ။</p> <h2 class="relative group"><a id="ဝဟရ-ရငလငခက-glossary" 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="#ဝဟရ-ရငလငခက-glossary"><span><svg class="" 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>ဝေါဟာရ ရှင်းလင်းချက် (Glossary)</span></h2> <ul data-svelte-h="svelte-1w8xqn3"><li><strong>Argilla Instance</strong>: သင်ကိုယ်တိုင် တည်ဆောက်ပြီး run ထားသော Argilla platform ၏ သီးခြား version။</li> <li><strong>Python SDK (Software Development Kit)</strong>: Python code ကို အသုံးပြု၍ Argilla API နှင့် အပြန်အလှန်ဆက်သွယ်နိုင်ရန် ကိရိယာများနှင့် library များ စုစည်းမှု။</li> <li><strong>Argilla UI (User Interface)</strong>: Argilla platform ကို အသုံးပြုသူများ အပြန်အလှန်ဆက်သွယ်နိုင်သော graphical interface။</li> <li><strong>Deploy</strong>: ဆော့ဖ်ဝဲလ် application တစ်ခု သို့မဟုတ် စနစ်တစ်ခုကို အသုံးပြုနိုင်ရန် တည်ဆောက်ခြင်းနှင့် စတင်လုပ်ဆောင်ခြင်း။</li> <li><strong>Hugging Face Spaces</strong>: Hugging Face Hub ၏ အစိတ်အပိုင်းတစ်ခုဖြစ်ပြီး Gradio ကဲ့သို့သော library များကို အသုံးပြု၍ Machine Learning demos များကို host လုပ်ပြီး မျှဝေနိုင်သည်။</li> <li><strong>Space</strong>: Hugging Face Spaces ပေါ်တွင် host လုပ်ထားသော application သို့မဟုတ် project တစ်ခု။</li> <li><strong><code>argilla/argilla-template-space</code></strong>: Argilla Space တစ်ခုကို လျင်မြန်စွာ ဖန်တီးရန်အတွက် အသုံးပြုနိုင်သော template။</li> <li><strong>Persistent Storage</strong>: Space ခဏရပ်ထားတာ သို့မဟုတ် restart လုပ်ရင်တောင် data တွေ မပျောက်ဆုံးအောင် အမြဲတမ်း သိမ်းဆည်းထားနိုင်တဲ့ storage အမျိုးအစား။</li> <li><strong>Credentials</strong>: log in ဝင်ရန်အတွက် လိုအပ်သော username နှင့် password (သို့မဟုတ် API key) ကဲ့သို့သော အချက်အလက်များ။</li> <li><strong>Python Environment</strong>: Python code များကို run ရန်အတွက် လိုအပ်သော Python interpreter နှင့် libraries များ အားလုံးပါဝင်သော ပတ်ဝန်းကျင်။</li> <li><strong>Notebook</strong>: Jupyter Notebook သို့မဟုတ် Colab Notebook ကဲ့သို့သော interactive computing environment။</li> <li><strong><code>!pip install argilla</code></strong>: <code>pip</code> package manager ကို အသုံးပြု၍ <code>argilla</code> library ကို Python environment ထဲသို့ install လုပ်သော command။</li> <li><strong>API URL (Application Programming Interface URL)</strong>: Argilla service ၏ လိပ်စာဖြစ်ပြီး Python SDK က ၎င်းနှင့် ချိတ်ဆက်ရန် အသုံးပြုသည်။</li> <li><strong><code>Direct URL</code></strong>: Hugging Face Space ၏ တိုက်ရိုက် URL။</li> <li><strong>API Key (Application Programming Interface Key)</strong>: Argilla service သို့ authentication လုပ်ရန် အသုံးပြုသော လုံခြုံရေး token။</li> <li><strong>HF Token (Hugging Face Token)</strong>: Hugging Face Hub အကောင့်အတွက် access token။ Private Spaces များ သို့မဟုတ် writing permissions လိုအပ်သည့် လုပ်ဆောင်ချက်များအတွက် အသုံးပြုသည်။</li> <li><strong><code>writing permissions</code></strong>: Hugging Face Hub ပေါ်ရှိ repository တစ်ခုတွင် data များကို ပြောင်းလဲခြင်း သို့မဟုတ် အသစ်ထည့်သွင်းခြင်း ပြုလုပ်နိုင်သော ခွင့်ပြုချက်။</li> <li><strong><code>import argilla as rg</code></strong>: <code>argilla</code> library ကို <code>rg</code> ဆိုသော alias ဖြင့် Python script ထဲသို့ import လုပ်ခြင်း။</li> <li><strong><code>rg.Argilla()</code></strong>: <code>argilla</code> library ၏ client object ကို instantiate လုပ်ပြီး Argilla instance နှင့် ချိတ်ဆက်ရန် အသုံးပြုသည်။</li> <li><strong><code>api_url</code> Parameter</strong>: Argilla instance ၏ API URL ကို သတ်မှတ်သည်။</li> <li><strong><code>api_key</code> Parameter</strong>: Argilla instance ၏ API key ကို သတ်မှတ်သည်။</li> <li><strong><code>headers</code> Parameter</strong>: API request တွင် ထည့်သွင်းမည့် HTTP headers များ။ Authorization token ကို ထည့်သွင်းရန် အသုံးပြုသည်။</li> <li><strong><code>Bearer {HF_TOKEN}</code></strong>: OAuth 2.0 protocol တွင် အသုံးပြုသော token အမျိုးအစား။</li> <li><strong><code>client.me</code></strong>: <code>argilla</code> client object မှ လက်ရှိ login ဝင်ထားသော user အချက်အလက်များကို ရယူရန်။</li> <li><strong>Dataset</strong>: AI မော်ဒယ်တွေ လေ့ကျင့်ဖို့အတွက် အသုံးပြုတဲ့ ဒေတာအစုအဝေးတစ်ခုပါ။</li></ul> <a class="!text-gray-400 !no-underline text-sm flex items-center not-prose mt-4" href="https://github.com/huggingface/course/blob/main/chapters/my/chapter10/2.mdx" 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 data-svelte-h="svelte-zjs2n5"><span class="underline">Update</span> on GitHub</span></a> <p></p> | |
| <script> | |
| { | |
| __sveltekit_5q47hu = { | |
| assets: "/docs/course/pr_1095/my", | |
| base: "/docs/course/pr_1095/my", | |
| env: {} | |
| }; | |
| const element = document.currentScript.parentElement; | |
| const data = [null,null]; | |
| Promise.all([ | |
| import("/docs/course/pr_1095/my/_app/immutable/entry/start.8e25cab6.js"), | |
| import("/docs/course/pr_1095/my/_app/immutable/entry/app.b12ce275.js") | |
| ]).then(([kit, app]) => { | |
| kit.start(app, element, { | |
| node_ids: [0, 15], | |
| data, | |
| form: null, | |
| error: null | |
| }); | |
| }); | |
| } | |
| </script> | |
Xet Storage Details
- Size:
- 27.7 kB
- Xet hash:
- 16c28e51662bb6bffb086fee28d5a1426875b95238a24c788e7d012af3533c17
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.