Downloads · 30 days
5
5% of all-time downloads
yagebin/smart_home_chatbot
smart_home_chatbot is a machine learning model from yagebin. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
5
5% of all-time downloads
All-time downloads
95
Public
Parameters
7.5B
4.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.7 GB · 100%
How the weights are stored.
U87.2B · 96%
From the Hugging Face model README
Chatbot-Smart-Home
A fine-tuned Mistral-7B-Instruct model to create an intelligent chatbot for smart home consultations. This model helps users design a personalized smart home solution by interacting via scenario-based dialogue and recommending devices based on user preferences, property attributes, and budget.
This model is tailored to simulate natural conversations for smart home planning. It gathers user preferences, property attributes, and demographic details to recommend smart home devices, calculate costs, and assess ecological ratings.
This model is designed for:
This model can be integrated into:
This model is not designed for:
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load the model and tokenizer
model_id = "your_username/chatbot-smart-home"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
# Example input
input_text = "What smart lighting options can improve energy efficiency?"
# Generate a response
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=256)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)