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
| <script lang="ts"> | |
| import { Dialog as DialogPrimitive } from 'bits-ui'; | |
| import XIcon from '@lucide/svelte/icons/x'; | |
| interface Props { | |
| open: boolean; | |
| code: string; | |
| language: string; | |
| onOpenChange?: (open: boolean) => void; | |
| } | |
| let { open = $bindable(), code, language, onOpenChange }: Props = $props(); | |
| let iframeRef = $state<HTMLIFrameElement | null>(null); | |
| $effect(() => { | |
| if (!iframeRef) return; | |
| if (open) { | |
| iframeRef.srcdoc = code; | |
| } else { | |
| iframeRef.srcdoc = ''; | |
| } | |
| }); | |
| function handleOpenChange(nextOpen: boolean) { | |
| open = nextOpen; | |
| onOpenChange?.(nextOpen); | |
| } | |
| </script> | |
| <DialogPrimitive.Root {open} onOpenChange={handleOpenChange}> | |
| <DialogPrimitive.Portal> | |
| <DialogPrimitive.Overlay class="code-preview-overlay" /> | |
| <DialogPrimitive.Content class="code-preview-content"> | |
| <iframe | |
| bind:this={iframeRef} | |
| title="Preview {language}" | |
| sandbox="allow-scripts" | |
| class="code-preview-iframe" | |
| ></iframe> | |
| <DialogPrimitive.Close | |
| class="code-preview-close absolute top-4 right-4 border-none bg-transparent text-white opacity-70 mix-blend-difference transition-opacity hover:opacity-100 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:outline-none disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-8" | |
| aria-label="Close preview" | |
| > | |
| <XIcon /> | |
| <span class="sr-only">Close preview</span> | |
| </DialogPrimitive.Close> | |
| </DialogPrimitive.Content> | |
| </DialogPrimitive.Portal> | |
| </DialogPrimitive.Root> | |
| <style lang="postcss"> | |
| :global(.code-preview-overlay) { | |
| position: fixed; | |
| inset: 0; | |
| background-color: transparent; | |
| z-index: 100000; | |
| } | |
| :global(.code-preview-content) { | |
| position: fixed; | |
| inset: 0; | |
| top: 0 ; | |
| left: 0 ; | |
| width: 100dvw; | |
| height: 100dvh; | |
| margin: 0; | |
| padding: 0; | |
| border: none; | |
| border-radius: 0; | |
| background-color: transparent; | |
| box-shadow: none; | |
| display: block; | |
| overflow: hidden; | |
| transform: none ; | |
| z-index: 100001; | |
| } | |
| :global(.code-preview-iframe) { | |
| display: block; | |
| width: 100dvw; | |
| height: 100dvh; | |
| border: 0; | |
| } | |
| :global(.code-preview-close) { | |
| position: absolute; | |
| z-index: 100002; | |
| } | |
| </style> | |