weddingPlanner / README.md
HarryTrivedi's picture
Create README.md
9912eba verified
|
Raw History Blame Contribute Delete
824 Bytes

Wedding Planner Model

This is a fine-tuned GPT-2 based model specifically designed to provide wedding planning advice. It has been trained on curated data including wedding planning dialogues, FAQs, and event details.

Usage

You can use this model with the Hugging Face Inference API or load it locally using the Transformers library.

Example (Python):

from transformers import GPT2LMHeadModel, GPT2Tokenizer

model = GPT2LMHeadModel.from_pretrained("your-username/weddingPlanner")
tokenizer = GPT2Tokenizer.from_pretrained("your-username/weddingPlanner")

prompt = "I need help planning my wedding. Can you suggest some ideas?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(inputs["input_ids"], max_length=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))