sr5434 commited on
Commit
981a5fa
1 Parent(s): 9628bf0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -2
README.md CHANGED
@@ -1,10 +1,15 @@
1
  ---
2
- license: other
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
@@ -19,6 +24,15 @@ This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co
19
 
20
  Generating quotes with AI
21
 
 
 
 
 
 
 
 
 
 
22
 
23
  ## Training procedure
24
 
@@ -39,4 +53,4 @@ The following hyperparameters were used during training:
39
 
40
  - Transformers 4.25.1
41
  - Pytorch 1.13.1+cu116
42
- - Tokenizers 0.13.2
 
1
  ---
2
+ license: mit
3
  tags:
4
  - generated_from_trainer
5
  model-index:
6
  - name: gptQuotes
7
  results: []
8
+ datasets:
9
+ - Abirate/english_quotes
10
+ language:
11
+ - en
12
+ pipeline_tag: text-generation
13
  ---
14
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
24
 
25
  Generating quotes with AI
26
 
27
+ ## Sample code
28
+ ```
29
+ from transformers import pipeline
30
+
31
+ ai = pipeline('text-generation',model='sr5434/gptQuotes', tokenizer='facebook/opt-350m', device=-1)#,config={'max_length':45})
32
+ while True:
33
+ result = ai(input("Prompt>>>"))[0]['generated_text']
34
+ print(result)
35
+ ```
36
 
37
  ## Training procedure
38
 
 
53
 
54
  - Transformers 4.25.1
55
  - Pytorch 1.13.1+cu116
56
+ - Tokenizers 0.13.2