Safetensors
GGUF
Turkish
llama
Llama-3
instruct
finetune
chatml
gpt4
synthetic data
distillation
function calling
json mode
axolotl
roleplaying
chat
Instructions to use tda45/TdAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tda45/TdAI with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tda45/TdAI", filename="llama.cpp/models/ggml-vocab-aquila.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tda45/TdAI 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 tda45/TdAI # Run inference directly in the terminal: llama cli -hf tda45/TdAI
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tda45/TdAI # Run inference directly in the terminal: llama cli -hf tda45/TdAI
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tda45/TdAI # Run inference directly in the terminal: ./llama-cli -hf tda45/TdAI
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tda45/TdAI # Run inference directly in the terminal: ./build/bin/llama-cli -hf tda45/TdAI
Use Docker
docker model run hf.co/tda45/TdAI
- LM Studio
- Jan
- Ollama
How to use tda45/TdAI with Ollama:
ollama run hf.co/tda45/TdAI
- Unsloth Studio
How to use tda45/TdAI with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tda45/TdAI to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tda45/TdAI to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tda45/TdAI to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tda45/TdAI with Docker Model Runner:
docker model run hf.co/tda45/TdAI
- Lemonade
How to use tda45/TdAI with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tda45/TdAI
Run and chat with the model
lemonade run user.TdAI-{{QUANT_TAG}}List all available models
lemonade list
TdAI / llama.cpp /tools /ui /src /lib /components /app /mcp /McpServerCard /McpServerCardCompact.svelte
| <script lang="ts"> | |
| import * as Card from '$lib/components/ui/card'; | |
| import { Badge } from '$lib/components/ui/badge'; | |
| import { Skeleton } from '$lib/components/ui/skeleton'; | |
| import { Switch } from '$lib/components/ui/switch'; | |
| import * as Tooltip from '$lib/components/ui/tooltip'; | |
| import { McpServerIdentity } from '$lib/components/app/mcp'; | |
| import { mcpStore } from '$lib/stores/mcp.svelte'; | |
| import { HealthCheckStatus } from '$lib/enums'; | |
| import type { MCPServerDisplayInfo, HealthCheckState, MCPServerSettingsEntry } from '$lib/types'; | |
| import { onMount } from 'svelte'; | |
| import { MCP_CARD_VISIBLE_TOOL_LIMIT, NEWLINE } from '$lib/constants'; | |
| interface Props { | |
| server: MCPServerDisplayInfo & { description?: string }; | |
| enabled?: boolean; | |
| onToggle?: (enabled: boolean) => void; | |
| } | |
| let { server, enabled = false, onToggle }: Props = $props(); | |
| onMount(() => { | |
| const state = mcpStore.getHealthCheckState(server.id); | |
| if (state.status === HealthCheckStatus.IDLE) { | |
| mcpStore.runHealthCheck(server as MCPServerSettingsEntry).catch(() => {}); | |
| } | |
| }); | |
| let healthState = $derived<HealthCheckState>(mcpStore.getHealthCheckState(server.id)); | |
| let displayName = $derived(mcpStore.getServerLabel(server)); | |
| let faviconUrl = $derived(mcpStore.getServerFavicon(server.id)); | |
| let isIdle = $derived(healthState.status === HealthCheckStatus.IDLE); | |
| let isHealthChecking = $derived(healthState.status === HealthCheckStatus.CONNECTING); | |
| let isError = $derived(healthState.status === HealthCheckStatus.ERROR); | |
| let errorMessage = $derived( | |
| healthState.status === HealthCheckStatus.ERROR ? healthState.message : undefined | |
| ); | |
| let serverInfo = $derived( | |
| healthState.status === HealthCheckStatus.SUCCESS ? healthState.serverInfo : undefined | |
| ); | |
| let tools = $derived(healthState.status === HealthCheckStatus.SUCCESS ? healthState.tools : []); | |
| let instructions = $derived( | |
| healthState.status === HealthCheckStatus.SUCCESS ? healthState.instructions : undefined | |
| ); | |
| let showSkeleton = $derived(isIdle || isHealthChecking); | |
| // Curated descriptions get two lines; instructions fallback is one line so the | |
| // compact card stays scannable. | |
| let description = $derived.by(() => { | |
| if (server.description) { | |
| return { text: server.description, lines: 2 }; | |
| } | |
| if (!instructions) return null; | |
| const firstLine = instructions.split(NEWLINE).find((line: string) => line.trim().length > 0); | |
| const trimmed = firstLine?.trim(); | |
| return trimmed ? { text: trimmed, lines: 1 } : null; | |
| }); | |
| let visibleTools = $derived(tools.slice(0, MCP_CARD_VISIBLE_TOOL_LIMIT)); | |
| let hiddenTools = $derived(tools.slice(MCP_CARD_VISIBLE_TOOL_LIMIT)); | |
| let hiddenToolCount = $derived(hiddenTools.length); | |
| function handleToggle(checked: boolean) { | |
| onToggle?.(checked); | |
| } | |
| </script> | |
| <Card.Root class="!gap-3 bg-muted/30 p-4"> | |
| <div class="flex items-start justify-between gap-3"> | |
| <div class="min-w-0 flex-1"> | |
| {#if showSkeleton} | |
| <span class="flex min-w-0 items-center gap-1.5"> | |
| <Skeleton class="h-5 w-5 rounded" /> | |
| <Skeleton class="h-4 w-32" /> | |
| </span> | |
| {:else} | |
| <McpServerIdentity | |
| {displayName} | |
| {faviconUrl} | |
| {serverInfo} | |
| iconClass="h-5 w-5" | |
| iconRounded="rounded" | |
| nameClass="font-medium" | |
| /> | |
| {/if} | |
| </div> | |
| <Switch checked={enabled} disabled={isError || showSkeleton} onCheckedChange={handleToggle} /> | |
| </div> | |
| {#if isError && errorMessage} | |
| <p class="text-xs text-destructive">{errorMessage}</p> | |
| {/if} | |
| {#if showSkeleton} | |
| <div class="space-y-1.5"> | |
| <Skeleton class="h-3 w-full max-w-md" /> | |
| </div> | |
| <div class="flex flex-wrap items-center gap-1.5"> | |
| <Skeleton class="h-5 w-16 rounded-full" /> | |
| <Skeleton class="h-5 w-20 rounded-full" /> | |
| <Skeleton class="h-5 w-24 rounded-full" /> | |
| <Skeleton class="h-5 w-14 rounded-full" /> | |
| </div> | |
| {:else} | |
| {#if description} | |
| {#if description.lines === 2} | |
| <p class="line-clamp-2 text-xs text-muted-foreground" title={description.text}> | |
| {description.text} | |
| </p> | |
| {:else} | |
| <p class="line-clamp-1 truncate text-xs text-muted-foreground" title={description.text}> | |
| {description.text} | |
| </p> | |
| {/if} | |
| {/if} | |
| {#if tools.length > 0} | |
| <div class="flex flex-wrap items-center gap-1.5"> | |
| {#each visibleTools as tool (tool.name)} | |
| <Tooltip.Root> | |
| <Tooltip.Trigger> | |
| <Badge variant="secondary" class="h-5 max-w-40 px-2 text-[11px]"> | |
| <span class="block min-w-0 flex-1 truncate">{tool.name}</span> | |
| </Badge> | |
| </Tooltip.Trigger> | |
| <Tooltip.Content> | |
| <p class="max-w-xs text-xs"> | |
| {tool.description ?? 'No description'} | |
| </p> | |
| </Tooltip.Content> | |
| </Tooltip.Root> | |
| {/each} | |
| {#if hiddenToolCount > 0} | |
| <Tooltip.Root> | |
| <Tooltip.Trigger> | |
| <Badge variant="secondary" class="h-5 px-2 text-[11px] text-muted-foreground"> | |
| + {hiddenToolCount} more tools | |
| </Badge> | |
| </Tooltip.Trigger> | |
| <Tooltip.Content class="max-w-md"> | |
| <p class="text-xs"> | |
| {hiddenTools.map((tool) => tool.name).join(', ')} | |
| </p> | |
| </Tooltip.Content> | |
| </Tooltip.Root> | |
| {/if} | |
| </div> | |
| {/if} | |
| {/if} | |
| </Card.Root> | |