Spaces:
Runtime error
Runtime error
Update README.md
Browse files1234567891011121314---title: AQuaBotemoji: 🚀colorFrom: indigocolorTo: pinksdk: gradiosdk_version: 5.4.0app_file: app.pypinned: falselicense: apache-2.0short_description: Assistant that helps raise awareness about water consumption---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869---title: AQuaBotemoji: 💧colorFrom: bluecolorTo: greensdk: gradiosdk_version: 5.3.0app_file: app.pypinned: falseaccelerator: gpu---# AQuaBot - AI Water Consumption Awareness ChatAQuaBot is an artificial intelligence assistant that helps raise awareness about water consumption in large language models while providing helpful responses to user queries. It uses Microsoft's Phi-1 model and tracks water consumption in real-time during conversations.## Author**Camilo Vega Barbosa**- AI Professor and Artificial Intelligence Solutions Consultant- Connect with me:- [LinkedIn](https://www.linkedin.com/in/camilo-vega-169084b1/)- [GitHub](https://github.com/CamiloVga)## Features- Real-time water consumption tracking for each interaction- Interactive chat interface using Gradio- Water usage calculations based on academic research- Educational information about AI's environmental impact## How It WorksThe application calculates water consumption based on the research paper "Making AI Less Thirsty: Uncovering and Addressing the Secret Water Footprint of AI Models" by Li, P. et al. (2023). It tracks both:- Water consumption during training per token- Water consumption during inference per tokenFor each interaction, the application calculates:1. Water consumption for input tokens2. Water consumption for output tokens3. Total accumulated water usage## Technical Details- **Model**: Meta-llama/Llama-2-7b-hf- **Framework**: Gradio- **Dependencies**: Managed through `requirements.txt`- **Device Configuration**: Automatically detects GPU availability and assigns appropriate device- **Optimization**: Configured for efficient running on Hugging Face Spaces## Citation```Li, P. et al. (2023). Making AI Less Thirsty: Uncovering and Addressing the SecretWater Footprint of AI Models. ArXiv Preprint, https://arxiv.org/abs/2304.03271```## InstallationTo run this application locally:1. Clone the repository2. Install dependencies:```bashpip install -r requirements.txt```3. Run the application:```bashpython app.py```## NoteThis application uses Phi-2 model instead of GPT-3 for availability and cost reasons. However, the water consumption calculations per token (input/output) are based on the conclusions from the cited research paper.---Created by Camilo Vega Barbosa, AI Professor and Solutions Consultant. For more AI projects and collaborations, feel free to connect on [LinkedIn](https://www.linkedin.com/in/camilo-vega-169084b1/) or visit my [GitHub](https://github.com/CamiloVga).
README.md+62-7