BigSalmon commited on
Commit
bc4d032
·
1 Parent(s): c80339a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -12,7 +12,7 @@ https://huggingface.co/spaces/BigSalmon/FormalInformalConciseWordy
12
  ```
13
 
14
  ```
15
- prompt = """informal english: corn fields are all across illinois, visible once you leave chicago.\nTranslated into the Style of Abraham Lincoln:"""
16
  input_ids = tokenizer.encode(prompt, return_tensors='pt')
17
  outputs = model.generate(input_ids=input_ids,
18
  max_length=10 + len(prompt),
@@ -27,7 +27,7 @@ for i in range(5):
27
  ```
28
  Most likely outputs (Disclaimer: I highly recommend using this over just generating):
29
  ```
30
- prompt = """informal english: corn fields are all across illinois, visible once you leave chicago.\nTranslated into the Style of Abraham Lincoln:"""
31
  text = tokenizer.encode(prompt)
32
  myinput, past_key_values = torch.tensor([text]), None
33
  myinput = myinput
 
12
  ```
13
 
14
  ```
15
+ prompt = """few sights are as [blank] new york city as the colorful, flashing signage of its bodegas [sep]"""
16
  input_ids = tokenizer.encode(prompt, return_tensors='pt')
17
  outputs = model.generate(input_ids=input_ids,
18
  max_length=10 + len(prompt),
 
27
  ```
28
  Most likely outputs (Disclaimer: I highly recommend using this over just generating):
29
  ```
30
+ prompt = """few sights are as [blank] new york city as the colorful, flashing signage of its bodegas [sep]"""
31
  text = tokenizer.encode(prompt)
32
  myinput, past_key_values = torch.tensor([text]), None
33
  myinput = myinput