Text Generation
Transformers
English
Russian
legal
A newer version of this model is available: SkillForge45/CyberFuture-2

CyberFuture - Chat With AI

Uptades: -Web Search

Installation

  1. Clone the model:
git clone https://huggingface.co/SkillForge45/CyberFuture-3
  1. Install all requirements:
pip install torch transformers datasets googlesearch-python pyttsx3 speechrecognition fastapi uvicorn

Usage

METHOD #1 (HTML web interface):

  1. Launch the server:
python app.py
  1. Start the HTML file (html_main.html) METHOD #2 (Python Uasge) Use this Python code:
from model import ChatBot

# Initialize the chatbot
bot = ChatBot()

# Optionally train the model (requires GPU for good performance)
bot.train(epochs=3)

# Chat with web search
response = bot.generate_response("What's the latest news about AI?", use_web=True)
print(response)

# Voice interaction (requires microphone)
bot.voice_interface.speak(response)
user_input = bot.voice_interface.listen()

METHOD #3 (Console)

  1. Text Chat:
curl -X POST "http://localhost:8000/chat/" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "prompt=What's the weather in London today?&use_web=true" #web search, if you not need web: use_web=False
  1. Voice Chat:
curl -X POST "http://localhost:8000/chat/" \
-F "audio_file=@your_recording.wav" \
-F "use_web=true" \
-F "use_voice=true"

METHOD 4 (Server) Start the app.py and go to http://localhost:8000/chat

License

This model is licensed, see the LICENSE for more information

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SkillForge45/CyberFuture-3

Finetuned
(3)
this model

Datasets used to train SkillForge45/CyberFuture-3