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
| /** | |
| * Comprehensive dictionary of all supported file types in llama-ui | |
| * Organized by category with TypeScript enums for better type safety | |
| */ | |
| // File type category enum | |
| export enum FileTypeCategory { | |
| IMAGE = 'image', | |
| AUDIO = 'audio', | |
| VIDEO = 'video', | |
| PDF = 'pdf', | |
| TEXT = 'text' | |
| } | |
| /** | |
| * Special file types for internal use (not MIME types) | |
| */ | |
| export enum SpecialFileType { | |
| MCP_PROMPT = 'mcp-prompt' | |
| } | |
| // Specific file type enums for each category | |
| export enum FileTypeImage { | |
| JPEG = 'jpeg', | |
| PNG = 'png', | |
| GIF = 'gif', | |
| WEBP = 'webp', | |
| SVG = 'svg', | |
| HEIC = 'heic', | |
| HEIF = 'heif' | |
| } | |
| export enum FileTypeAudio { | |
| MP3 = 'mp3', | |
| WAV = 'wav', | |
| WEBM = 'webm' | |
| } | |
| export enum FileTypeVideo { | |
| MP4 = 'mp4', | |
| OGG = 'ogg' | |
| } | |
| export enum FileTypePdf { | |
| PDF = 'pdf' | |
| } | |
| export enum FileTypeText { | |
| PLAIN_TEXT = 'plainText', | |
| MARKDOWN = 'md', | |
| ASCIIDOC = 'asciidoc', | |
| JAVASCRIPT = 'js', | |
| TYPESCRIPT = 'ts', | |
| JSX = 'jsx', | |
| TSX = 'tsx', | |
| CSS = 'css', | |
| HTML = 'html', | |
| JSON = 'json', | |
| XML = 'xml', | |
| YAML = 'yaml', | |
| CSV = 'csv', | |
| LOG = 'log', | |
| PYTHON = 'python', | |
| JAVA = 'java', | |
| CPP = 'cpp', | |
| PHP = 'php', | |
| RUBY = 'ruby', | |
| GO = 'go', | |
| RUST = 'rust', | |
| SHELL = 'shell', | |
| SQL = 'sql', | |
| R = 'r', | |
| SCALA = 'scala', | |
| KOTLIN = 'kotlin', | |
| SWIFT = 'swift', | |
| DART = 'dart', | |
| VUE = 'vue', | |
| SVELTE = 'svelte', | |
| LATEX = 'latex', | |
| BIBTEX = 'bibtex', | |
| CUDA = 'cuda', | |
| VULKAN = 'vulkan', | |
| HASKELL = 'haskell', | |
| CSHARP = 'csharp', | |
| PROPERTIES = 'properties' | |
| } | |
| // File extension enums | |
| export enum FileExtensionImage { | |
| JPG = '.jpg', | |
| JPEG = '.jpeg', | |
| PNG = '.png', | |
| GIF = '.gif', | |
| WEBP = '.webp', | |
| SVG = '.svg', | |
| HEIC = '.heic', | |
| HEIF = '.heif' | |
| } | |
| export enum FileExtensionAudio { | |
| MP3 = '.mp3', | |
| WAV = '.wav' | |
| } | |
| export enum FileExtensionVideo { | |
| MP4 = '.mp4', | |
| OGG = '.ogg' | |
| } | |
| export enum FileExtensionPdf { | |
| PDF = '.pdf' | |
| } | |
| export enum FileExtensionText { | |
| TXT = '.txt', | |
| MD = '.md', | |
| ADOC = '.adoc', | |
| JS = '.js', | |
| TS = '.ts', | |
| JSX = '.jsx', | |
| TSX = '.tsx', | |
| CSS = '.css', | |
| HTML = '.html', | |
| HTM = '.htm', | |
| JSON = '.json', | |
| JSONL = '.jsonl', | |
| ZIP = '.zip', | |
| XML = '.xml', | |
| YAML = '.yaml', | |
| YML = '.yml', | |
| CSV = '.csv', | |
| LOG = '.log', | |
| PY = '.py', | |
| JAVA = '.java', | |
| CPP = '.cpp', | |
| C = '.c', | |
| H = '.h', | |
| PHP = '.php', | |
| RB = '.rb', | |
| GO = '.go', | |
| RS = '.rs', | |
| SH = '.sh', | |
| BAT = '.bat', | |
| SQL = '.sql', | |
| R = '.r', | |
| SCALA = '.scala', | |
| KT = '.kt', | |
| SWIFT = '.swift', | |
| DART = '.dart', | |
| VUE = '.vue', | |
| SVELTE = '.svelte', | |
| TEX = '.tex', | |
| BIB = '.bib', | |
| CU = '.cu', | |
| CUH = '.cuh', | |
| COMP = '.comp', | |
| HPP = '.hpp', | |
| HS = '.hs', | |
| PROPERTIES = '.properties', | |
| CS = '.cs' | |
| } | |
| // MIME type prefixes and includes for content detection | |
| export enum MimeTypePrefix { | |
| IMAGE = 'image/', | |
| TEXT = 'text' | |
| } | |
| export enum MimeTypeIncludes { | |
| JSON = 'json', | |
| JAVASCRIPT = 'javascript', | |
| TYPESCRIPT = 'typescript' | |
| } | |
| // URI patterns for content detection | |
| export enum UriPattern { | |
| DATABASE_KEYWORD = 'database', | |
| DATABASE_SCHEME = 'db://' | |
| } | |
| // MIME type enums | |
| export enum MimeTypeApplication { | |
| PDF = 'application/pdf', | |
| OCTET_STREAM = 'application/octet-stream', | |
| ZIP = 'application/zip' | |
| } | |
| export enum MimeTypeAudio { | |
| MP3_MPEG = 'audio/mpeg', | |
| MP3 = 'audio/mp3', | |
| MP4 = 'audio/mp4', | |
| WAV = 'audio/wav', | |
| WAVE = 'audio/wave', | |
| X_WAV = 'audio/x-wav', | |
| X_WAVE = 'audio/x-wave', | |
| VND_WAVE = 'audio/vnd.wave', | |
| X_PN_WAV = 'audio/x-pn-wav', | |
| WEBM = 'audio/webm', | |
| WEBM_OPUS = 'audio/webm;codecs=opus' | |
| } | |
| export enum MimeTypeVideo { | |
| MP4 = 'video/mp4', | |
| OGG = 'video/ogg' | |
| } | |
| export enum MimeTypeImage { | |
| JPEG = 'image/jpeg', | |
| JPG = 'image/jpg', | |
| PNG = 'image/png', | |
| GIF = 'image/gif', | |
| WEBP = 'image/webp', | |
| SVG = 'image/svg+xml', | |
| ICO = 'image/x-icon', | |
| ICO_MICROSOFT = 'image/vnd.microsoft.icon', | |
| HEIC = 'image/heic', | |
| HEIF = 'image/heif' | |
| } | |
| export enum MimeTypeText { | |
| PLAIN = 'text/plain', | |
| MARKDOWN = 'text/markdown', | |
| ASCIIDOC = 'text/asciidoc', | |
| JAVASCRIPT = 'text/javascript', | |
| JAVASCRIPT_APP = 'application/javascript', | |
| TYPESCRIPT = 'text/typescript', | |
| JSX = 'text/jsx', | |
| TSX = 'text/tsx', | |
| CSS = 'text/css', | |
| HTML = 'text/html', | |
| JSON = 'application/json', | |
| JSONL = 'application/jsonl', | |
| XML_TEXT = 'text/xml', | |
| XML_APP = 'application/xml', | |
| YAML_TEXT = 'text/yaml', | |
| YAML_APP = 'application/yaml', | |
| CSV = 'text/csv', | |
| PYTHON = 'text/x-python', | |
| JAVA = 'text/x-java-source', | |
| CPP_HDR = 'text/x-c++hdr', | |
| CPP_SRC = 'text/x-c++src', | |
| CSHARP = 'text/x-csharp', | |
| HASKELL = 'text/x-haskell', | |
| C_SRC = 'text/x-csrc', | |
| C_HDR = 'text/x-chdr', | |
| PHP = 'text/x-php', | |
| RUBY = 'text/x-ruby', | |
| GO = 'text/x-go', | |
| RUST = 'text/x-rust', | |
| SHELL = 'text/x-shellscript', | |
| BAT = 'application/x-bat', | |
| SQL = 'text/x-sql', | |
| R = 'text/x-r', | |
| SCALA = 'text/x-scala', | |
| KOTLIN = 'text/x-kotlin', | |
| SWIFT = 'text/x-swift', | |
| DART = 'text/x-dart', | |
| VUE = 'text/x-vue', | |
| SVELTE = 'text/x-svelte', | |
| TEX = 'text/x-tex', | |
| TEX_APP = 'application/x-tex', | |
| LATEX = 'application/x-latex', | |
| BIBTEX = 'text/x-bibtex', | |
| CUDA = 'text/x-cuda', | |
| PROPERTIES = 'text/properties' | |
| } | |