File size: 1,862 Bytes
d79f519
97a039a
d79f519
 
 
 
 
 
97a039a
d79f519
 
97a039a
d79f519
 
4fd2ee0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d79f519
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
title: OpenChat Bot
emoji: 🚀
colorFrom: red
colorTo: red
sdk: docker
app_port: 8501
tags:
- streamlit
pinned: false
short_description: Streamlit template space
license: apache-2.0
---

# 🤖 Chatbot IA avec OpenChat 3.5

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.

---

## 🚀 Fonctionnalités

- Basé sur le modèle LLM OpenChat 3.5 Instruct (open-source)

- Interface interactive avec Streamlit

- Historique de conversation maintenu pendant la session

- Déploiement simple sur Hugging Face Spaces

- Pas besoin de clé API ou d'accès restreint

---

---  
## ▶️ Comment l'utiliser
- Tapez une question dans le champ de discussion.

- Le modèle OpenChat génère une réponse adaptée.

- Continuez la conversation en langage naturel.  

---  

---
## 🛠️ Installation locale

```bash
git clone https://huggingface.co/spaces/ton-espace/openchat-chatbot
cd openchat-chatbot
pip install -r requirements.txt
streamlit run app.py
```

---

## ▶️ Lancer l'application

```bash
streamlit run app.py
```

---

## 📦 Dépendances

- `streamlit`
- `transformers`
- `torch` (support CPU ou GPU)

---

## 📤 Déploiement Hugging Face Spaces

1. Crée un nouveau Space
2. Choisis le runtime `Streamlit`
3. Uploade les fichiers :
   - `app.py`
   - `requirements.txt`
   - `README.md`
4. Clique sur `Rebuild` dans l’onglet “Files and versions”


## 🙋 Auteur

**Mamadou Saidou Balde**  
Data Scientist | LLM | MLOps | NLP | Hugging Face Contributor  
🔗 LinkedIn • GitHub • Hugging Face

---


If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
forums](https://discuss.streamlit.io).