import{s as I,n as z,o as N}from"../chunks/scheduler.d6170356.js";import{S as R,i as B,g as i,s as n,r as J,A as K,h as s,f as a,c as o,j as q,u as O,x as v,k as T,y as Q,a as l,v as W,d as X,t as Y,w as Z}from"../chunks/index.fcd4cc08.js";import{H as ee}from"../chunks/Heading.8660bd0e.js";function te(A){let c,b,w,k,u,x,h,D='<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>.',y,m,j="<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.",M,d,E='<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,F="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,S='<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,U="Then from the main page, you can select the model from the list of installed models and start a conversation.",G,r,V='<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,_,$;return u=new ee({props:{title:"GGUF usage with GPT4All",local:"gguf-usage-with-gpt4all",headingTag:"h1"}}),{c(){c=i("meta"),b=n(),w=i("p"),k=n(),J(u.$$.fragment),x=n(),h=i("p"),h.innerHTML=D,y=n(),m=i("p"),m.innerHTML=j,M=n(),d=i("div"),d.innerHTML=E,H=n(),p=i("p"),p.innerHTML=F,L=n(),g=i("div"),g.innerHTML=S,P=n(),f=i("p"),f.textContent=U,G=n(),r=i("div"),r.innerHTML=V,C=n(),_=i("p"),this.h()},l(e){const t=K("svelte-u9bgzb",document.head);c=s(t,"META",{name:!0,content:!0}),t.forEach(a),b=o(e),w=s(e,"P",{}),q(w).forEach(a),k=o(e),O(u.$$.fragment,e),x=o(e),h=s(e,"P",{"data-svelte-h":!0}),v(h)!=="svelte-pqcq01"&&(h.innerHTML=D),y=o(e),m=s(e,"P",{"data-svelte-h":!0}),v(m)!=="svelte-1i39jvg"&&(m.innerHTML=j),M=o(e),d=s(e,"DIV",{class:!0,"data-svelte-h":!0}),v(d)!=="svelte-5xx7fu"&&(d.innerHTML=E),H=o(e),p=s(e,"P",{"data-svelte-h":!0}),v(p)!=="svelte-1mumygo"&&(p.innerHTML=F),L=o(e),g=s(e,"DIV",{class:!0,"data-svelte-h":!0}),v(g)!=="svelte-423uok"&&(g.innerHTML=S),P=o(e),f=s(e,"P",{"data-svelte-h":!0}),v(f)!=="svelte-625pwc"&&(f.textContent=U),G=o(e),r=s(e,"DIV",{class:!0,"data-svelte-h":!0}),v(r)!=="svelte-6pz6lk"&&(r.innerHTML=V),C=o(e),_=s(e,"P",{}),q(_).forEach(a),this.h()},h(){T(c,"name","hf:doc:metadata"),T(c,"content",ae),T(d,"class","flex justify-center"),T(g,"class","flex justify-center"),T(r,"class","flex justify-center")},m(e,t){Q(document.head,c),l(e,b,t),l(e,w,t),l(e,k,t),W(u,e,t),l(e,x,t),l(e,h,t),l(e,y,t),l(e,m,t),l(e,M,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,r,t),l(e,C,t),l(e,_,t),$=!0},p:z,i(e){$||(X(u.$$.fragment,e),$=!0)},o(e){Y(u.$$.fragment,e),$=!1},d(e){e&&(a(b),a(w),a(k),a(x),a(h),a(y),a(m),a(M),a(d),a(H),a(p),a(L),a(g),a(P),a(f),a(G),a(r),a(C),a(_)),a(c),Z(u,e)}}}const ae='{"title":"GGUF usage with GPT4All","local":"gguf-usage-with-gpt4all","sections":[],"depth":1}';function le(A){return N(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class oe extends R{constructor(c){super(),B(this,c,le,te,I,{})}}export{oe as component};
