Buckets:
| <meta charset="utf-8" /><meta name="hf:doc:metadata" content="{"title":"Forums များတွင် အကူအညီ တောင်းခံခြင်း","local":"asking-for-help-on-the-forums","sections":[{"title":"ကောင်းမွန်သော Forum Post တစ်ခု ရေးသားခြင်း","local":"writing-a-good-forum-post","sections":[{"title":"ဖော်ပြနိုင်သော Title တစ်ခု ရွေးချယ်ခြင်း","local":"choosing-a-descriptive-title","sections":[],"depth":3},{"title":"သင့် Code Snippets များကို ပုံစံချခြင်း","local":"formatting-your-code-snippets","sections":[],"depth":3},{"title":"Full Traceback ကို ထည့်သွင်းခြင်း","local":"including-the-full-traceback","sections":[],"depth":3},{"title":"ပြန်လည်ထုတ်လုပ်နိုင်သော ဥပမာတစ်ခု ပံ့ပိုးပေးခြင်း","local":"providing-a-reproducible-example","sections":[],"depth":3}],"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/88.5a7c7641.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/Youtube.ec5d7916.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":"Forums များတွင် အကူအညီ တောင်းခံခြင်း","local":"asking-for-help-on-the-forums","sections":[{"title":"ကောင်းမွန်သော Forum Post တစ်ခု ရေးသားခြင်း","local":"writing-a-good-forum-post","sections":[{"title":"ဖော်ပြနိုင်သော Title တစ်ခု ရွေးချယ်ခြင်း","local":"choosing-a-descriptive-title","sections":[],"depth":3},{"title":"သင့် Code Snippets များကို ပုံစံချခြင်း","local":"formatting-your-code-snippets","sections":[],"depth":3},{"title":"Full Traceback ကို ထည့်သွင်းခြင်း","local":"including-the-full-traceback","sections":[],"depth":3},{"title":"ပြန်လည်ထုတ်လုပ်နိုင်သော ဥပမာတစ်ခု ပံ့ပိုးပေးခြင်း","local":"providing-a-reproducible-example","sections":[],"depth":3}],"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="asking-for-help-on-the-forums" 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="#asking-for-help-on-the-forums"><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>Forums များတွင် အကူအညီ တောင်းခံခြင်း</span></h1> <div class="flex space-x-1 absolute z-10 right-0 top-0" style=""><a href="https://discuss.huggingface.co/t/chapter-8-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/chapter8/section3.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/chapter8/section3.ipynb" target="_blank"><img alt="Open In Studio Lab" class="!m-0" src="https://studiolab.sagemaker.aws/studiolab.svg"></a></div> <iframe class="w-full xl:w-4/6 h-80" src="https://www.youtube-nocookie.com/embed/S2EEG3JIt2A" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <p data-svelte-h="svelte-p09kf3"><a href="https://discuss.huggingface.co" rel="nofollow">Hugging Face forums</a> များသည် open source team နှင့် ပိုမိုကျယ်ပြန့်သော Hugging Face community ထံမှ အကူအညီရယူရန် အကောင်းဆုံးနေရာတစ်ခုဖြစ်သည်။ ပုံမှန်နေ့တစ်နေ့တွင် ပင်မစာမျက်နှာသည် အောက်ပါအတိုင်း ပေါ်လာပါသည်-</p> <div class="flex justify-center" data-svelte-h="svelte-14n1ttz"><img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forums.png" alt="The Hugging Face forums." width="100%"></div> <p data-svelte-h="svelte-1omvn5x">ဘယ်ဘက်ခြမ်းတွင် topics အမျိုးမျိုးကို စုစည်းထားသော categories အားလုံးကို သင်တွေ့မြင်နိုင်ပြီး၊ ညာဘက်ခြမ်းတွင် နောက်ဆုံးပေါ် topics များကို ပြသထားသည်။ topic တစ်ခုဆိုတာ title, category, နဲ့ description ပါဝင်တဲ့ post တစ်ခုဖြစ်ပြီး၊ <a href="/course/chapter5">Chapter 5</a> မှာ ကျွန်တော်တို့ရဲ့ ကိုယ်ပိုင် dataset ကို ဖန်တီးတုန်းက တွေ့ခဲ့ရတဲ့ GitHub issues format နဲ့ အတော်လေး ဆင်တူပါတယ်။ နာမည်အရ သိနိုင်တဲ့အတိုင်း၊ <a href="https://discuss.huggingface.co/c/beginners/5" rel="nofollow">Beginners</a> category ကို Hugging Face libraries နဲ့ ecosystem ကို အခုမှ စတင်လေ့လာသူတွေအတွက် အဓိကရည်ရွယ်ပါတယ်။ libraries တွေထဲက ဘယ်တစ်ခုနဲ့ ပတ်သက်တဲ့ မေးခွန်းမဆို ကြိုဆိုပါတယ်။ code အချို့ကို debug လုပ်တာပဲဖြစ်ဖြစ်၊ တစ်ခုခုလုပ်နည်းအကြောင်း အကူအညီတောင်းတာပဲဖြစ်ဖြစ်ပေါ့။ (သို့သော်လည်း၊ သင့်မေးခွန်းက သီးခြား library တစ်ခုနဲ့ ပတ်သက်တယ်ဆိုရင်၊ forum မှာ သက်ဆိုင်ရာ library category ဆီ သွားသင့်ပါတယ်။)</p> <p data-svelte-h="svelte-jn5n4p">အလားတူပဲ၊ <a href="https://discuss.huggingface.co/c/intermediate/6" rel="nofollow">Intermediate</a> နဲ့ <a href="https://discuss.huggingface.co/c/research/7" rel="nofollow">Research</a> categories တွေကတော့ ပိုမိုအဆင့်မြင့်တဲ့ မေးခွန်းတွေအတွက်ပါ။ ဥပမာ - libraries တွေအကြောင်း ဒါမှမဟုတ် သင်ဆွေးနွေးချင်တဲ့ NLP သုတေသနအသစ်အကြောင်း စသည်တို့ဖြစ်ပါတယ်။</p> <p data-svelte-h="svelte-1fw6coz">ပြီးတော့ သေချာပေါက် <a href="https://discuss.huggingface.co/c/course/20" rel="nofollow">Course</a> category ကိုလည်း ဖော်ပြရပါမယ်။ အဲဒီမှာ Hugging Face course နဲ့ ပတ်သက်တဲ့ မေးခွန်းတွေ မေးနိုင်ပါတယ်!</p> <p data-svelte-h="svelte-ny4dzl">Category တစ်ခုကို ရွေးပြီးတာနဲ့၊ သင်ရဲ့ ပထမဆုံး topic ကို ရေးဖို့ အဆင်သင့်ဖြစ်ပါလိမ့်မယ်။ ဒါကို ဘယ်လိုလုပ်ရမယ်ဆိုတဲ့ <a href="https://discuss.huggingface.co/t/how-to-request-support/3128" rel="nofollow">လမ်းညွှန်ချက်တွေကို</a> forum မှာ ရှာတွေ့နိုင်ပြီး၊ ဒီအပိုင်းမှာတော့ ကောင်းမွန်တဲ့ topic တစ်ခုကို ဖွဲ့စည်းထားတဲ့ features အချို့ကို ကျွန်တော်တို့ ကြည့်ရပါမယ်။</p> <h2 class="relative group"><a id="writing-a-good-forum-post" 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="#writing-a-good-forum-post"><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>ကောင်းမွန်သော Forum Post တစ်ခု ရေးသားခြင်း</span></h2> <p data-svelte-h="svelte-1kqvcwh">ဥပမာအနေနဲ့၊ Wikipedia ဆောင်းပါးတွေကနေ embeddings တွေ ထုတ်လုပ်ပြီး custom search engine တစ်ခု ဖန်တီးဖို့ ကြိုးစားနေတယ်လို့ ယူဆကြပါစို့။ ပုံမှန်အတိုင်းပါပဲ၊ tokenizer နဲ့ model ကို အောက်ပါအတိုင်း load လုပ်ပါတယ်။</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 --><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer, AutoModel | |
| model_checkpoint = <span class="hljs-string">"distilbert-base-uncased"</span> | |
| tokenizer = AutoTokenizer.from_pretrained(model_checkpoint) | |
| model = AutoModel.from_pretrained(model_checkpoint)<!-- HTML_TAG_END --></pre></div> <p data-svelte-h="svelte-1tf1my1">အခု ကျွန်တော်တို့ Transformers (franchise, library မဟုတ်ပါဘူး!) အကြောင်း <a href="https://en.wikipedia.org/wiki/Transformers" rel="nofollow">Wikipedia ဆောင်းပါး</a> ရဲ့ တစ်ခုလုံးကို embed လုပ်ဖို့ ကြိုးစားတယ်လို့ ယူဆပါစို့။</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 -->text = <span class="hljs-string">""" | |
| Generation One is a retroactive term for the Transformers characters that | |
| appeared between 1984 and 1993. The Transformers began with the 1980s Japanese | |
| toy lines Micro Change and Diaclone. They presented robots able to transform | |
| into everyday vehicles, electronic items or weapons. Hasbro bought the Micro | |
| Change and Diaclone toys, and partnered with Takara. Marvel Comics was hired by | |
| Hasbro to create the backstory; editor-in-chief Jim Shooter wrote an overall | |
| story, and gave the task of creating the characthers to writer Dennis O'Neil. | |
| Unhappy with O'Neil's work (although O'Neil created the name "Optimus Prime"), | |
| Shooter chose Bob Budiansky to create the characters. | |
| The Transformers mecha were largely designed by Shōji Kawamori, the creator of | |
| the Japanese mecha anime franchise Macross (which was adapted into the Robotech | |
| franchise in North America). Kawamori came up with the idea of transforming | |
| mechs while working on the Diaclone and Macross franchises in the early 1980s | |
| (such as the VF-1 Valkyrie in Macross and Robotech), with his Diaclone mechs | |
| later providing the basis for Transformers. | |
| The primary concept of Generation One is that the heroic Optimus Prime, the | |
| villainous Megatron, and their finest soldiers crash land on pre-historic Earth | |
| in the Ark and the Nemesis before awakening in 1985, Cybertron hurtling through | |
| the Neutral zone as an effect of the war. The Marvel comic was originally part | |
| of the main Marvel Universe, with appearances from Spider-Man and Nick Fury, | |
| plus some cameos, as well as a visit to the Savage Land. | |
| The Transformers TV series began around the same time. Produced by Sunbow | |
| Productions and Marvel Productions, later Hasbro Productions, from the start it | |
| contradicted Budiansky's backstories. The TV series shows the Autobots looking | |
| for new energy sources, and crash landing as the Decepticons attack. Marvel | |
| interpreted the Autobots as destroying a rogue asteroid approaching Cybertron. | |
| Shockwave is loyal to Megatron in the TV series, keeping Cybertron in a | |
| stalemate during his absence, but in the comic book he attempts to take command | |
| of the Decepticons. The TV series would also differ wildly from the origins | |
| Budiansky had created for the Dinobots, the Decepticon turned Autobot Jetfire | |
| (known as Skyfire on TV), the Constructicons (who combine to form | |
| Devastator),[19][20] and Omega Supreme. The Marvel comic establishes early on | |
| that Prime wields the Creation Matrix, which gives life to machines. In the | |
| second season, the two-part episode The Key to Vector Sigma introduced the | |
| ancient Vector Sigma computer, which served the same original purpose as the | |
| Creation Matrix (giving life to Transformers), and its guardian Alpha Trion. | |
| """</span> | |
| inputs = tokenizer(text, return_tensors=<span class="hljs-string">"pt"</span>) | |
| logits = model(**inputs).logits<!-- HTML_TAG_END --></pre></div> <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 -->IndexError: index out of <span class="hljs-built_in">range</span> <span class="hljs-keyword">in</span> self<!-- HTML_TAG_END --></pre></div> <p data-svelte-h="svelte-1nodccr">အိုး-အိုး၊ ပြဿနာတစ်ခု ကြုံတွေ့ခဲ့ပါပြီ — ပြီးတော့ error message က <a href="/course/chapter8/section2">အပိုင်း ၂</a> မှာ ကျွန်တော်တို့ တွေ့ခဲ့ရတာတွေထက် အများကြီး ပိုပြီး နားမလည်နိုင်ပါဘူး! full traceback ကို နားမလည်နိုင်တဲ့အတွက် Hugging Face forums တွေကနေ အကူအညီတောင်းဖို့ ဆုံးဖြတ်လိုက်ပါတယ်။ topic ကို ဘယ်လိုရေးသားရမလဲ။</p> <p data-svelte-h="svelte-7hg96t">စတင်ဖို့အတွက်၊ ညာဘက်အပေါ်ထောင့်မှာရှိတဲ့ “New Topic” ခလုတ်ကို နှိပ်ဖို့ လိုအပ်ပါတယ် (topic တစ်ခု ဖန်တီးဖို့အတွက် login ဝင်ထားဖို့ လိုအပ်ကြောင်း သတိပြုပါ)။</p> <div class="flex justify-center" data-svelte-h="svelte-1guiktj"><img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forums-new-topic.png" alt="Creating a new forum topic." width="100%"></div> <p data-svelte-h="svelte-1qmcxm3">ဒါက ကျွန်တော်တို့ရဲ့ topic ရဲ့ title ကို ထည့်သွင်းနိုင်မယ့်၊ category တစ်ခုကို ရွေးချယ်နိုင်မယ့်၊ ပြီးတော့ content ကို ရေးသားနိုင်မယ့် writing interface ကို ဖွင့်ပေးပါလိမ့်မယ်-</p> <div class="flex justify-center" data-svelte-h="svelte-xij8sp"><img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic01.png" alt="The interface for creating a forum topic." width="100%"></div> <p data-svelte-h="svelte-1hzwi9u">error က 🤗 Transformers နဲ့သာ သက်ဆိုင်ပုံရတာကြောင့်၊ ဒါကို category အဖြစ် ရွေးချယ်ပါမယ်။ ပြဿနာကို ရှင်းပြဖို့ ပထမဆုံး ကြိုးစားမှုက အောက်ပါအတိုင်း ဖြစ်နိုင်ပါတယ်-</p> <div class="flex justify-center" data-svelte-h="svelte-3f05is"><img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic02.png" alt="Drafting the content for a new forum topic." width="100%"></div> <p data-svelte-h="svelte-pnnb5y">ဒီ topic မှာ ကျွန်တော်တို့ အကူအညီလိုတဲ့ error message ပါဝင်နေပေမယ့်၊ ရေးသားထားတဲ့ ပုံစံမှာ ပြဿနာအချို့ ရှိနေပါတယ်။</p> <p data-svelte-h="svelte-14v59ub">၁။ title က သိပ်မဖော်ပြနိုင်ပါဘူး၊ ဒါကြောင့် forum ကို ကြည့်ရှုသူတွေက body ကိုပါ မဖတ်ဘဲ topic က ဘာအကြောင်းလဲဆိုတာ ပြောနိုင်မှာ မဟုတ်ပါဘူး။ | |
| ၂။ body က error ဘယ်ကနေလာသလဲ၊ ဒါကို ဘယ်လိုပြန်လည်ထုတ်လုပ်ရမလဲဆိုတဲ့ လုံလောက်တဲ့ အချက်အလက်တွေ မပေးပါဘူး။ | |
| ၃။ topic က လူအချို့ကို တောင်းဆိုတဲ့လေသံမျိုးနဲ့ တိုက်ရိုက် tag လုပ်ထားပါတယ်။</p> <p data-svelte-h="svelte-ab7xr4">ဒီလို topics တွေဟာ အမြန်အဖြေရဖို့ မဖြစ်နိုင်ပါဘူး (လုံးဝအဖြေမရတာမျိုးလည်း ရှိနိုင်ပါတယ်)၊ ဒါကြောင့် ဘယ်လိုတိုးတက်အောင် လုပ်နိုင်မလဲဆိုတာ ကြည့်ရအောင်။ ကောင်းမွန်တဲ့ title တစ်ခုရွေးချယ်ခြင်းရဲ့ ပထမဆုံး ပြဿနာနဲ့ စတင်ပါမယ်။</p> <h3 class="relative group"><a id="choosing-a-descriptive-title" 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="#choosing-a-descriptive-title"><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>ဖော်ပြနိုင်သော Title တစ်ခု ရွေးချယ်ခြင်း</span></h3> <p data-svelte-h="svelte-zywue1">သင့် code မှာ bug တစ်ခုနဲ့ ပတ်သက်ပြီး အကူအညီရဖို့ ကြိုးစားနေတယ်ဆိုရင်၊ title မှာ လုံလောက်တဲ့ အချက်အလက်တွေ ထည့်သွင်းခြင်းက တခြားသူတွေက သင့်မေးခွန်းကို ဖြေနိုင်မယ်လို့ သူတို့ထင်လား မထင်လားဆိုတာ လျင်မြန်စွာ ဆုံးဖြတ်နိုင်ဖို့ ကူညီပေးမယ့် အကောင်းဆုံး စည်းမျဉ်းတစ်ခုပါပဲ။ ကျွန်တော်တို့ရဲ့ ဥပမာမှာ၊ မြှင့်တင်နေတဲ့ exception ရဲ့ နာမည်ကို သိပြီး model ရဲ့ forward pass မှာ <code>model(**inputs)</code> ကို ခေါ်တဲ့အခါ ဒါက ဖြစ်ပေါ်တာလို့ အချက်အလက်အချို့ ရရှိထားပါတယ်။ ဒါကို ဆက်သွယ်ဖို့၊ ဖြစ်နိုင်တဲ့ title တစ်ခုကတော့…</p> <blockquote data-svelte-h="svelte-1b27f8e"><p>AutoModel forward pass မှာ IndexError ရဲ့ source လား။</p></blockquote> <p data-svelte-h="svelte-1bthpji">ဒီ title က error က ဘယ်ကနေလာတယ်လို့ သင်ထင်သလဲဆိုတာကို စာဖတ်သူကို ပြောပြပြီး၊ သူတို့က <code>IndexError</code> ကို အရင်က ကြုံတွေ့ဖူးတယ်ဆိုရင်၊ ဒါကို ဘယ်လို debug လုပ်ရမလဲဆိုတာ သိနိုင်ခြေများပါတယ်။ သေချာပေါက်၊ title က သင်လိုချင်တာ ဖြစ်နိုင်ပြီး၊ အခြားပုံစံတွေဖြစ်တဲ့…</p> <blockquote data-svelte-h="svelte-7rx2r9"><p>ကျွန်ုပ်ရဲ့ model က IndexError ဘာကြောင့် ထုတ်လုပ်တာလဲ။</p></blockquote> <p data-svelte-h="svelte-1730qen">ဒါတွေကလည်း အဆင်ပြေနိုင်ပါတယ်။ အခု ဖော်ပြနိုင်တဲ့ title တစ်ခု ရရှိပြီဆိုတော့၊ body ကို တိုးတက်အောင် လုပ်ကြည့်ရအောင်။</p> <h3 class="relative group"><a id="formatting-your-code-snippets" 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="#formatting-your-code-snippets"><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>သင့် Code Snippets များကို ပုံစံချခြင်း</span></h3> <p data-svelte-h="svelte-5vvye9">source code ကို IDE ထဲမှာ ဖတ်ရတာ အခက်အခဲရှိပြီးသားဖြစ်ပေမယ့်၊ code ကို plain text အဖြစ် copy paste လုပ်ထားရင် ပိုတောင် ခက်ခဲပါလိမ့်မယ်! ကံကောင်းစွာနဲ့ပဲ၊ Hugging Face forums တွေက Markdown ကို အသုံးပြုခြင်းကို ထောက်ပံ့ပေးတာကြောင့်၊ သင့် code blocks တွေကို ဖတ်ရလွယ်ကူအောင် backticks သုံးခု (```) နဲ့ အမြဲတမ်း ပတ်ထားသင့်ပါတယ်။ ဒါကို error message ကို လှပအောင်လုပ်ဖို့ လုပ်ကြပါစို့ — ပြီးတော့ ဒီလိုလုပ်ရင်းနဲ့၊ body ကို ကျွန်တော်တို့ရဲ့ မူရင်း version ထက် ပိုပြီး ယဉ်ကျေးအောင် လုပ်ကြရအောင်။</p> <div class="flex justify-center" data-svelte-h="svelte-pol4zs"><img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic03.png" alt="Our revised forum topic, with proper code formatting." width="100%"></div> <p data-svelte-h="svelte-jcw3vy">screenshot မှာ သင်တွေ့ရတဲ့အတိုင်း၊ code blocks တွေကို backticks နဲ့ ပတ်ထားခြင်းက raw text ကို formatted code အဖြစ် ပြောင်းလဲပေးပြီး၊ color styling ပါ အပြည့်အစုံပါပဲ! <code>distilbert-base-uncased</code> အတွက် ကျွန်တော်တို့ လုပ်ခဲ့သလိုပဲ၊ inline variables တွေကို format လုပ်ဖို့အတွက် single backticks တွေကို အသုံးပြုနိုင်ကြောင်းလည်း သတိပြုပါ။ ဒီ topic က အများကြီး ပိုကောင်းလာပြီဖြစ်ပြီး၊ ကံကောင်းရင်တော့ community ထဲက တစ်ယောက်ယောက်က error က ဘာအကြောင်းလဲဆိုတာ ခန့်မှန်းနိုင်ပါလိမ့်မယ်။ သို့သော်လည်း၊ ကံပေါ်မှာ အားကိုးမယ့်အစား၊ traceback ကို အသေးစိတ်အပြည့်အစုံ ထည့်သွင်းခြင်းဖြင့် ဘဝကို ပိုမိုလွယ်ကူအောင် လုပ်ကြပါစို့!</p> <h3 class="relative group"><a id="including-the-full-traceback" 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="#including-the-full-traceback"><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>Full Traceback ကို ထည့်သွင်းခြင်း</span></h3> <p data-svelte-h="svelte-dmd04a">traceback ရဲ့ နောက်ဆုံးစာကြောင်းက သင့်ကိုယ်ပိုင် code ကို debug လုပ်ဖို့ လုံလောက်လေ့ရှိတာကြောင့်၊ “နေရာချွေတာဖို့” သင့် topic မှာ အဲဒါကိုပဲ ပေးချင်စိတ် ပေါ်လာနိုင်ပါတယ်။ ရည်ရွယ်ချက် ကောင်းပေမယ့်၊ ဒါက တခြားသူတွေအတွက် ပြဿနာကို debug လုပ်ဖို့ ပိုခက်ခဲစေပါတယ်၊ ဘာလို့လဲဆိုတော့ traceback ရဲ့ အပေါ်ပိုင်းက အချက်အလက်တွေက တကယ်အသုံးဝင်နိုင်လို့ပါပဲ။ ဒါကြောင့်၊ ကောင်းမွန်တဲ့ အလေ့အကျင့်တစ်ခုက traceback <em>တစ်ခုလုံး</em> ကို copy and paste လုပ်ပြီး ကောင်းကောင်း format ချထားဖို့ သေချာအောင် လုပ်တာပါပဲ။ ဒီ traceback တွေက အတော်လေး ရှည်လျားနိုင်တာကြောင့်၊ တချို့လူတွေက source code ကို ရှင်းပြပြီးမှ ၎င်းတို့ကို ပြသဖို့ ပိုကြိုက်ကြပါတယ်။ ဒါကို လုပ်ကြပါစို့။ အခု ကျွန်တော်တို့ရဲ့ forum topic က အောက်ပါအတိုင်း ဖြစ်ပါလိမ့်မယ်။</p> <div class="flex justify-center" data-svelte-h="svelte-1oxns09"><img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic04.png" alt="Our example forum topic, with the complete traceback." width="100%"></div> <p data-svelte-h="svelte-cwlnui">ဒါက အများကြီး ပိုပြီး အချက်အလက်ပြည့်စုံပါတယ်၊ ပြီးတော့ သတိထားဖတ်ရှုသူတစ်ဦးက traceback ထဲက ဒီစာကြောင်းကြောင့် input ရှည်လျားစွာ ပေးပို့မိလို့ ပြဿနာဖြစ်တာလို့ ထောက်ပြနိုင်ပါလိမ့်မယ်။</p> <blockquote data-svelte-h="svelte-1cf7hkp"><p>Token indices sequence length is longer than the specified maximum sequence length for this model (583 > 512).</p></blockquote> <p data-svelte-h="svelte-xrg5bt">သို့သော်လည်း၊ error ကို ဖြစ်ပေါ်စေခဲ့တဲ့ code ကို တကယ်တကယ် ပေးခြင်းဖြင့် သူတို့အတွက် ပိုမိုလွယ်ကူအောင် လုပ်နိုင်ပါတယ်။ အခု အဲဒါကို လုပ်ကြပါစို့။</p> <h3 class="relative group"><a id="providing-a-reproducible-example" 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="#providing-a-reproducible-example"><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>ပြန်လည်ထုတ်လုပ်နိုင်သော ဥပမာတစ်ခု ပံ့ပိုးပေးခြင်း</span></h3> <p data-svelte-h="svelte-luow24">သင်တခြားတစ်ယောက်ရဲ့ code ကို debug လုပ်ဖို့ ကြိုးစားဖူးတယ်ဆိုရင်၊ သင်ဟာ သူတို့အစီရင်ခံခဲ့တဲ့ ပြဿနာကို အရင်ဆုံး ပြန်လည်ဖန်တီးကြည့်ပြီးမှ traceback ကို လိုက်ကြည့်ပြီး error ကို ရှာဖွေဖို့ လုပ်ဆောင်ခဲ့ပါလိမ့်မယ်။ forums တွေမှာ အကူအညီရယူတာ (သို့မဟုတ် ပေးတာ) မှာလည်း မတူပါဘူး၊ ဒါကြောင့် error ကို ပြန်လည်ထုတ်လုပ်နိုင်တဲ့ ဥပမာသေးသေးလေးတစ်ခု ပေးနိုင်ရင် တကယ်အထောက်အကူဖြစ်ပါတယ်။ တစ်ဝက်လောက်သော အချိန်တွေမှာ၊ ဒီလေ့ကျင့်ခန်းကို လုပ်ဆောင်ရုံနဲ့ သင်ဘာမှားနေသလဲဆိုတာကို သင်ကိုယ်တိုင် ရှာဖွေနိုင်ပါလိမ့်မယ်။ ဘယ်လိုပဲဖြစ်ဖြစ်၊ ကျွန်တော်တို့ရဲ့ ဥပမာမှာ ပျောက်ဆုံးနေတဲ့ အစိတ်အပိုင်းက model ကို ပေးခဲ့တဲ့ <em>inputs</em> တွေကို ပြသဖို့ပါပဲ။ အဲဒါကို လုပ်ဆောင်ခြင်းက အောက်ပါအတိုင်း ပြီးပြည့်စုံတဲ့ ဥပမာတစ်ခုကို ပေးပါလိမ့်မယ်။</p> <div class="flex justify=center" data-svelte-h="svelte-1gle4ko"><img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter8/forum-topic05.png" alt="The final version of our forum topic." width="100%"></div> <p data-svelte-h="svelte-355c9f">ဒီ topic မှာ အခုဆိုရင် အချက်အလက်များစွာ ပါဝင်နေပြီး၊ community ရဲ့ အာရုံစိုက်မှုကို ဆွဲဆောင်ပြီး အကူအညီဖြစ်စေမယ့် အဖြေတစ်ခု ရဖို့ အခွင့်အလမ်း ပိုများတဲ့ ပုံစံမျိုးနဲ့ ရေးသားထားပါတယ်။ ဒီအခြေခံလမ်းညွှန်ချက်တွေနဲ့ သင်ဟာ သင့်ရဲ့ 🤗 Transformers မေးခွန်းတွေရဲ့ အဖြေတွေကို ရှာဖွေဖို့ ကောင်းမွန်တဲ့ topics တွေကို ဖန်တီးနိုင်ပါပြီ!</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-1438zui"><li><strong>Forums</strong>: အွန်လိုင်းဆွေးနွေးပွဲ ဖိုရမ်များ။ Hugging Face forums များသည် open source team နှင့် ပိုမိုကျယ်ပြန့်သော Hugging Face community ထံမှ အကူအညီရယူရန် ရည်ရွယ်သည်။</li> <li><strong>Open Source Team</strong>: open source project တစ်ခုကို ဖွံ့ဖြိုးတိုးတက်စေခြင်းနှင့် ထိန်းသိမ်းခြင်းအတွက် တာဝန်ယူသော အဖွဲ့။</li> <li><strong>Hugging Face Community</strong>: Hugging Face ပလက်ဖောင်းကို အသုံးပြုပြီး ပံ့ပိုးကူညီနေသော လူအဖွဲ့အစည်း။</li> <li><strong>Categories</strong>: forum ပေါ်ရှိ topics များကို စုစည်းထားသော ကဏ္ဍများ။</li> <li><strong>Topics</strong>: forum ပေါ်ရှိ title, category, နှင့် description ပါဝင်သော post တစ်ခု။</li> <li><strong>GitHub Issues</strong>: GitHub repository များတွင် bug များ၊ feature requests များနှင့် အခြားပြဿနာများကို ခြေရာခံရန် အသုံးပြုသော platform။</li> <li><strong>Beginners Category</strong>: Hugging Face libraries နှင့် ecosystem ကို အခုမှ စတင်လေ့လာသူများအတွက် ရည်ရွယ်သော forum category။</li> <li><strong>Debug</strong>: ကွန်ပျူတာပရိုဂရမ်တစ်ခုရှိ အမှားများ (bugs) ကို ရှာဖွေ၊ ဖော်ထုတ်ပြီး ပြင်ဆင်ခြင်း။</li> <li><strong>Intermediate Category</strong>: ပိုမိုအဆင့်မြင့်သော မေးခွန်းများအတွက် ရည်ရွယ်သော forum category။</li> <li><strong>Research Category</strong>: NLP သုတေသနအသစ်များ အပါအဝင် ပိုမိုအဆင့်မြင့်သော သုတေသနဆိုင်ရာ မေးခွန်းများအတွက် ရည်ရွယ်သော forum category။</li> <li><strong>Course Category</strong>: Hugging Face သင်တန်းနှင့် ပတ်သက်သော မေးခွန်းများအတွက် ရည်ရွယ်သော forum category။</li> <li><strong>Embeddings</strong>: စကားလုံးများ၊ စာသားများ သို့မဟုတ် အခြားဒေတာများကို vector space အတွင်းရှိ ဂဏန်းဆိုင်ရာ ကိုယ်စားပြုမှုများအဖြစ် ပြောင်းလဲခြင်း။</li> <li><strong>Wikipedia Articles</strong>: Wikipedia စွယ်စုံကျမ်းရှိ ဆောင်းပါးများ။</li> <li><strong>Custom Search Engine</strong>: သီးခြားလိုအပ်ချက်များ သို့မဟုတ် ဒေတာများအတွက် ကိုယ်တိုင်တည်ဆောက်ထားသော search engine။</li> <li><strong><code>AutoTokenizer</code></strong>: Hugging Face Transformers library မှာ ပါဝင်တဲ့ class တစ်ခုဖြစ်ပြီး မော်ဒယ်အမည်ကို အသုံးပြုပြီး သက်ဆိုင်ရာ tokenizer ကို အလိုအလျောက် load လုပ်ပေးသည်။</li> <li><strong><code>AutoModel</code></strong>: Hugging Face Transformers library မှာ ပါဝင်တဲ့ class တစ်ခုဖြစ်ပြီး မော်ဒယ်အမည်ကို အသုံးပြုပြီး သက်ဆိုင်ရာ model ကို အလိုအလျောက် load လုပ်ပေးသည်။</li> <li><strong><code>model_checkpoint</code></strong>: pretrained model ၏ နာမည် (ဥပမာ- <code>distilbert-base-uncased</code>)။</li> <li><strong><code>from_pretrained()</code> Method</strong>: pretrained model သို့မဟုတ် tokenizer ကို load လုပ်ရန် အသုံးပြုသော method။</li> <li><strong><code>distilbert-base-uncased</code></strong>: DistilBERT model ၏ base, uncased version အတွက် checkpoint identifier။</li> <li><strong><code>text</code></strong>: စာသား input။</li> <li><strong><code>tokenizer(text, return_tensors="pt")</code></strong>: စာသားကို tokenize လုပ်ပြီး PyTorch tensors များအဖြစ် ပြန်ပေးသည်။</li> <li><strong><code>logits</code></strong>: model ၏ raw, unnormalized prediction scores များ။</li> <li><strong><code>IndexError</code></strong>: Python တွင် sequence (list, tuple) တစ်ခု၏ index သည် ၎င်း၏ သတ်မှတ်ထားသော အတိုင်းအတာပြင်ပတွင် ရှိနေသောအခါ ဖြစ်ပေါ်သော error။</li> <li><strong>Error Message</strong>: ပရိုဂရမ်တစ်ခုတွင် အမှားတစ်ခု ဖြစ်ပေါ်သောအခါ ပြသသော စာသား။</li> <li><strong>Cryptic</strong>: နားလည်ရခက်ခဲခြင်း သို့မဟုတ် မရှင်းမလင်းဖြစ်ခြင်း။</li> <li><strong>Full Traceback</strong>: Python ပရိုဂရမ်တစ်ခုတွင် error ဖြစ်ပေါ်သည့် အချိန်မှစ၍ code execution ၏ လမ်းကြောင်းအပြည့်အစုံကို ပြသခြင်း။</li> <li><strong>New Topic Button</strong>: forum ပေါ်တွင် post အသစ်တစ်ခု ဖန်တီးရန် ခလုတ်။</li> <li><strong>Writing Interface</strong>: post, article သို့မဟုတ် အခြားစာသားများကို ရေးသားရန်အတွက် ဆော့ဖ်ဝဲလ် interface။</li> <li><strong>Category</strong>: forum ပေါ်တွင် topic ကို ခွဲခြားသတ်မှတ်ရန် အသုံးပြုသော အုပ်စု။</li> <li><strong>Draft</strong>: topic ၏ အကြောင်းအရာကို ရေးသားခြင်း။</li> <li><strong>`model(</strong>inputs).logits`**: model ၏ forward pass ကို input များနှင့် ခေါ်ဆိုခြင်း။</li> <li><strong>Descriptive Title</strong>: topic ၏ အကြောင်းအရာကို ရှင်းရှင်းလင်းလင်း ဖော်ပြသော title။</li> <li><strong>Exception</strong>: ပရိုဂရမ်တစ်ခု အလုပ်လုပ်နေစဉ် ဖြစ်ပေါ်လာသော error သို့မဟုတ် မမျှော်လင့်သော အခြေအနေ။</li> <li><strong>Forward Pass</strong>: Neural network တစ်ခုမှ input data ကို layers များမှတစ်ဆင့် ဖြတ်သန်းကာ output ကို ထုတ်လုပ်သည့် လုပ်ငန်းစဉ်။</li> <li><strong>Code Snippets</strong>: code ၏ အစိတ်အပိုင်းငယ်များ။</li> <li><strong>IDE (Integrated Development Environment)</strong>: ဆော့ဖ်ဝဲလ် developer များအတွက် code ရေးသားခြင်း၊ debug လုပ်ခြင်းနှင့် test လုပ်ခြင်းတို့ကို လွယ်ကူစေသော ဆော့ဖ်ဝဲလ်ပတ်ဝန်းကျင်။</li> <li><strong>Markdown</strong>: Plain text format တစ်ခုဖြစ်ပြီး formatting syntax ကို အသုံးပြု၍ စာသားကို ပုံစံချခြင်း။</li> <li><strong>Backticks (```)</strong>: Markdown တွင် code blocks များကို ဖော်မတ်ချရန် အသုံးပြုသော အမှတ်အသားများ။</li> <li><strong>Color Styling</strong>: code ၏ မတူညီသော အစိတ်အပိုင်းများကို မတူညီသော အရောင်များဖြင့် ပြသခြင်း။</li> <li><strong>Inline Variables</strong>: စာကြောင်းတစ်ကြောင်းအတွင်း၌ ဖော်ပြထားသော variables များ။</li> <li><strong>Reproducible Example</strong>: အခြားသူတစ်ဦးက တူညီသော error ကို ပြန်လည်ဖန်တီးနိုင်ရန် လုံလောက်သော အချက်အလက်နှင့် code ပါဝင်သော ဥပမာ။</li> <li><strong>Input</strong>: model သို့ ပေးပို့သော ဒေတာ။</li> <li><strong>Token Indices Sequence Length</strong>: tokenizer မှ ထုတ်လုပ်ထားသော tokens များ၏ အရှည်။</li> <li><strong>Maximum Sequence Length</strong>: model တစ်ခု လက်ခံနိုင်သော အရှည်ဆုံး sequence (tokens အရေအတွက်)။</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/chapter8/3.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, 88], | |
| data, | |
| form: null, | |
| error: null | |
| }); | |
| }); | |
| } | |
| </script> | |
Xet Storage Details
- Size:
- 57.8 kB
- Xet hash:
- b26fad5dea7b824c749a10d7648a929ec352bb51da1ac25ceef0dd505e87afba
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.