Spaces:
Runtime error
Runtime error
Create .huggingface.yml
Browse files- .huggingface.yml +52 -0
.huggingface.yml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
build:
|
| 2 |
+
dockerfile: Dockerfile
|
| 3 |
+
context: "."
|
| 4 |
+
cuda: true
|
| 5 |
+
|
| 6 |
+
runtime:
|
| 7 |
+
framework: "custom"
|
| 8 |
+
ports:
|
| 9 |
+
- 5000
|
| 10 |
+
memory: 16000
|
| 11 |
+
storage: 5000
|
| 12 |
+
|
| 13 |
+
# Hardware specifications
|
| 14 |
+
accelerator: T4
|
| 15 |
+
|
| 16 |
+
environment:
|
| 17 |
+
# Environment variables for the application
|
| 18 |
+
HF_MODEL: "mistralai/Mistral-7B-Instruct-v0.2"
|
| 19 |
+
PORT: 5000
|
| 20 |
+
|
| 21 |
+
# Health check configuration
|
| 22 |
+
healthcheck:
|
| 23 |
+
path: "/api/health"
|
| 24 |
+
interval: 30
|
| 25 |
+
timeout: 5
|
| 26 |
+
retries: 3
|
| 27 |
+
|
| 28 |
+
# Allow running as root inside container
|
| 29 |
+
allow_root: true
|
| 30 |
+
|
| 31 |
+
# Repository info
|
| 32 |
+
repository: "https://huggingface.co/spaces/{username}/ashabot"
|
| 33 |
+
|
| 34 |
+
# Space metadata
|
| 35 |
+
metadata:
|
| 36 |
+
title: "Ashabot - Ethical AI Chatbot"
|
| 37 |
+
emoji: "🤖"
|
| 38 |
+
colorFrom: "#4F46E5"
|
| 39 |
+
colorTo: "#8B5CF6"
|
| 40 |
+
sdk: docker
|
| 41 |
+
app_port: 5000
|
| 42 |
+
tags:
|
| 43 |
+
- nlp
|
| 44 |
+
- ethics
|
| 45 |
+
- chatbot
|
| 46 |
+
- bias-detection
|
| 47 |
+
- document-processing
|
| 48 |
+
fullDescription: >
|
| 49 |
+
Ashabot is an ethical AI chatbot that responds respectfully and avoids engaging in
|
| 50 |
+
gender-biased or discriminatory content. It can process various file types including
|
| 51 |
+
PDFs, documents, and text files, providing educational and inclusive responses.
|
| 52 |
+
pinned: true
|