sr5434 commited on
Commit
792f473
1 Parent(s): b3e1045

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -15
README.md CHANGED
@@ -2,9 +2,15 @@
2
  license: mit
3
  tags:
4
  - generated_from_trainer
 
5
  model-index:
6
  - name: gptQuotes
7
  results: []
 
 
 
 
 
8
  ---
9
 
10
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -12,19 +18,25 @@ should probably proofread and complete it, then remove this comment. -->
12
 
13
  # gptQuotes
14
 
15
- This model is a fine-tuned version of [sr5434/gptQuotes](https://huggingface.co/sr5434/gptQuotes) on an unknown dataset.
16
 
17
- ## Model description
18
-
19
- More information needed
20
 
21
  ## Intended uses & limitations
22
 
23
- More information needed
 
 
24
 
25
- ## Training and evaluation data
26
 
27
- More information needed
 
 
 
 
 
 
 
28
 
29
  ## Training procedure
30
 
@@ -39,13 +51,7 @@ The following hyperparameters were used during training:
39
  - lr_scheduler_type: linear
40
  - lr_scheduler_warmup_steps: 500
41
  - num_epochs: 15
42
-
43
- ### Training results
44
-
45
-
46
-
47
  ### Framework versions
48
-
49
- - Transformers 4.26.0
50
  - Pytorch 1.13.1+cu116
51
- - Tokenizers 0.13.2
 
2
  license: mit
3
  tags:
4
  - generated_from_trainer
5
+ - opt
6
  model-index:
7
  - name: gptQuotes
8
  results: []
9
+ datasets:
10
+ - Abirate/english_quotes
11
+ language:
12
+ - en
13
+ pipeline_tag: text-generation
14
  ---
15
 
16
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
18
 
19
  # gptQuotes
20
 
21
+ This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on an Abirate's English Quotes dataset.
22
 
 
 
 
23
 
24
  ## Intended uses & limitations
25
 
26
+ Generating quotes with AI
27
+
28
+ ## Online demo
29
 
30
+ A demo of this AI is availible in a [Huggingface Space](https://huggingface.co/spaces/sr5434/QuoteGeneration). Do not use the version attached to this model, as it doesn't work.
31
 
32
+ ## Sample code
33
+ ```
34
+ from transformers import pipeline
35
+ ai = pipeline('text-generation',model='sr5434/gptQuotes', tokenizer='facebook/opt-350m', device=-1)#,config={'max_length':45})
36
+ while True:
37
+ result = ai(input("Prompt>>>"))[0]['generated_text']
38
+ print(result)
39
+ ```
40
 
41
  ## Training procedure
42
 
 
51
  - lr_scheduler_type: linear
52
  - lr_scheduler_warmup_steps: 500
53
  - num_epochs: 15
 
 
 
 
 
54
  ### Framework versions
55
+ - Transformers 4.25.1
 
56
  - Pytorch 1.13.1+cu116
57
+ - Tokenizers 0.13.2