0x41337 commited on
Commit
c886dd6
·
1 Parent(s): 9805395

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -30
README.md CHANGED
@@ -1,30 +1,10 @@
1
- # My Own Chatbot
2
- - My Own Chatbot with an interface implemented without APIs using a pre-trained model.
3
-
4
- # Why
5
- - Just to see if it was possible. (and to see if I could)
6
-
7
- # Model Information
8
- - The template I'm using is [distilbert-base-uncased-distilled-squad](https://huggingface.co/distilbert-base-uncased-distilled-squad) by [huggingface](https://huggingface.co/) team.<br>
9
- - This model has: `66.4M parameters.`
10
- - The reason i chose this model is because i like huggingface models and because this model is a base model and very light. it can be trained and has good documentation and performance.
11
- - The license of this model is: `Apache 2.0`
12
- - The Language(s): English
13
- - The Model Type: Transformer-based language model.
14
- - The Token Limit: `512 tokens` for this model.
15
- # Credits
16
- - huggingface: by model and transformers library
17
- - gradio: by the gradio library making it easy to create UI for machine learning models easily.
18
- - pytorch: very fast and lightweight tensor framework.
19
- - loguru: quick and easy log library.
20
- - [how-to-generate#greedy-search](https://huggingface.co/blog/how-to-generate#greedy-search) a very detailed guide on huggingface's website: How to generate text: using different decoding methods for language generation with Transformers
21
- - [gpt2#openai-gpt2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) gpt2 documentation made by huggingface team
22
-
23
- # Not Implemented
24
- - Context manager: as the token limit is low (`512 tokens`), for this project to become usable for small things, it would be necessary to implement a system to avoid overflowing too many tokens into the model.
25
-
26
- # Demonstration
27
- [screen-capture.webm](https://github.com/0x41337/my-own-chatbot/assets/88632118/48b97fa1-fbae-493d-8311-f6c381e13c23)
28
-
29
- # License
30
- - this project is under the MIT license resources used may be under other licenses.
 
1
+ ---
2
+ title: "my-own-chatbot"
3
+ emoji: "🤖"
4
+ colorFrom: "indigo"
5
+ colorTo: "green"
6
+ sdk: "gradio"
7
+ sdk_version: "1.22.0"
8
+ app_file: app.py
9
+ pinned: false
10
+ ---