Update README.md
Browse files
README.md
CHANGED
@@ -6,6 +6,11 @@ tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln62Pa
|
|
6 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln62Paraphrase")
|
7 |
```
|
8 |
|
|
|
|
|
|
|
|
|
|
|
9 |
```
|
10 |
prompt = """informal english: corn fields are all across illinois, visible once you leave chicago.\nTranslated into the Style of Abraham Lincoln:"""
|
11 |
input_ids = tokenizer.encode(prompt, return_tensors='pt')
|
|
|
6 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln62Paraphrase")
|
7 |
```
|
8 |
|
9 |
+
```
|
10 |
+
Demo:
|
11 |
+
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')
|