Instructions to use Felipe97/llama-cpp-compiled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Felipe97/llama-cpp-compiled with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: llama cli -hf Felipe97/llama-cpp-compiled
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: llama cli -hf Felipe97/llama-cpp-compiled
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: ./build/bin/llama cli -hf Felipe97/llama-cpp-compiled
Use Docker
docker model run hf.co/Felipe97/llama-cpp-compiled
- Llama new
- LM Studio
- Jan
- Ollama
How to use Felipe97/llama-cpp-compiled with Ollama:
ollama run hf.co/Felipe97/llama-cpp-compiled
- Unsloth Desktop
- Docker Model Runner
How to use Felipe97/llama-cpp-compiled with Docker Model Runner:
docker model run hf.co/Felipe97/llama-cpp-compiled
- Lemonade
How to use Felipe97/llama-cpp-compiled with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Felipe97/llama-cpp-compiled
Run and chat with the model
lemonade run user.llama-cpp-compiled-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
llama-cpp-compiled / tools /ui /src /lib /components /app /chat /ChatAttachments /ChatAttachmentsPreview /ChatAttachmentsPreviewThumbnailStrip.svelte
Download tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte
-
curl -L -o ChatAttachmentsPreviewThumbnailStrip.svelte https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte
2.12 kB
| <script lang="ts"> | |
| import { FileText, Music, Video } from '@lucide/svelte'; | |
| import { ScrollCarousel } from '$lib/components/app'; | |
| import { ICON_CLASS_DEFAULT, UI_DATA_ATTRS } from '$lib/constants'; | |
| import { ScrollCarouselVariant } from '$lib/enums'; | |
| interface PreviewItem { | |
| id: string; | |
| name: string; | |
| isImage: boolean; | |
| isAudio: boolean; | |
| isVideo: boolean; | |
| preview?: string; | |
| } | |
| interface Props { | |
| items: PreviewItem[]; | |
| currentIndex: number; | |
| onNavigate: (index: number) => void; | |
| } | |
| let { currentIndex, items, onNavigate }: Props = $props(); | |
| function getFileExtension(name: string): string { | |
| const parts = name.split('.'); | |
| if (parts.length > 1) { | |
| return parts.pop()?.toUpperCase() ?? ''; | |
| } | |
| return ''; | |
| } | |
| </script> | |
| { | |
| <div class="sticky bottom-0 z-10 mt-4 flex-shrink-0"> | |
| <ScrollCarousel class="max-w-full" variant={ScrollCarouselVariant.CENTER}> | |
| { | |
| <button | |
| {...{ [UI_DATA_ATTRS.THUMBNAIL_INDEX]: index }} | |
| aria-label={`Go to ${item.name}`} | |
| class={[ | |
| 'relative flex-shrink-0 cursor-pointer overflow-hidden rounded border-2 bg-black/80 backdrop-blur-sm transition-all hover:opacity-90', | |
| index === currentIndex ? 'border-white' : 'border-transparent opacity-60', | |
| '[&:not(:first-child)]:last:mr-4 [&:not(:last-child)]:first:ml-4' | |
| ]} | |
| onclick={() => onNavigate(index)} | |
| > | |
| { | |
| <img alt={item.name} class="h-12 w-12 object-cover" src={item.preview} /> | |
| {:else} | |
| <div | |
| class="bg-foreground-muted/50 flex h-12 w-12 flex-col items-center justify-center gap-0.5 py-1" | |
| > | |
| { | |
| <Music class="{ICON_CLASS_DEFAULT} text-white/70" /> | |
| {:else if item.isVideo} | |
| <Video class="{ICON_CLASS_DEFAULT} text-white/70" /> | |
| {:else} | |
| <FileText class="{ICON_CLASS_DEFAULT} text-white/70" /> | |
| {/if} | |
| <span class="font-mono text-[9px] text-white/60">{getFileExtension(item.name)}</span> | |
| </div> | |
| {/if} | |
| </button> | |
| {/each} | |
| </ScrollCarousel> | |
| </div> | |
| {/if} | |