Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,9 +12,83 @@ short_description: Streamlit template space
|
|
| 12 |
license: apache-2.0
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
|
| 18 |
|
| 19 |
If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
|
| 20 |
forums](https://discuss.streamlit.io).
|
|
|
|
| 12 |
license: apache-2.0
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# 🤖 Chatbot IA avec OpenChat 3.5
|
| 16 |
+
|
| 17 |
+
Un assistant conversationnel intelligent basé sur le modèle openchat/openchat-3.5-0106, déployé avec **Streamlit**. Ce chatbot utilise les dernières avancées en génération de texte pour répondre de manière naturelle et cohérente.
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## 🚀 Fonctionnalités
|
| 22 |
+
|
| 23 |
+
- Basé sur le modèle LLM OpenChat 3.5 Instruct (open-source)
|
| 24 |
+
|
| 25 |
+
- Interface interactive avec Streamlit
|
| 26 |
+
|
| 27 |
+
- Historique de conversation maintenu pendant la session
|
| 28 |
+
|
| 29 |
+
- Déploiement simple sur Hugging Face Spaces
|
| 30 |
+
|
| 31 |
+
- Pas besoin de clé API ou d'accès restreint
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
## ▶️ Comment l'utiliser
|
| 37 |
+
- Tapez une question dans le champ de discussion.
|
| 38 |
+
|
| 39 |
+
- Le modèle OpenChat génère une réponse adaptée.
|
| 40 |
+
|
| 41 |
+
- Continuez la conversation en langage naturel.
|
| 42 |
+
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
## 🛠️ Installation locale
|
| 47 |
+
|
| 48 |
+
```bash
|
| 49 |
+
git clone https://huggingface.co/spaces/ton-espace/openchat-chatbot
|
| 50 |
+
cd openchat-chatbot
|
| 51 |
+
pip install -r requirements.txt
|
| 52 |
+
streamlit run app.py
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## ▶️ Lancer l'application
|
| 58 |
+
|
| 59 |
+
```bash
|
| 60 |
+
streamlit run app.py
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
## 📦 Dépendances
|
| 66 |
+
|
| 67 |
+
- `streamlit`
|
| 68 |
+
- `transformers`
|
| 69 |
+
- `torch` (support CPU ou GPU)
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
## 📤 Déploiement Hugging Face Spaces
|
| 74 |
+
|
| 75 |
+
1. Crée un nouveau Space
|
| 76 |
+
2. Choisis le runtime `Streamlit`
|
| 77 |
+
3. Uploade les fichiers :
|
| 78 |
+
- `app.py`
|
| 79 |
+
- `requirements.txt`
|
| 80 |
+
- `README.md`
|
| 81 |
+
4. Clique sur `Rebuild` dans l’onglet “Files and versions”
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
## 🙋 Auteur
|
| 85 |
+
|
| 86 |
+
**Mamadou Saidou Balde**
|
| 87 |
+
Data Scientist | LLM | MLOps | NLP | Hugging Face Contributor
|
| 88 |
+
🔗 LinkedIn • GitHub • Hugging Face
|
| 89 |
+
|
| 90 |
+
---
|
| 91 |
|
|
|
|
| 92 |
|
| 93 |
If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
|
| 94 |
forums](https://discuss.streamlit.io).
|