Downloads · 30 days
19
3% of all-time downloads
praveenseb/product_review_generator
product_review_generator is a text generation model from praveenseb. 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.
probably proofread and complete it, then remove this comment. --
Downloads · 30 days
19
3% of all-time downloads
All-time downloads
559
Public
Repo size
2.3 GB
Likes
2
Public
Click a slice to open those files.
.h5964 MB · 59%
From the Hugging Face model README
This model is a fine-tuned version of distilgpt2 on a sample of amazon_us_reviews dataset. The sample was drawn from 'Apparel_v1_00' subset.
This model can auto generate review text for apparel products on providing product title, review rating (1-5) and review headline as an input prompt.
The input prompt should be in the format <|BOS|>product_title<|SEP|>product_rating<|SEP|>review_title<|SEP|>. For example, <|BOS|>Columbia Women's Benton Springs Full-Zip Fleece Jacket<|SEP|>5<|SEP|>Awesome jacket!<|SEP|>. You can find the complete code in my GitHub repository.
This model is only intended to demonstrate the text generation capabilities of transformer-based models. Do not use it commercially or for any real-life purpose . The model is trained specifically on 'Apparel_v1_00' dataset. So, using non-apparel product titles in the input prompt may yield inconsistent results.
Code used for training can found in my GitHub repository.
The following hyperparameters were used during training:
| Train Loss | Epoch |
|---|---|
| 0.7579 | 0 |
| 0.6720 | 1 |