kat33 commited on
Commit
59be1de
β€’
1 Parent(s): d6b051d
Files changed (1) hide show
  1. instructions.html +300 -0
instructions.html ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html class="">
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
7
+ <meta name="description" content="Discover amazing ML apps made by the community" />
8
+ <meta property="fb:app_id" content="1321688464574422" />
9
+ <meta name="twitter:card" content="summary_large_image" />
10
+ <meta name="twitter:site" content="@huggingface" />
11
+ <meta property="og:title" content="Llama.cpp - a Hugging Face Space by kat33" />
12
+ <meta property="og:type" content="website" />
13
+ <meta property="og:url" content="https://huggingface.co/spaces/kat33/llama.cpp" />
14
+ <meta property="og:image" content="https://cdn-thumbnails.huggingface.co/social-thumbnails/spaces/kat33/llama.cpp.png" />
15
+
16
+ <link rel="stylesheet" href="/front/build/kube-2411701/style.css" />
17
+
18
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
19
+ <link
20
+ href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap"
21
+ rel="stylesheet"
22
+ />
23
+ <link
24
+ href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap"
25
+ rel="stylesheet"
26
+ />
27
+
28
+ <link
29
+ rel="preload"
30
+ href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css"
31
+ as="style"
32
+ onload="this.onload=null;this.rel='stylesheet'"
33
+ />
34
+ <noscript>
35
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css" />
36
+ </noscript>
37
+
38
+
39
+
40
+ <title>Llama.cpp - a Hugging Face Space by kat33</title>
41
+
42
+ <script defer data-domain="huggingface.co" src="/js/script.js"></script>
43
+ </head>
44
+ <body class="flex flex-col min-h-screen bg-white dark:bg-gray-950 text-black SpacePage">
45
+ <div class="flex min-h-screen flex-col">
46
+
47
+ <div class="SVELTE_HYDRATER contents" data-props="{&quot;activeTab&quot;:&quot;spaceApp&quot;,&quot;authLight&quot;:{&quot;csrfToken&quot;:&quot;eyJkYXRhIjp7ImV4cGlyYXRpb24iOjE2OTA0MDQ1MjA3NjUsInVzZXJJZCI6IjY0YjYyMjExZDJhNjFkMGI2YWUxN2MxMCJ9LCJzaWduYXR1cmUiOiJjMjY2ODAyOWUzMTRhZmM4NjRhZGEyODkyNzI0Njc3ODc3YzUzMDU5ZDU0OGM1ZjM1ZmVjZWEyZTA5MGI5YzI1In0=&quot;,&quot;hasHfAccess&quot;:false,&quot;u&quot;:{&quot;accessTokens&quot;:[{&quot;_id&quot;:&quot;64bc81fd140491ca9f3f5536&quot;,&quot;token&quot;:&quot;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&quot;,&quot;displayName&quot;:&quot;notebooks&quot;,&quot;role&quot;:&quot;write&quot;,&quot;createdAt&quot;:&quot;2023-07-23T01:27:25.291Z&quot;}],&quot;isPro&quot;:false,&quot;orgs&quot;:[],&quot;user&quot;:&quot;kat33&quot;}},&quot;author&quot;:{&quot;avatarUrl&quot;:&quot;/avatars/535bf68e9aae6be5dcadee34ebd47615.svg&quot;,&quot;fullname&quot;:&quot;kat33&quot;,&quot;name&quot;:&quot;kat33&quot;,&quot;type&quot;:&quot;user&quot;,&quot;isPro&quot;:false,&quot;isHf&quot;:false},&quot;avatarUrl&quot;:&quot;/avatars/535bf68e9aae6be5dcadee34ebd47615.svg&quot;,&quot;canReadRepoSettings&quot;:true,&quot;discussionsStats&quot;:{&quot;closed&quot;:0,&quot;open&quot;:0,&quot;total&quot;:0},&quot;query&quot;:{},&quot;space&quot;:{&quot;author&quot;:&quot;kat33&quot;,&quot;colorFrom&quot;:&quot;red&quot;,&quot;colorTo&quot;:&quot;indigo&quot;,&quot;cardData&quot;:{&quot;title&quot;:&quot;Llama.cpp&quot;,&quot;emoji&quot;:&quot;πŸš€&quot;,&quot;colorFrom&quot;:&quot;red&quot;,&quot;colorTo&quot;:&quot;indigo&quot;,&quot;sdk&quot;:&quot;gradio&quot;,&quot;sdk_version&quot;:&quot;3.38.0&quot;,&quot;app_file&quot;:&quot;app.py&quot;,&quot;pinned&quot;:false,&quot;license&quot;:&quot;mit&quot;},&quot;emoji&quot;:&quot;πŸš€&quot;,&quot;discussionsDisabled&quot;:false,&quot;duplicationDisabled&quot;:false,&quot;id&quot;:&quot;kat33/llama.cpp&quot;,&quot;isLikedByUser&quot;:false,&quot;isMutedByUser&quot;:false,&quot;isWatchedByUser&quot;:true,&quot;lastModified&quot;:&quot;2023-07-25T20:46:51.000Z&quot;,&quot;likes&quot;:0,&quot;pinned&quot;:false,&quot;private&quot;:false,&quot;gated&quot;:false,&quot;repoType&quot;:&quot;space&quot;,&quot;subdomain&quot;:&quot;kat33-llama-cpp&quot;,&quot;sdk&quot;:&quot;gradio&quot;,&quot;staticOrigin&quot;:&quot;app.py&quot;,&quot;title&quot;:&quot;Llama.cpp&quot;,&quot;runtime&quot;:{&quot;stage&quot;:&quot;NO_APP_FILE&quot;,&quot;sdk&quot;:null,&quot;sdkVersion&quot;:null,&quot;hardware&quot;:{&quot;current&quot;:null,&quot;requested&quot;:&quot;cpu-basic&quot;,&quot;requestedPrettyName&quot;:&quot;CPU Basic&quot;},&quot;storage&quot;:null,&quot;resources&quot;:null,&quot;gcTimeout&quot;:null},&quot;iframe&quot;:{&quot;host&quot;:&quot;https://kat33-llama-cpp.hf.space&quot;,&quot;src&quot;:&quot;https://kat33-llama-cpp.hf.space&quot;},&quot;secrets&quot;:[],&quot;variables&quot;:[],&quot;sse&quot;:{&quot;stageUrl&quot;:&quot;https://api.hf.space/v1/kat33/llama.cpp/sse&quot;,&quot;jwt&quot;:&quot;eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2OTAzMTgxMjAsInN1YiI6ImthdDMzL2xsYW1hLmNwcCIsImV4cCI6MTY5MDQwNDUyMCwiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.jeJqYER5qtlMh5-ZuC5yQ68MjdnrrymRqgjmdzkuOV9UN4PSOo7AyzWcvY6l3QFkHS0-3_6J2WCU1YoSMatGDg&quot;},&quot;linkedModels&quot;:[],&quot;linkedDatasets&quot;:[]},&quot;u&quot;:{&quot;avatarUrl&quot;:&quot;/avatars/535bf68e9aae6be5dcadee34ebd47615.svg&quot;,&quot;isPro&quot;:false,&quot;fullname&quot;:&quot;kat33&quot;,&quot;user&quot;:&quot;kat33&quot;,&quot;orgs&quot;:[],&quot;signup&quot;:{},&quot;isHf&quot;:false,&quot;canPay&quot;:false,&quot;spacesAvailableFlavors&quot;:[&quot;cpu-basic&quot;,&quot;cpu-upgrade&quot;,&quot;t4-small&quot;,&quot;t4-medium&quot;,&quot;a10g-small&quot;,&quot;a10g-large&quot;,&quot;a100-large&quot;]},&quot;unreadNotifications&quot;:0}" data-target="SpaceHeader"><header class="from-gray-50-to-white relative border-b border-gray-100 bg-gradient-to-t via-white pt-0.5 dark:via-gray-950"><div class="relative mx-4 mb-2 flex flex-col justify-between max-sm:mt-2 sm:mb-0 xl:flex-row"><div class="flex items-center justify-between xl:min-w-0"><h1 class="my-2 flex w-full min-w-0 flex-wrap items-center gap-y-2 text-lg leading-tight xl:flex-nowrap"><span class="flex flex-shrink-0 flex-nowrap items-center"><a href="/spaces" class="peer order-last font-bold hover:bg-gradient-to-r hover:from-blue-600 hover:via-purple-600 hover:to-pink-600 hover:bg-clip-text hover:text-transparent">Spaces</a>
48
+ <svg class="hidden peer-hover:block mr-1.5 w-5 animate__animated animate__fadeInUp animate__fast" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M7.80914 18.7462V24.1907H13.2536V18.7462H7.80914Z" fill="#FF3270"></path><path d="M18.7458 18.7462V24.1907H24.1903V18.7462H18.7458Z" fill="#861FFF"></path><path d="M7.80914 7.80982V13.2543H13.2536V7.80982H7.80914Z" fill="#097EFF"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4 6.41775C4 5.08246 5.08246 4 6.41775 4H14.6457C15.7626 4 16.7026 4.75724 16.9802 5.78629C18.1505 4.67902 19.7302 4 21.4685 4C25.0758 4 28.0003 6.92436 28.0003 10.5317C28.0003 12.27 27.3212 13.8497 26.2139 15.02C27.243 15.2977 28.0003 16.2376 28.0003 17.3545V25.5824C28.0003 26.9177 26.9177 28.0003 25.5824 28.0003H17.0635H14.9367H6.41775C5.08246 28.0003 4 26.9177 4 25.5824V15.1587V14.9367V6.41775ZM7.80952 7.80952V13.254H13.254V7.80952H7.80952ZM7.80952 24.1907V18.7462H13.254V24.1907H7.80952ZM18.7462 24.1907V18.7462H24.1907V24.1907H18.7462ZM18.7462 10.5317C18.7462 9.0283 19.9651 7.80952 21.4685 7.80952C22.9719 7.80952 24.1907 9.0283 24.1907 10.5317C24.1907 12.0352 22.9719 13.254 21.4685 13.254C19.9651 13.254 18.7462 12.0352 18.7462 10.5317Z" fill="black"></path><path d="M21.4681 7.80982C19.9647 7.80982 18.7458 9.02861 18.7458 10.5321C18.7458 12.0355 19.9647 13.2543 21.4681 13.2543C22.9715 13.2543 24.1903 12.0355 24.1903 10.5321C24.1903 9.02861 22.9715 7.80982 21.4681 7.80982Z" fill="#FFD702"></path></svg>
49
+ <a href="/" class="mr-1.5 w-5 peer-hover:hidden"><img alt="Hugging Face's logo" src="/front/assets/huggingface_logo-noborder.svg" class="w-5"></a></span>
50
+ <hr class="mx-2 h-2 translate-y-px rounded-sm border-r dark:border-gray-600 xl:mx-2.5">
51
+
52
+ <div class="group flex flex-none items-center"><div class="relative mr-1.5 flex items-center">
53
+
54
+ <img alt="" class="w-3.5 h-3.5 rounded-full " src="/avatars/535bf68e9aae6be5dcadee34ebd47615.svg"></div>
55
+ <a href="/kat33" class="text-gray-400 hover:text-blue-600">kat33</a>
56
+ <div class="mx-0.5 text-gray-300">/</div></div>
57
+
58
+ <div class="max-w-full xl:flex xl:min-w-0 xl:flex-nowrap xl:items-center xl:gap-x-1"><a class="break-words font-mono font-semibold hover:text-blue-600 text-[1.07rem] xl:truncate" href="/spaces/kat33/llama.cpp">llama.cpp</a>
59
+ <button class="relative text-xs mr-3 inline-flex cursor-pointer items-center text-sm focus:outline-none mx-0.5 text-gray-600 " title="Copy space name to clipboard" 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>
60
+
61
+ </button></div>
62
+
63
+ <div class="inline-flex items-center overflow-hidden whitespace-nowrap rounded-md border bg-white text-sm leading-none text-gray-500 mr-2 flex-shrink-0"><button class="relative flex items-center px-1.5 py-1 hover:bg-gradient-to-t focus:outline-none overflow-hidden from-red-50 to-transparent dark:from-red-900 dark:to-red-800" title="Like"><svg class="left-1.5 absolute" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg>
64
+
65
+
66
+ <span class="ml-4 pl-0.5">like</span></button>
67
+ <button class="flex items-center border-l px-1.5 py-1 text-gray-400 hover:bg-gray-50 focus:bg-gray-100 focus:outline-none dark:hover:bg-gray-900 dark:focus:bg-gray-800" title="See users who liked this repository">0</button></div>
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+ <div class="inline-flex select-none items-center overflow-hidden font-mono text-xs flex-shrink-0 mr-2 rounded-lg border px-2 py-[0.32rem] leading-none dark:bg-gray-900
76
+ bg-yellow-50
77
+ border-yellow-100
78
+ text-yellow-700 dark:text-yellow-500">
79
+ No application file
80
+ </div>
81
+
82
+ <button class="mr-2 inline-flex items-center overflow-hidden whitespace-nowrap rounded-md border bg-white px-1.5 py-1 text-sm leading-none text-gray-500 hover:bg-gray-50 focus:bg-gray-100 focus:outline-none dark:hover:bg-gray-900 dark:focus:bg-gray-800"><svg class="2xl:mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path fill="currentColor" d="M4 6h18v2H4zm0 6h18v2H4zm0 6h12v2H4zm17 0l7 5l-7 5V18z"></path></svg><span class="hidden 2xl:block">Logs</span></button>
83
+
84
+
85
+
86
+ <div class="xl:hidden">
87
+
88
+
89
+
90
+ <div class="relative ">
91
+ <button class="btn px-1 py-1 text-sm translate-y-0 " type="button">
92
+
93
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="p-px" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><circle cx="16" cy="7" r="3" fill="currentColor"></circle><circle cx="16" cy="16" r="3" fill="currentColor"></circle><circle cx="16" cy="25" r="3" fill="currentColor"></circle></svg>
94
+
95
+
96
+ </button>
97
+
98
+
99
+
100
+ </div>
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ </div></h1>
111
+
112
+ <div class="flex flex-none items-center justify-center p-0.5 place-self-start p-0 my-2 xl:hidden"><button class="relative z-30 flex h-6 w-8 items-center justify-center" type="button"><svg width="1em" height="1em" viewBox="0 0 10 10" class="text-xl" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" preserveAspectRatio="xMidYMid meet" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.65039 2.9999C1.65039 2.8066 1.80709 2.6499 2.00039 2.6499H8.00039C8.19369 2.6499 8.35039 2.8066 8.35039 2.9999C8.35039 3.1932 8.19369 3.3499 8.00039 3.3499H2.00039C1.80709 3.3499 1.65039 3.1932 1.65039 2.9999ZM1.65039 4.9999C1.65039 4.8066 1.80709 4.6499 2.00039 4.6499H8.00039C8.19369 4.6499 8.35039 4.8066 8.35039 4.9999C8.35039 5.1932 8.19369 5.3499 8.00039 5.3499H2.00039C1.80709 5.3499 1.65039 5.1932 1.65039 4.9999ZM2.00039 6.6499C1.80709 6.6499 1.65039 6.8066 1.65039 6.9999C1.65039 7.1932 1.80709 7.3499 2.00039 7.3499H8.00039C8.19369 7.3499 8.35039 7.1932 8.35039 6.9999C8.35039 6.8066 8.19369 6.6499 8.00039 6.6499H2.00039Z"></path></svg>
113
+ </button>
114
+
115
+ </div></div>
116
+
117
+ <div class="hidden flex-row items-center justify-between gap-x-2 xl:flex xl:flex-none"><div class="-mb-px flex h-12 items-center overflow-x-auto overflow-y-hidden "><a class="tab-alternate active" href="/spaces/kat33/llama.cpp"><svg class="mr-1.5 text-gray-400 flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg>
118
+ App
119
+
120
+
121
+ </a><a class="tab-alternate " href="/spaces/kat33/llama.cpp/tree/main"><svg class="mr-1.5 text-gray-400 flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-tertiary" d="M21 19h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-8h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0 4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M9 19a1 1 0 0 1-1-1V6a1 1 0 0 1 2 0v12a1 1 0 0 1-1 1zm-6-4.333a1 1 0 0 1-.64-1.769L3.438 12l-1.078-.898a1 1 0 0 1 1.28-1.538l2 1.667a1 1 0 0 1 0 1.538l-2 1.667a.999.999 0 0 1-.64.231z" fill="currentColor"></path></svg>
122
+ <span class="xl:hidden">Files</span>
123
+ <span class="hidden xl:inline">Files</span>
124
+
125
+
126
+ </a><a class="tab-alternate " href="/spaces/kat33/llama.cpp/discussions"><svg class="mr-1.5 text-gray-400 flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M20.6081 3C21.7684 3 22.8053 3.49196 23.5284 4.38415C23.9756 4.93678 24.4428 5.82749 24.4808 7.16133C24.9674 7.01707 25.4353 6.93643 25.8725 6.93643C26.9833 6.93643 27.9865 7.37587 28.696 8.17411C29.6075 9.19872 30.0124 10.4579 29.8361 11.7177C29.7523 12.3177 29.5581 12.8555 29.2678 13.3534C29.8798 13.8646 30.3306 14.5763 30.5485 15.4322C30.719 16.1032 30.8939 17.5006 29.9808 18.9403C30.0389 19.0342 30.0934 19.1319 30.1442 19.2318C30.6932 20.3074 30.7283 21.5229 30.2439 22.6548C29.5093 24.3704 27.6841 25.7219 24.1397 27.1727C21.9347 28.0753 19.9174 28.6523 19.8994 28.6575C16.9842 29.4379 14.3477 29.8345 12.0653 29.8345C7.87017 29.8345 4.8668 28.508 3.13831 25.8921C0.356375 21.6797 0.754104 17.8269 4.35369 14.1131C6.34591 12.058 7.67023 9.02782 7.94613 8.36275C8.50224 6.39343 9.97271 4.20438 12.4172 4.20438H12.4179C12.6236 4.20438 12.8314 4.2214 13.0364 4.25468C14.107 4.42854 15.0428 5.06476 15.7115 6.02205C16.4331 5.09583 17.134 4.359 17.7682 3.94323C18.7242 3.31737 19.6794 3 20.6081 3ZM20.6081 5.95917C20.2427 5.95917 19.7963 6.1197 19.3039 6.44225C17.7754 7.44319 14.8258 12.6772 13.7458 14.7131C13.3839 15.3952 12.7655 15.6837 12.2086 15.6837C11.1036 15.6837 10.2408 14.5497 12.1076 13.1085C14.9146 10.9402 13.9299 7.39584 12.5898 7.1776C12.5311 7.16799 12.4731 7.16355 12.4172 7.16355C11.1989 7.16355 10.6615 9.33114 10.6615 9.33114C10.6615 9.33114 9.0863 13.4148 6.38031 16.206C3.67434 18.998 3.5346 21.2388 5.50675 24.2246C6.85185 26.2606 9.42666 26.8753 12.0653 26.8753C14.8021 26.8753 17.6077 26.2139 19.1799 25.793C19.2574 25.7723 28.8193 22.984 27.6081 20.6107C27.4046 20.212 27.0693 20.0522 26.6471 20.0522C24.9416 20.0522 21.8393 22.6726 20.5057 22.6726C20.2076 22.6726 19.9976 22.5416 19.9116 22.222C19.3433 20.1173 28.552 19.2325 27.7758 16.1839C27.639 15.6445 27.2677 15.4256 26.746 15.4263C24.4923 15.4263 19.4358 19.5181 18.3759 19.5181C18.2949 19.5181 18.2368 19.4937 18.2053 19.4419C17.6743 18.557 17.9653 17.9394 21.7082 15.6009C25.4511 13.2617 28.0783 11.8545 26.5841 10.1752C26.4121 9.98141 26.1684 9.8956 25.8725 9.8956C23.6001 9.89634 18.2311 14.9403 18.2311 14.9403C18.2311 14.9403 16.7821 16.496 15.9057 16.496C15.7043 16.496 15.533 16.4139 15.4169 16.2112C14.7956 15.1296 21.1879 10.1286 21.5484 8.06535C21.7928 6.66715 21.3771 5.95917 20.6081 5.95917Z" fill="#FF9D00"></path><path d="M5.50686 24.2246C3.53472 21.2387 3.67446 18.9979 6.38043 16.206C9.08641 13.4147 10.6615 9.33111 10.6615 9.33111C10.6615 9.33111 11.2499 6.95933 12.59 7.17757C13.93 7.39581 14.9139 10.9401 12.1069 13.1084C9.29997 15.276 12.6659 16.7489 13.7459 14.713C14.8258 12.6772 17.7747 7.44316 19.304 6.44221C20.8326 5.44128 21.9089 6.00204 21.5484 8.06532C21.188 10.1286 14.795 15.1295 15.4171 16.2118C16.0391 17.2934 18.2312 14.9402 18.2312 14.9402C18.2312 14.9402 25.0907 8.49588 26.5842 10.1752C28.0776 11.8545 25.4512 13.2616 21.7082 15.6008C17.9646 17.9393 17.6744 18.557 18.2054 19.4418C18.7372 20.3266 26.9998 13.1351 27.7759 16.1838C28.5513 19.2324 19.3434 20.1173 19.9117 22.2219C20.48 24.3274 26.3979 18.2382 27.6082 20.6107C28.8193 22.9839 19.2574 25.7722 19.18 25.7929C16.0914 26.62 8.24723 28.3726 5.50686 24.2246Z" fill="#FFD21E"></path></svg>
127
+ Community
128
+
129
+
130
+ </a><a class="tab-alternate " href="/spaces/kat33/llama.cpp/settings"><svg class="opacity-50 dark:opacity-70 mr-1.5 text-gray-400 flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25" fill="currentColor"><path d="M13.0101 3C13.7157 3.0078 14.4184 3.09062 15.1077 3.24652C15.2543 3.2797 15.3871 3.35848 15.4874 3.47186C15.5877 3.58523 15.6506 3.72754 15.6672 3.8789L15.8306 5.36678C15.8537 5.57655 15.925 5.77791 16.0389 5.95464C16.1527 6.13137 16.3059 6.27854 16.4861 6.38432C16.6663 6.4901 16.8685 6.55153 17.0764 6.56367C17.2843 6.57581 17.4921 6.53831 17.6831 6.4542L19.0299 5.85495C19.1667 5.79391 19.3187 5.77743 19.4651 5.8078C19.6115 5.83818 19.745 5.9139 19.847 6.02449C20.8199 7.07789 21.5443 8.3412 21.9658 9.71937C22.01 9.8642 22.0087 10.0194 21.962 10.1634C21.9153 10.3074 21.8256 10.4332 21.7053 10.5232L20.5113 11.4158C20.3434 11.5408 20.2069 11.7041 20.1128 11.8925C20.0187 12.0809 19.9697 12.2891 19.9697 12.5003C19.9697 12.7114 20.0187 12.9196 20.1128 13.108C20.2069 13.2964 20.3434 13.4597 20.5113 13.5848L21.7062 14.4763C21.8269 14.5663 21.917 14.6922 21.9638 14.8364C22.0107 14.9806 22.0121 15.1361 21.9677 15.2812C21.546 16.6593 20.8216 17.9225 19.849 18.976C19.7471 19.0864 19.6141 19.162 19.4681 19.1926C19.3221 19.2231 19.1704 19.207 19.0338 19.1466L17.6812 18.5454C17.4904 18.4606 17.2827 18.4225 17.0748 18.4343C16.8668 18.446 16.6645 18.5072 16.4842 18.6129C16.3039 18.7185 16.1508 18.8658 16.037 19.0426C15.9233 19.2195 15.8523 19.421 15.8297 19.6308L15.6672 21.1177C15.6508 21.2674 15.5892 21.4084 15.4908 21.5212C15.3923 21.6341 15.2619 21.7133 15.1173 21.7482C13.7249 22.0839 12.2742 22.0839 10.8817 21.7482C10.7371 21.7133 10.6067 21.6341 10.5083 21.5212C10.4098 21.4084 10.3482 21.2674 10.3318 21.1177L10.1703 19.6328C10.1468 19.4235 10.0751 19.2227 9.96107 19.0465C9.84703 18.8704 9.69381 18.7238 9.51373 18.6186C9.33364 18.5134 9.13172 18.4525 8.92419 18.4408C8.71666 18.4291 8.50931 18.4669 8.31882 18.5512L6.9672 19.1514C6.83048 19.2121 6.67854 19.2283 6.53235 19.1978C6.38616 19.1672 6.25292 19.0915 6.15103 18.9809C5.17789 17.9263 4.45346 16.6616 4.03227 15.2821C3.98795 15.1371 3.98931 14.9816 4.03617 14.8374C4.08304 14.6931 4.17306 14.5673 4.29375 14.4773L5.48868 13.5848C5.65676 13.4599 5.79345 13.2966 5.88768 13.1082C5.9819 12.9198 6.031 12.7115 6.031 12.5003C6.031 12.289 5.9819 12.0808 5.88768 11.8923C5.79345 11.7039 5.65676 11.5407 5.48868 11.4158L4.29375 10.5252C4.17324 10.4351 4.0834 10.3092 4.03671 10.1649C3.99003 10.0207 3.98881 9.8653 4.03323 9.72034C4.45479 8.34219 5.17922 7.07889 6.15199 6.02547C6.25407 5.91487 6.38753 5.83915 6.53391 5.80878C6.6803 5.77841 6.83238 5.79488 6.96912 5.85593L8.31498 6.45517C8.5063 6.53923 8.71441 6.57664 8.92258 6.56439C9.13075 6.55214 9.33319 6.49057 9.51363 6.38462C9.69406 6.27868 9.84747 6.13132 9.96152 5.95438C10.0756 5.77744 10.1471 5.57585 10.1703 5.36581L10.3338 3.8789C10.3503 3.72724 10.4132 3.58462 10.5137 3.47103C10.6142 3.35745 10.7473 3.2786 10.8942 3.24555C11.5835 3.09062 12.2881 3.00877 13.0101 3ZM12.9986 9.57711C12.2337 9.57711 11.5001 9.88508 10.9593 10.4333C10.4184 10.9815 10.1146 11.725 10.1146 12.5003C10.1146 13.2755 10.4184 14.0191 10.9593 14.5672C11.5001 15.1154 12.2337 15.4234 12.9986 15.4234C13.7634 15.4234 14.497 15.1154 15.0378 14.5672C15.5787 14.0191 15.8825 13.2755 15.8825 12.5003C15.8825 11.725 15.5787 10.9815 15.0378 10.4333C14.497 9.88508 13.7634 9.57711 12.9986 9.57711Z"></path></svg>
131
+ Settings
132
+
133
+
134
+ </a>
135
+ </div>
136
+
137
+
138
+
139
+ <div class="mt-0">
140
+
141
+
142
+
143
+ <div class="relative ">
144
+ <button class="btn px-1 py-1 text-base translate-y-px " type="button">
145
+
146
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="p-0.5" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><circle cx="16" cy="7" r="3" fill="currentColor"></circle><circle cx="16" cy="16" r="3" fill="currentColor"></circle><circle cx="16" cy="25" r="3" fill="currentColor"></circle></svg>
147
+
148
+
149
+ </button>
150
+
151
+
152
+
153
+ </div>
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ </div>
164
+ <hr class="ml-2 h-2 translate-y-px rounded-sm border-r dark:border-gray-600">
165
+ <form action="/logout" method="POST" class="hidden"><input type="hidden" name="csrf" value="eyJkYXRhIjp7ImV4cGlyYXRpb24iOjE2OTA0MDQ1MjA3NjUsInVzZXJJZCI6IjY0YjYyMjExZDJhNjFkMGI2YWUxN2MxMCJ9LCJzaWduYXR1cmUiOiJjMjY2ODAyOWUzMTRhZmM4NjRhZGEyODkyNzI0Njc3ODc3YzUzMDU5ZDU0OGM1ZjM1ZmVjZWEyZTA5MGI5YzI1In0="></form>
166
+ <div class="relative ml-2 w-[1.38rem] h-[1.38rem] mr-2">
167
+ <button class="ml-auto rounded-full ring-2 group ring-indigo-400 focus:ring-blue-500 hover:ring-offset-1 focus:ring-offset-1 focus:outline-none outline-none dark:ring-offset-gray-950 " type="button">
168
+
169
+ <div class="relative"><img alt="" class="h-[1.38rem] w-[1.38rem] overflow-hidden rounded-full" src="/avatars/535bf68e9aae6be5dcadee34ebd47615.svg">
170
+ </div>
171
+
172
+ </button>
173
+
174
+
175
+
176
+ </div></div></div></header></div>
177
+
178
+ <div class="SVELTE_HYDRATER contents" data-props="{}" data-target="GoogleAnalyticsTracker"></div>
179
+
180
+
181
+ <div class="bg-gradient-to-b py-3 text-sm md:text-base from-yellow-50 to-yellow-100 text-gray-600 dark:from-yellow-500 dark:to-yellow-600 dark:text-gray-950"><div class="container "><form class="flex flex-col justify-between md:flex-row md:items-center" action="/organizations/suggestions/dismiss" method="POST"><input type="hidden" name="csrf" value="eyJkYXRhIjp7ImV4cGlyYXRpb24iOjE2OTA0MDQ1MjA3NjUsInVzZXJJZCI6IjY0YjYyMjExZDJhNjFkMGI2YWUxN2MxMCJ9LCJzaWduYXR1cmUiOiJjMjY2ODAyOWUzMTRhZmM4NjRhZGEyODkyNzI0Njc3ODc3YzUzMDU5ZDU0OGM1ZjM1ZmVjZWEyZTA5MGI5YzI1In0=">
182
+ <div class="mb-2 md:mb-0">Hugging Face is way more fun with friends and colleagues! πŸ€—
183
+ <a class="ml-2 underline" href="/organizations/suggestions">Join an organization </a></div>
184
+ <button class="btn text-sm" type="submit">Dismiss this message</button></form></div></div>
185
+
186
+ <div class="SVELTE_HYDRATER contents" data-props="{&quot;organizations&quot;:[]}" data-target="SSOBanner"></div>
187
+
188
+ <main class="flex flex-1 flex-col"><div><div class="container relative flex w-full flex-col pt-10"><div><div class="mb-8 rounded-lg border border-blue-50 bg-gradient-to-br from-blue-50 to-white py-2 px-3 dark:from-gray-850 dark:to-gray-925"><h1 class="text-lg font-semibold text-blue-500"><span class="mr-1.5">πŸš€</span>
189
+ Get started with your gradio Space!
190
+ </h1>
191
+ <p class="leading-snug text-gray-600">Your new space has been created, follow these steps to get started (or read our full
192
+ <a class="font-semibold underline" href="/docs/hub/spaces" target="_blank">documentation </a>)
193
+ </p></div>
194
+
195
+ <p class="mb-4 font-semibold">Start by cloning this repo by using:</p>
196
+ <div class="from-gray-50-to-white relative mb-8 rounded-lg border border-gray-100 bg-gradient-to-b p-4"><pre class="leading-1 whitespace-pre-line break-words text-xs text-gray-800 md:text-sm" translate="no"> <span class="mr-1 select-none text-gray-300 dark:text-gray-600">$</span>git clone https://huggingface.co/spaces/kat33/llama.cpp
197
+ </pre></div>
198
+ <p class="mb-4 font-semibold">Create your <span class="capitalize">gradio</span>
199
+ app.py file:
200
+ </p>
201
+ <div class="from-gray-50-to-white relative mb-8 rounded-lg border border-gray-100 bg-gradient-to-b p-4"><pre class="leading-1 break-words text-xs text-gray-800 md:text-sm" translate="no"><code><!-- HTML_TAG_START --><span class="hljs-keyword">import</span> gradio <span class="hljs-keyword">as</span> gr
202
+
203
+ <span class="hljs-keyword">def</span> <span class="hljs-title function_">greet</span>(<span class="hljs-params">name</span>):
204
+ <span class="hljs-keyword">return</span> <span class="hljs-string">&quot;Hello &quot;</span> + name + <span class="hljs-string">&quot;!!&quot;</span>
205
+
206
+ iface = gr.Interface(fn=greet, inputs=<span class="hljs-string">&quot;text&quot;</span>, outputs=<span class="hljs-string">&quot;text&quot;</span>)
207
+ iface.launch()<!-- HTML_TAG_END --></code></pre></div>
208
+ <p class="mb-4 font-semibold">Then commit and push:</p>
209
+ <div class="from-gray-50-to-white relative mb-8 rounded-lg border border-gray-100 bg-gradient-to-b p-4"><pre class="leading-1 whitespace-pre-line break-words text-xs text-gray-800 md:text-sm" translate="no"> <span class="mr-1 select-none text-gray-300 dark:text-gray-600">$</span>git add app.py
210
+ <span class="mr-1 select-none text-gray-300 dark:text-gray-600">$</span>git commit -m &quot;Add application file&quot;
211
+ <span class="mr-1 select-none text-gray-300 dark:text-gray-600">$</span>git push
212
+ </pre></div>
213
+ <p class="mb-8">(Hint:
214
+ <a href="/spaces/kat33/llama.cpp/new/main?filename=app.py" class="font-semibold underline">Create </a>
215
+ the app.py file right in your browser alternatively)
216
+ </p>
217
+ <p class="mb-8">πŸ€— Your app should be running on this page after a few moments !</p>
218
+ <div class="rounded-lg border border-gray-100 p-4">
219
+ <p class="mb-4 font-semibold">Dependencies</p>
220
+ <p>You can add a
221
+ <span class="p-1 font-mono text-sm text-blue-600">requirements.txt </span>
222
+ file at the root of the repository to specify Python dependencies
223
+ </p>
224
+ <p>If needed, you can also add a
225
+ <span class="p-1 font-mono text-sm text-blue-600">packages.txt </span>
226
+ file at the root of the repository to specify
227
+ <a href="/docs/hub/spaces-dependencies" class="font-semibold underline">Debian dependencies. </a></p>
228
+ <p class="mt-4 mb-4">The <span class="p-1 font-mono text-sm text-blue-600">gradio</span>
229
+ package is pre-installed and its version is set in the
230
+ <span class="p-1 font-mono text-sm text-blue-600">sdk_version </span>
231
+ field in the
232
+ <span class="p-1 font-mono text-sm text-blue-600">README.md </span> file.
233
+ </p>
234
+ <p class="mt-4 mb-4 font-semibold">Documentation</p>
235
+ <p>Check out the full documentation of gradio Spaces
236
+ <a href="https://gradio.app/docs" class="font-semibold underline">here </a></p></div></div></div></div>
237
+ <div class="h-12 md:h-24"></div></main>
238
+ </div>
239
+
240
+ <script>
241
+ import("/front/build/kube-2411701/index.js");
242
+ window.moonSha = "kube-2411701/";
243
+ window.hubConfig = JSON.parse(`{"features":{"signupDisabled":false,"awsMarketplace":false},"sshGitUrl":"git@hf.co","moonHttpUrl":"https://huggingface.co","captchaApiKey":"bd5f2066-93dc-4bdd-a64b-a24646ca3859","stripePublicKey":"pk_live_x2tdjFXBCvXo2FFmMybezpeM00J6gPCAAc","environment":"production","userAgent":"HuggingFace (production)"}`);
244
+ </script>
245
+
246
+ <!-- Stripe -->
247
+ <script>
248
+ if (["hf.co", "huggingface.co"].includes(window.location.hostname)) {
249
+ const script = document.createElement("script");
250
+ script.src = "https://js.stripe.com/v3/";
251
+ script.async = true;
252
+ document.head.appendChild(script);
253
+ }
254
+ </script>
255
+
256
+ <!-- Google analytics v4 -->
257
+ <script>
258
+ if (["hf.co", "huggingface.co"].includes(window.location.hostname)) {
259
+ const script = document.createElement("script");
260
+ script.src = "https://www.googletagmanager.com/gtag/js?id=G-8Q63TH4CSL";
261
+ script.async = true;
262
+ document.head.appendChild(script);
263
+
264
+ window.dataLayer = window.dataLayer || [];
265
+ function gtag() {
266
+ if (window.dataLayer !== undefined) {
267
+ window.dataLayer.push(arguments);
268
+ }
269
+ }
270
+ gtag("js", new Date());
271
+ gtag("config", "G-8Q63TH4CSL", { page_path: "/spaces/kat33/llama.cpp" });
272
+ /// ^ See https://developers.google.com/analytics/devguides/collection/gtagjs/pages
273
+ gtag("consent", "default", { ad_storage: "denied", analytics_storage: "denied" });
274
+ /// ^ See https://developers.google.com/tag-platform/gtagjs/reference#consent
275
+ /// TODO: ask the user for their consent and update this with gtag('consent', 'update')
276
+ }
277
+ </script>
278
+
279
+ <!-- Google Analytics v3 (deprecated) -->
280
+ <script>
281
+ if (["hf.co", "huggingface.co"].includes(window.location.hostname)) {
282
+ (function (i, s, o, g, r, a, m) {
283
+ i["GoogleAnalyticsObject"] = r;
284
+ (i[r] =
285
+ i[r] ||
286
+ function () {
287
+ (i[r].q = i[r].q || []).push(arguments);
288
+ }),
289
+ (i[r].l = 1 * new Date());
290
+ (a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
291
+ a.async = 1;
292
+ a.src = g;
293
+ m.parentNode.insertBefore(a, m);
294
+ })(window, document, "script", "https://www.google-analytics.com/analytics.js", "ganalytics");
295
+ ganalytics("create", "UA-83738774-2", "auto");
296
+ ganalytics("send", "pageview", "/spaces/kat33/llama.cpp");
297
+ }
298
+ </script>
299
+ </body>
300
+ </html>