TeamHaltmannSusanaHWCEO commited on
Commit
700c096
1 Parent(s): 7db59ec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -3
README.md CHANGED
@@ -1,3 +1,15 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from gpt2_client import *
2
+
3
+ gpt2 = GPT2()
4
+
5
+ streamlit_code_base = gpt2.generate(
6
+ prompt="Enter prompt here",
7
+ temperature=0.7,
8
+ top_p=0.9,
9
+ nsamples=1,
10
+ batch_size=1,
11
+ length=1000,
12
+ include_prefix=True
13
+ )
14
+
15
+ print(streamlit_code_base)