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
| /** | |
| * Settings key constants for ChatSettings configuration. | |
| * | |
| * These keys correspond to properties in SettingsConfigType and are used | |
| * in settings field configurations to ensure consistency. | |
| */ | |
| export const SETTINGS_KEYS = { | |
| // General | |
| THEME: 'theme', | |
| API_KEY: 'apiKey', | |
| SYSTEM_MESSAGE: 'systemMessage', | |
| PASTE_LONG_TEXT_TO_FILE_LEN: 'pasteLongTextToFileLen', | |
| COPY_TEXT_ATTACHMENTS_AS_PLAIN_TEXT: 'copyTextAttachmentsAsPlainText', | |
| SEND_ON_ENTER: 'sendOnEnter', | |
| ENABLE_CONTINUE_GENERATION: 'enableContinueGeneration', | |
| PDF_AS_IMAGE: 'pdfAsImage', | |
| ASK_FOR_TITLE_CONFIRMATION: 'askForTitleConfirmation', | |
| TITLE_GENERATION_USE_FIRST_LINE: 'titleGenerationUseFirstLine', | |
| TITLE_GENERATION_USE_LLM: 'titleGenerationUseLLM', | |
| TITLE_GENERATION_PROMPT: 'titleGenerationPrompt', | |
| MAX_IMAGE_RESOLUTION: 'maxImageMPixels', | |
| // Display | |
| SHOW_MESSAGE_STATS: 'showMessageStats', | |
| SHOW_THOUGHT_IN_PROGRESS: 'showThoughtInProgress', | |
| KEEP_STATS_VISIBLE: 'keepStatsVisible', | |
| AUTO_MIC_ON_EMPTY: 'autoMicOnEmpty', | |
| RENDER_USER_CONTENT_AS_MARKDOWN: 'renderUserContentAsMarkdown', | |
| DISABLE_AUTO_SCROLL: 'disableAutoScroll', | |
| ALWAYS_SHOW_SIDEBAR_ON_DESKTOP: 'alwaysShowSidebarOnDesktop', | |
| FULL_HEIGHT_CODE_BLOCKS: 'fullHeightCodeBlocks', | |
| SHOW_RAW_MODEL_NAMES: 'showRawModelNames', | |
| SHOW_MODEL_QUANTIZATION: 'showModelQuantization', | |
| SHOW_MODEL_TAGS: 'showModelTags', | |
| SHOW_BUILD_VERSION: 'showBuildVersion', | |
| SHOW_SYSTEM_MESSAGE: 'showSystemMessage', | |
| RENDER_THINKING_AS_MARKDOWN: 'renderThinkingAsMarkdown', | |
| // Sampling | |
| TEMPERATURE: 'temperature', | |
| DYNATEMP_RANGE: 'dynatemp_range', | |
| DYNATEMP_EXPONENT: 'dynatemp_exponent', | |
| TOP_K: 'top_k', | |
| TOP_P: 'top_p', | |
| MIN_P: 'min_p', | |
| XTC_PROBABILITY: 'xtc_probability', | |
| XTC_THRESHOLD: 'xtc_threshold', | |
| TYP_P: 'typ_p', | |
| MAX_TOKENS: 'max_tokens', | |
| SAMPLERS: 'samplers', | |
| BACKEND_SAMPLING: 'backend_sampling', | |
| // Penalties | |
| REPEAT_LAST_N: 'repeat_last_n', | |
| REPEAT_PENALTY: 'repeat_penalty', | |
| PRESENCE_PENALTY: 'presence_penalty', | |
| FREQUENCY_PENALTY: 'frequency_penalty', | |
| DRY_MULTIPLIER: 'dry_multiplier', | |
| DRY_BASE: 'dry_base', | |
| DRY_ALLOWED_LENGTH: 'dry_allowed_length', | |
| DRY_PENALTY_LAST_N: 'dry_penalty_last_n', | |
| // MCP | |
| MCP_SERVERS: 'mcpServers', | |
| MCP_REQUEST_TIMEOUT_SECONDS: 'mcpRequestTimeoutSeconds', | |
| MCP_DEFAULT_SERVER_OVERRIDES: 'mcpDefaultServerOverrides', | |
| AGENTIC_MAX_TURNS: 'agenticMaxTurns', | |
| ALWAYS_SHOW_AGENTIC_TURNS: 'alwaysShowAgenticTurns', | |
| AGENTIC_MAX_TOOL_PREVIEW_LINES: 'agenticMaxToolPreviewLines', | |
| SHOW_TOOL_CALL_IN_PROGRESS: 'showToolCallInProgress', | |
| // Performance | |
| PRE_ENCODE_CONVERSATION: 'preEncodeConversation', | |
| // Developer | |
| DISABLE_REASONING_PARSING: 'disableReasoningParsing', | |
| EXCLUDE_REASONING_FROM_CONTEXT: 'excludeReasoningFromContext', | |
| ENABLE_THINKING: 'enableThinking', | |
| SHOW_RAW_OUTPUT_SWITCH: 'showRawOutputSwitch', | |
| // PY_INTERPRETER_ENABLED: 'pyInterpreterEnabled', | |
| JS_SANDBOX_ENABLED: 'jsSandboxEnabled', | |
| CUSTOM_JSON: 'customJson', | |
| CUSTOM_CSS: 'customCss' | |
| } as const; | |