Downloads · 30 days
17
5% of all-time downloads
UrFavB0i/Fine-tuned-Falcon7B-skincare-chatbot
Fine-tuned-Falcon7B-skincare-chatbot is a text generation model from UrFavB0i. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Falcon-7B Fine-Tuned Chatbot Model This repository contains the fine-tuned Falcon-7B model for a chatbot application. The model has been fine-tuned using the PEFT method to provide robust responses for e-commerce cust…
Downloads · 30 days
17
5% of all-time downloads
All-time downloads
326
Public
Parameters
6.9B
13.8 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors13.8 GB · 100%
From the Hugging Face model README
Falcon-7B Fine-Tuned Chatbot Model This repository contains the fine-tuned Falcon-7B model for a chatbot application. The model has been fine-tuned using the PEFT method to provide robust responses for e-commerce customer support. It guides buyers in product selection, recommends sizes, checks product stock, suggests similar products, and presents reviews and social media video links.
To use the model, you need to install the necessary dependencies. Make sure you have Python 3.7+ and pip installed.
pip install transformers
pip install peft
You can load the fine-tuned model using the transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "your-huggingface-username/falcon-7b-chatbot"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
inputs = tokenizer("Hello, how can I assist you today?", return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0]))
The model was fine-tuned using the PEFT method on a dataset specifically curated for e-commerce scenarios. The training process involved:
The fine-tuned model was evaluated based on its ability to handle various e-commerce related queries, providing accurate and contextually appropriate responses.
While the model performs well in many scenarios, it might not handle extremely rare or out-of-domain queries perfectly. Continuous training and updating with more data can help improve its performance further.
We welcome contributions to improve this model. If you have any suggestions or find any issues, please create an issue or a pull request.
This project is licensed under the Apache 2.0 License. See the [LICENSE] file for more details.
Special thanks to the Falcon team and the creators of the tiiuae/falcon-7b model for providing the base model and the tools necessary for fine-tuning.