import{s as Q,n as W,o as X}from"../chunks/scheduler.d6170356.js";import{S as Y,i as Z,g as s,s as i,r as z,A as ee,h as o,f as a,c as n,j as N,u as O,x as b,k as T,y as te,a as l,v as R,d as B,t as J,w as K}from"../chunks/index.fcd4cc08.js";import{H as ae,E as le}from"../chunks/index.57043804.js";function ie(E){let c,k,w,x,r,y,h,j='<a href="https://gpt4all.io/" rel="nofollow">GPT4All</a> is an open-source LLM application developed by <a href="https://nomic.ai/" rel="nofollow">Nomic</a>. Version 2.7.2 introduces a brand new, experimental feature called <code>Model Discovery</code>.',M,m,F="<code>Model Discovery</code> provides a built-in way to search for and download GGUF models from the Hub. To get started, open GPT4All and click <code>Download Models</code>. From here, you can use the search bar to find a model.",$,d,S='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/gguf-gpt4all-discovery-light.png" width="70%" height="auto"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/gguf-gpt4all-discovery-dark.png" width="70%" height="auto"/>',H,p,U="After you have selected and downloaded a model, you can go to <code>Settings</code> and provide an appropriate prompt template in the GPT4All format (<code>%1</code> and <code>%2</code> placeholders).",L,g,V='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/gguf-gpt4all-template-light.png" width="70%" height="auto"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/gguf-gpt4all-template-dark.png" width="70%" height="auto"/>',P,f,q="Then from the main page, you can select the model from the list of installed models and start a conversation.",G,u,I='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/gguf-gpt4all-chat-light.png" width="70%" height="auto"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/gguf-gpt4all-chat-dark.png" width="70%" height="auto"/>',C,v,A,_,D;return r=new ae({props:{title:"GGUF usage with GPT4All",local:"gguf-usage-with-gpt4all",headingTag:"h1"}}),v=new le({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/gguf-gpt4all.md"}}),{c(){c=s("meta"),k=i(),w=s("p"),x=i(),z(r.$$.fragment),y=i(),h=s("p"),h.innerHTML=j,M=i(),m=s("p"),m.innerHTML=F,$=i(),d=s("div"),d.innerHTML=S,H=i(),p=s("p"),p.innerHTML=U,L=i(),g=s("div"),g.innerHTML=V,P=i(),f=s("p"),f.textContent=q,G=i(),u=s("div"),u.innerHTML=I,C=i(),z(v.$$.fragment),A=i(),_=s("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);c=o(t,"META",{name:!0,content:!0}),t.forEach(a),k=n(e),w=o(e,"P",{}),N(w).forEach(a),x=n(e),O(r.$$.fragment,e),y=n(e),h=o(e,"P",{"data-svelte-h":!0}),b(h)!=="svelte-pqcq01"&&(h.innerHTML=j),M=n(e),m=o(e,"P",{"data-svelte-h":!0}),b(m)!=="svelte-1i39jvg"&&(m.innerHTML=F),$=n(e),d=o(e,"DIV",{class:!0,"data-svelte-h":!0}),b(d)!=="svelte-5xx7fu"&&(d.innerHTML=S),H=n(e),p=o(e,"P",{"data-svelte-h":!0}),b(p)!=="svelte-1mumygo"&&(p.innerHTML=U),L=n(e),g=o(e,"DIV",{class:!0,"data-svelte-h":!0}),b(g)!=="svelte-423uok"&&(g.innerHTML=V),P=n(e),f=o(e,"P",{"data-svelte-h":!0}),b(f)!=="svelte-625pwc"&&(f.textContent=q),G=n(e),u=o(e,"DIV",{class:!0,"data-svelte-h":!0}),b(u)!=="svelte-6pz6lk"&&(u.innerHTML=I),C=n(e),O(v.$$.fragment,e),A=n(e),_=o(e,"P",{}),N(_).forEach(a),this.h()},h(){T(c,"name","hf:doc:metadata"),T(c,"content",ne),T(d,"class","flex justify-center"),T(g,"class","flex justify-center"),T(u,"class","flex justify-center")},m(e,t){te(document.head,c),l(e,k,t),l(e,w,t),l(e,x,t),R(r,e,t),l(e,y,t),l(e,h,t),l(e,M,t),l(e,m,t),l(e,$,t),l(e,d,t),l(e,H,t),l(e,p,t),l(e,L,t),l(e,g,t),l(e,P,t),l(e,f,t),l(e,G,t),l(e,u,t),l(e,C,t),R(v,e,t),l(e,A,t),l(e,_,t),D=!0},p:W,i(e){D||(B(r.$$.fragment,e),B(v.$$.fragment,e),D=!0)},o(e){J(r.$$.fragment,e),J(v.$$.fragment,e),D=!1},d(e){e&&(a(k),a(w),a(x),a(y),a(h),a(M),a(m),a($),a(d),a(H),a(p),a(L),a(g),a(P),a(f),a(G),a(u),a(C),a(A),a(_)),a(c),K(r,e),K(v,e)}}}const ne='{"title":"GGUF usage with GPT4All","local":"gguf-usage-with-gpt4all","sections":[],"depth":1}';function se(E){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ge extends Y{constructor(c){super(),Z(this,c,se,ie,Q,{})}}export{ge as component};
