--- title: Chagrin emoji: 💻 colorFrom: red colorTo: purple sdk: gradio sdk_version: 5.7.1 app_file: gradio_app/app.py pinned: true license: apache-2.0 thumbnail: >- https://cdn-uploads.huggingface.co/production/uploads/64fbe312dcc5ce730e763dc6/ntzeTvjxT_s4Hojx8N3FZ.png short_description: Chagrin streamlines both defensive and offensive CySec --- **Chagrin** is a cutting-edge AI tool designed for advanced natural language processing tasks. Leveraging models fine-tuned for shell command generation, red team operations, and security-related tasks, Chagrin aims to streamline both defensive and offensive cybersecurity practices. This project integrates powerful models like **Canstralian/RedTeamAI**, **mradermacher/BashCopilot-6B**, and **bash1130/bert-base-finetuned-ynat**, along with datasets tailored for tasks in the cybersecurity space such as shell command execution, data exfiltration, and system enumeration. **Key Features**: - Real-time inference with pre-trained models. - Customizable workflows for pen-testing tasks. - Dask-powered data processing for large-scale analysis. - Integration with Hugging Face datasets like **microsoft/orca-agentinstruct-1M-v1** and **PocketDoc/Dans-Toolmaxx-ShellCommands**. **Tech Stack**: - **Gradio** for the user interface. - **Hugging Face Transformers** for model loading. - **Dask** for parallelized data loading and manipulation. - **Hugging Face Datasets** for easy access to large, open-source datasets. - **Python** for custom data processing and model fine-tuning. - Apache-2.0 licensed for open-source contribution. **Chagrin** is built to aid cybersecurity professionals and AI enthusiasts by providing them with powerful tools to automate tasks, explore new threats, and build models that can be applied directly in the field.