praveenseb commited on
Commit
4b11f03
1 Parent(s): d4fae90

Updated model card

Browse files
Files changed (1) hide show
  1. README.md +13 -11
README.md CHANGED
@@ -5,6 +5,9 @@ tags:
5
  model-index:
6
  - name: praveenseb/product_review_generator
7
  results: []
 
 
 
8
  ---
9
 
10
  <!-- This model card has been generated automatically according to the information Keras had access to. You should
@@ -12,25 +15,24 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # praveenseb/product_review_generator
14
 
15
- This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
16
- It achieves the following results on the evaluation set:
17
- - Train Loss: 0.6720
18
- - Epoch: 1
19
 
20
  ## Model description
21
 
22
- More information needed
23
 
24
- ## Intended uses & limitations
25
-
26
- More information needed
27
 
28
- ## Training and evaluation data
29
 
30
- More information needed
 
31
 
32
  ## Training procedure
33
 
 
 
34
  ### Training hyperparameters
35
 
36
  The following hyperparameters were used during training:
@@ -50,4 +52,4 @@ The following hyperparameters were used during training:
50
  - Transformers 4.27.3
51
  - TensorFlow 2.11.0
52
  - Datasets 2.10.1
53
- - Tokenizers 0.13.2
 
5
  model-index:
6
  - name: praveenseb/product_review_generator
7
  results: []
8
+ datasets:
9
+ - amazon_us_reviews
10
+ pipeline_tag: text-generation
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information Keras had access to. You should
 
15
 
16
  # praveenseb/product_review_generator
17
 
18
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on a sample of [amazon_us_reviews](https://huggingface.co/datasets/amazon_us_reviews) dataset. The sample was drawn from 'Apparel_v1_00' subset.
 
 
 
19
 
20
  ## Model description
21
 
22
+ 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.
23
 
24
+ The input prompt should be in the format <|BOS|>product_title<|SEP|>product_rating<|SEP|>review_title<|SEP|>. For example,
25
+ <|BOS|>Columbia Women's Benton Springs Full-Zip Fleece Jacket<|SEP|>5<|SEP|>Awesome jacket!<|SEP|>
 
26
 
27
+ ## Intended uses & limitations
28
 
29
+ 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 .
30
+ The model is trained specifically on 'Apparel_v1_00' dataset. So, using non-apparel product titles in the input prompt may yield inconsistent results.
31
 
32
  ## Training procedure
33
 
34
+ Code used for training can found in my [GitHub repository](https://github.com/praveenseb/product_review_generator).
35
+
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
 
52
  - Transformers 4.27.3
53
  - TensorFlow 2.11.0
54
  - Datasets 2.10.1
55
+ - Tokenizers 0.13.2