Buckets:

rtrm's picture
download
raw
3.49 kB
import{s as U,n as G,o as I}from"../chunks/scheduler.505acc25.js";import{S as O,i as R,e as f,s as o,c as T,h as J,a as $,d as a,b as s,f as A,g as z,j as E,k as B,l as K,m as i,n as M,t as D,o as k,p as q}from"../chunks/index.1238bded.js";import{C as Q,H as V,E as W}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.04c53ba3.js";import{C as X}from"../chunks/CourseFloatingBanner.0b6e065b.js";function Y(S){let n,b,g,v,r,_,l,x,m,C,u,F="Beh, abbiamo fatto un bel giro nella libreria 🤗 Datasets: complimenti per aver raggiunto quest’obiettivo! Con le conoscenze che hai ottenuto da questo capitolo, sei in grado di:",P,c,N="<li>Caricare dataset da ogni luogo, sia esso l’Hub di Hugging Face, il tuo portatile, o un server in remoto della tua compagnia.</li> <li>Fare data-wrangling usando un mix delle funzioni <code>Dataset.map()</code> e <code>Dataset.filter()</code>.</li> <li>Passare velocemente tra diversi formati di dati domce Pandas e NumPy usando <code>Dataset.set_format()</code>.</li> <li>Creare il tuo dataset e condividerlo sull’Hub Hugging Face.</li> <li>Creare embedding dei tuoi documenti usando un modello Transformer, e costruire un motore di ricerca semantico usando FAISS.</li>",w,p,j='Nel <a href="/course/chapter7">Capitolo 7</a>, faremo buon uso di tutto questo mentre ci avventureremo nei task principali NLP, per i quali i modelli Transformer sono un’ottima soluzione. Prima di andare oltre, però, metti alla prova la tua conoscenza di 🤗 Datasets con un quiz!',H,d,y,h,L;return r=new Q({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),l=new V({props:{title:"🤗 Datasets, check!",local:"-datasets-check",headingTag:"h1"}}),m=new X({props:{chapter:5,classNames:"absolute z-10 right-0 top-0"}}),d=new W({props:{source:"https://github.com/huggingface/course/blob/main/chapters/it/chapter5/7.mdx"}}),{c(){n=f("meta"),b=o(),g=f("p"),v=o(),T(r.$$.fragment),_=o(),T(l.$$.fragment),x=o(),T(m.$$.fragment),C=o(),u=f("p"),u.textContent=F,P=o(),c=f("ul"),c.innerHTML=N,w=o(),p=f("p"),p.innerHTML=j,H=o(),T(d.$$.fragment),y=o(),h=f("p"),this.h()},l(e){const t=J("svelte-u9bgzb",document.head);n=$(t,"META",{name:!0,content:!0}),t.forEach(a),b=s(e),g=$(e,"P",{}),A(g).forEach(a),v=s(e),z(r.$$.fragment,e),_=s(e),z(l.$$.fragment,e),x=s(e),z(m.$$.fragment,e),C=s(e),u=$(e,"P",{"data-svelte-h":!0}),E(u)!=="svelte-r0yujb"&&(u.textContent=F),P=s(e),c=$(e,"UL",{"data-svelte-h":!0}),E(c)!=="svelte-1ccexcl"&&(c.innerHTML=N),w=s(e),p=$(e,"P",{"data-svelte-h":!0}),E(p)!=="svelte-wevowg"&&(p.innerHTML=j),H=s(e),z(d.$$.fragment,e),y=s(e),h=$(e,"P",{}),A(h).forEach(a),this.h()},h(){B(n,"name","hf:doc:metadata"),B(n,"content",Z)},m(e,t){K(document.head,n),i(e,b,t),i(e,g,t),i(e,v,t),M(r,e,t),i(e,_,t),M(l,e,t),i(e,x,t),M(m,e,t),i(e,C,t),i(e,u,t),i(e,P,t),i(e,c,t),i(e,w,t),i(e,p,t),i(e,H,t),M(d,e,t),i(e,y,t),i(e,h,t),L=!0},p:G,i(e){L||(D(r.$$.fragment,e),D(l.$$.fragment,e),D(m.$$.fragment,e),D(d.$$.fragment,e),L=!0)},o(e){k(r.$$.fragment,e),k(l.$$.fragment,e),k(m.$$.fragment,e),k(d.$$.fragment,e),L=!1},d(e){e&&(a(b),a(g),a(v),a(_),a(x),a(C),a(u),a(P),a(c),a(w),a(p),a(H),a(y),a(h)),a(n),q(r,e),q(l,e),q(m,e),q(d,e)}}}const Z='{"title":"🤗 Datasets, check!","local":"-datasets-check","sections":[],"depth":1}';function ee(S){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class oe extends O{constructor(n){super(),R(this,n,ee,Y,U,{})}}export{oe as component};

Xet Storage Details

Size:
3.49 kB
·
Xet hash:
9659902c064212fead3823d28a7482d0f799e8ff13d8044504975aff67d3e75a

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