|
Download README.md from HarryTrivedi/weddingPlanner: direct link, hf CLI and curl.
- Browser
- Download file 824 Bytes
-
https://huggingface.co/HarryTrivedi/weddingPlanner/resolve/main/README.md
- Command line
-
hf download hf://HarryTrivedi/weddingPlanner/README.md
-
curl -L -o README.md https://huggingface.co/HarryTrivedi/weddingPlanner/resolve/main/README.md
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))