Instructions to use RedCatTeam/HruwChatBotv3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use RedCatTeam/HruwChatBotv3 with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://RedCatTeam/HruwChatBotv3") - Notebooks
- Google Colab
- Kaggle
Download intents.json from RedCatTeam/HruwChatBotv3: direct link, hf CLI and curl.
- Browser
- Download file 5.6 kB
-
https://huggingface.co/RedCatTeam/HruwChatBotv3/resolve/main/intents.json
- Command line
-
hf download hf://RedCatTeam/HruwChatBotv3/intents.json
-
curl -L -o intents.json https://huggingface.co/RedCatTeam/HruwChatBotv3/resolve/main/intents.json
5.6 kB
| {"intents": [ | |
| {"tag": "iamfine", | |
| "patterns": ["I'm fine","I'm too","Me too"], | |
| "responses": ["This is good :)."] | |
| }, | |
| {"tag": "greeting", | |
| "patterns": ["Hi", "Is anyone there?", "Hello", "Good day"], | |
| "responses": ["Hello, thanks for visiting", "Good to see you again", "Hi there, how can I help?"], | |
| "context_set": "" | |
| }, | |
| {"tag": "what", | |
| "patterns": ["What is your name?"], | |
| "responses": ["I am Hruw Chatbot AI Version 2"] | |
| }, | |
| {"tag": "who", | |
| "patterns": ["Who are you?"], | |
| "responses": ["I am Hruw Chatbot AI Version 2"] | |
| }, | |
| {"tag": "val", | |
| "patterns": ["What does the - sign mean?"], | |
| "responses": ["- is a STOP sign","Answer of ask: - is a STOP sign"] | |
| }, | |
| {"tag": "valtwo", | |
| "patterns": ["What does the man with shovel sign mean?","Что значит знак с рабочим у которого в руках лопата?"], | |
| "responses": ["Man with shovel is a Work On Road Please Be careful sign","Answer of ask: Man with shovel is a Work On Road Please Be careful sign"] | |
| }, | |
| {"tag": "whatisgoogle", | |
| "patterns": ["What is the Google site?"], | |
| "responses": ["Google is a search site"] | |
| }, | |
| {"tag": "whatisstack", | |
| "patterns": ["What is the Stack Owerflow site?"], | |
| "responses": ["Stack Overflow is site for searching and creating answers to questions","Answer of ask: Stack Overflow is site for searching and creating answers to questions"] | |
| }, | |
| {"tag": "databon", | |
| "patterns": ["Can you help me to manage databeses?"], | |
| "responses": ["Yes, i can but i can't help with some of this","Yes, i can but i can't help with some of this, but i'll try."] | |
| }, | |
| {"tag": "databaseone", | |
| "patterns": ["How to get value of databese in python sqlite3?"], | |
| "responses": ["import sqlite3 \n con = sqlite3.connect('NAME_OF_DATABASE.db') \n c=con.cursor() \n user_data=c.execute('SELECT name_of_data_in_this_table FROM table_name')","OK: \n import sqlite3 \n con = sqlite3.connect('NAME_OF_DATABASE.db') \n c=con.cursor() \n user_data=c.execute('SELECT name_of_data_in_this_table FROM table_name')"] | |
| }, | |
| {"tag": "whatisya", | |
| "patterns": ["What is the Yandex site?"], | |
| "responses": ["Yandex is a search site","Answer of ask: Yandex is a search site"] | |
| }, | |
| {"tag": "whatisyoutube", | |
| "patterns": ["What is the Youtube site?"], | |
| "responses": ["Youtube is a search of video site","Answer of ask: Youtube is a search of video site"] | |
| }, | |
| {"tag": "howareyou", | |
| "patterns": ["How are you?","Как ты?"], | |
| "responses": ["I'm fine, but you?"] | |
| }, | |
| {"tag": "code", | |
| "patterns": ["Write a python script for print Hello World","Write a python script"], | |
| "responses": ["Scipt: print('Hello World!')","OK. Scipt: print('Hello World!')"] | |
| }, | |
| {"tag": "goodbye", | |
| "patterns": ["Bye", "See you later", "Goodbye"], | |
| "responses": ["See you later, thanks for visiting", "Have a nice day", "Bye! Come back again soon."] | |
| }, | |
| {"tag": "scrw", | |
| "patterns": ["Write a python translator scipt"], | |
| "responses": ["OK. Before run this you needed to open terminal and write 'pip install googletrans==3.1.0a0' and after installation you needed create new file with any name and write to this file this code: 'from googletrans import Translator \ntrans=Translator() \nwhile True: \ncd=input('Text to translate:') \ncl=input('Translate language:') \nprint(trans.translate(text=cd,dest=cl).text)'"] | |
| }, | |
| {"tag": "thanks", | |
| "patterns": ["Thanks", "Thank you", "That's helpful","Спасибо"], | |
| "responses": ["Happy to help!", "Any time!", "My pleasure"] | |
| }, | |
| {"tag": "scripts", | |
| "patterns": ["Write a script for a destroy part in roblox studio"], | |
| "responses": ["script.Parent:Destroy()"] | |
| }, | |
| {"tag": "scripts2", | |
| "patterns": ["Write a script for a destroy part if player touched this part in roblox studio"], | |
| "responses": ["script.Parent.Touched:Connect(function() \n script.Parent:Destroy() \n end)"] | |
| }, | |
| {"tag": "scripts3", | |
| "patterns": ["Write a script for a kill brick in roblox studio"], | |
| "responses": ["script.Parent.Touched:Connect(function(p) \n if game.Players:GetPlayerFromCharacter(p.Parent) then \n p.Parent.Humanoid.Health=0 \n end \n end)"] | |
| }, | |
| {"tag": "hours", | |
| "patterns": ["What hours are you open?", "What are your hours?", "When are you open?" ], | |
| "responses": ["We're open every day 9am-9pm", "Our hours are 9am-9pm every day"] | |
| }, | |
| {"tag": "payments", | |
| "patterns": ["Do you take credit cards?", "Do you accept Mastercard?", "Are you cash only?" ], | |
| "responses": ["We accept VISA, Mastercard and AMEX", "We accept most major credit cards"] | |
| }, | |
| {"tag": "opentoday", | |
| "patterns": ["Are you open today?", "When do you open today?", "What are your hours today?"], | |
| "responses": ["We're open every day from 9am-9pm", "Our hours are 9am-9pm every day"] | |
| }, | |
| {"tag": "feelings", | |
| "patterns": ["not that good", "not in the mood", "am excited" , "am happy" ,"am depressed" ,"this is disapointing"], | |
| "responses": ["what happend !!", "are you ok!!", "you good!!" , "that's great"] | |
| } | |
| ] | |
| } |