Asilbek14 commited on
Commit
1b907cf
Β·
verified Β·
1 Parent(s): 7e1074e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -0
README.md CHANGED
@@ -9,5 +9,44 @@ app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
 
9
  pinned: false
10
  license: apache-2.0
11
  ---
12
+ # πŸ€– Zephyr-7B Chatbot for Mobile & Web
13
+
14
+ A lightweight **chatbot UI** built with [Gradio](https://gradio.app/) that connects to **Zephyr-7B** using the [Hugging Face Inference API](https://huggingface.co/docs/huggingface_hub/guides/inference).
15
+ Optimized for **mobile & desktop**, with adjustable parameters for creative or factual responses.
16
+
17
+ ---
18
+
19
+ ## ✨ Features
20
+ - πŸ“± **Mobile-friendly UI** (works smoothly on phones & tablets)
21
+ - πŸ’¬ **Streaming responses** (token-by-token, like ChatGPT)
22
+ - βš™οΈ Adjustable parameters:
23
+ - System prompt (role of the assistant)
24
+ - Max tokens
25
+ - Temperature
26
+ - Top-p (nucleus sampling)
27
+ - 🌐 Powered by **Hugging Face’s hosted inference API** (no need to run locally)
28
+
29
+ ---
30
+
31
+ ## πŸš€ Usage
32
+ 1. Type your message in the input box.
33
+ 2. Wait for the assistant to generate a response (it streams word by word).
34
+ 3. Adjust the sliders (temperature, top-p, etc.) to change behavior.
35
+
36
+ ---
37
+
38
+ ## πŸ› οΈ Tech Stack
39
+ - [Gradio](https://gradio.app/) β€” UI framework
40
+ - [huggingface_hub](https://huggingface.co/docs/huggingface_hub) β€” model inference
41
+ - [Zephyr-7B](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) β€” instruction-tuned LLM
42
+
43
+ ---
44
+
45
+ ## πŸ“¦ Installation (for local development)
46
+ Clone this repo and install dependencies:
47
+ ```bash
48
+ git clone https://huggingface.co/spaces/Asilbek14/zephyr-for-mobile
49
+ cd zephyr-for-mobile
50
+ pip install -r requirements.txt
51
 
52
  An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).