21 Commits
Author SHA1 Message Date
furyhawk 9d090e937d Add Docker Compose configuration for llama-cpp-server and new notebook for Gemma 4 vision model
- Updated .gitignore to include new model directories.
- Removed version specification from existing docker-compose.yml for llama-cpp-server.
- Created new docker-compose.yml for ai_stack/llamacpp.server with GPU support and environment configurations.
- Added Gemma4_(E2B)_Vision.ipynb notebook for data preparation, training, and inference of the Gemma 4 model.
2026-04-06 12:01:01 +08:00
furyhawk e8981f256e Add web search notebook for Python programming resources using DDGS 2026-04-06 10:56:50 +08:00
furyhawk a7346efb31 feat: add Docker Compose configurations for Speaches service with CPU and GPU support 2025-06-23 16:48:23 +08:00
furyhawk 4c74a3ed35 Add Whisper model integration for audio transcription
- Implemented WhisperModel from faster_whisper for transcribing audio files.
- Configured model to run on GPU with FP16 for improved performance.
- Added functionality to detect language and print transcription segments with timestamps.
2025-06-23 14:56:10 +08:00
furyhawk bb6e1e466b feat: add type annotation for node in run_as_cli function 2025-06-22 18:49:20 +08:00
furyhawk f7b4e0a664 feat: add weather tool with NWS API integration and update dependencies 2025-06-21 09:41:03 +08:00
furyhawk 5e37cee394 feat: add groq package to dependencies and update version for gguf and gradio 2025-06-20 21:13:18 +08:00
furyhawk 801552f99e Implement chat application with SQLite backend and TypeScript frontend
- Added SQLite database to store chat messages.
- Created HTML interface for the chat application using Bootstrap.
- Developed backend logic in FastAPI to handle chat requests and responses.
- Implemented TypeScript for dynamic message rendering and interaction.
- Integrated logging with Logfire for monitoring.
- Configured Ollama model for OpenAI-compatible API usage.
- Established a question graph for evaluating user responses.
2025-06-19 10:36:34 +08:00
furyhawk 91baf7c053 Add notebook for fixing vector dimension mismatch and update rag.py for Ollama integration
- Created a Jupyter notebook to address vector dimension mismatch errors in the RAG database.
- Implemented a solution to reset the database schema to match the current embedding model dimensions.
- Updated rag.py to use the Ollama model with OpenAI-compatible endpoints.
- Added functionality for building the search database and inserting document sections with correct embeddings.
- Included Pydantic models for validation of embedding dimensions.
- Enhanced error handling for asyncpg DataError exceptions during database operations.
2025-06-18 19:33:41 +08:00
furyhawk c48838ef4d feat: add mcp and sse-starlette packages to dependencies; update pydantic-ai-slim extras 2025-06-17 19:02:14 +08:00
furyhawk 940c1f8dbc fix: update execution counts and outputs in ollama notebook; add search functionality for animated films
- Reset execution counts for cells in `ollama.ipynb` to reflect the correct order.
- Adjusted output tokens in the usage statistics for accuracy.
- Added a new cell to query the top five highest-grossing animated films of 2025 using DuckDuckGo search.
- Updated `pyproject.toml` to include `duckduckgo` as a dependency for the new search functionality.
- Enhanced `uv.lock` to reflect the addition of `duckduckgo-search` and its dependencies.
2025-06-17 16:19:31 +08:00
furyhawk 6b452ba2eb Implement feature X to enhance user experience and fix bug Y in module Z 2025-06-17 14:35:39 +08:00
furyhawk 23e798bb7c Refactor model loading script and add Ollama notebook
- Updated the Modelfile path in `pull-deepseek-model.sh` to use an absolute path for model files.
- Simplified the model loading process by removing unnecessary directory changes and directly referencing the mounted Modelfile.
- Added a new Jupyter notebook `ollama.ipynb` that demonstrates the usage of the Ollama API with a sample query and error handling for unsupported tools.
2025-06-16 15:41:55 +08:00
furyhawk f8fad71b74 Add initial pyproject.toml for pydantic-ai project with dependencies 2025-06-16 13:11:17 +08:00
furyhawk 59e5f20dbb Implement feature X to enhance user experience and fix bug Y in module Z 2025-06-16 07:15:12 +08:00
furyhawk 3dbefacf1b Refactor code structure and remove redundant functions for improved readability and maintainability 2025-06-15 20:22:05 +08:00
furyhawk f07aeaf812 Remove empty notebook and add comprehensive LlamaCPP API examples with health check, server info, text completion, chat completion, streaming, and utility functions. 2025-06-15 10:43:52 +08:00
furyhawk e9dc288cef Add Ollama Docker setup and model management scripts
- Created README.md for Ollama Docker setup with instructions for running and using models.
- Added docker-compose.yml for Ollama service configuration.
- Introduced scripts for model setup, including pulling models from Hugging Face and loading them into Ollama.
- Implemented AI launcher script to choose between Ollama and LlamaCPP backends.
- Added GPU support scripts for LlamaCPP with detailed logging and error handling.
- Included simple model pull script for easier model management.
- Established a structured approach for model management and integration with Ollama API.
2025-06-14 21:31:16 +08:00
furyhawk bf91dfb2ea Refactor code structure for improved readability and maintainability 2025-06-03 15:31:35 +08:00
furyhawk 11f83042ae Add toggle_nvidia.sh script for managing NVIDIA persistence mode and performance state
This script allows users to easily enable or disable NVIDIA persistence mode and adjust the performance state of the GPU. It includes options to set the clock speeds and reload the NVIDIA Unified Memory kernel module. Usage instructions are provided for clarity.
2025-06-03 13:18:36 +08:00
furyhawk 3c75694260 Add Unsloth notebook for fast finetuning with Llama and Qwen models
- Introduced a new Jupyter notebook `unsloth_nb.ipynb` for utilizing the Unsloth library.
- Implemented code to load and patch FastLanguageModel and FastQwen2Model for improved training speed.
- Configured models to support 4-bit quantization for reduced memory usage.
- Included detailed logging for model loading and system specifications.
2025-06-02 17:26:25 +08:00