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