DarwinAnim8or commited on
Commit
b31704d
·
1 Parent(s): b539400

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -1
README.md CHANGED
@@ -13,13 +13,42 @@ tags:
13
 
14
  # GPT-Grug-125m
15
  A finetuned version of [GPT-Neo-125M](https://huggingface.co/EleutherAI/gpt-neo-125M) on the 'grug' dataset.
 
16
 
17
  # Training Procedure
18
  This was trained on the 'grug' dataset, using the "HappyTransformers" library on Google Colab.
19
  This model was trained for 4 epochs with learning rate 1e-2.
 
20
 
21
  # Biases & Limitations
22
  This likely contains the same biases and limitations as the original GPT-Neo-125M that it is based on, and additionally heavy biases from the grug datasets.
23
 
24
  # Intended Use
25
- This model is meant for fun, please do not take anything this caveman says seriously.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  # GPT-Grug-125m
15
  A finetuned version of [GPT-Neo-125M](https://huggingface.co/EleutherAI/gpt-neo-125M) on the 'grug' dataset.
16
+ A demo is available [here](https://huggingface.co/spaces/DarwinAnim8or/grug-125m-chat)
17
 
18
  # Training Procedure
19
  This was trained on the 'grug' dataset, using the "HappyTransformers" library on Google Colab.
20
  This model was trained for 4 epochs with learning rate 1e-2.
21
+ The notebook used to train has been included in this repo.
22
 
23
  # Biases & Limitations
24
  This likely contains the same biases and limitations as the original GPT-Neo-125M that it is based on, and additionally heavy biases from the grug datasets.
25
 
26
  # Intended Use
27
+ This model is meant for fun, please do not take anything this caveman says seriously.
28
+
29
+ # Sample Use
30
+ ```python
31
+ #Import model:
32
+ from happytransformer import HappyGeneration
33
+ happy_gen = HappyGeneration("GPT-NEO", "DarwinAnim8or/gpt-grug-125m
34
+
35
+ #Set generation settings:
36
+ from happytransformer import GENSettings
37
+ args_top_k = GENSettings(no_repeat_ngram_size=3, do_sample=True,top_k=50, temperature=0.7, max_length=50, early_stopping=False)")
38
+
39
+ #Generate a response:
40
+ result = happy_gen.generate_text("""Person: "Hello grug"
41
+ Grug: "hello person"
42
+ ###
43
+ Person: "how are you grug"
44
+ Grug: "grug doing ok. grug find many berry. good for tribe."
45
+ ###
46
+ Person: "what does grug think of new spear weapon?"
47
+ Grug: "grug no like new spear weapon. grug stick bigger. spear too small, break easy"
48
+ ###
49
+ Person: "what does grug think of football?"
50
+ Grug: \"""", args=args_top_k)
51
+
52
+ print(result)
53
+ print(result.text)
54
+ ```