Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ from transformers import pipeline
|
|
22 |
generator = pipeline("text-generation", model = "KennethTM/gpt2-small-danish-review-response")
|
23 |
|
24 |
def prompt_template(user, review):
|
25 |
-
return f"### Bruger:\n{user}\n\n### Anmeldelse:\n{review}\n\n### Svar:\nKære {user}\n"
|
26 |
|
27 |
prompt = prompt_template(user = "Anders", review = "Umuligt at komme igennem på telefonen.")
|
28 |
|
|
|
22 |
generator = pipeline("text-generation", model = "KennethTM/gpt2-small-danish-review-response")
|
23 |
|
24 |
def prompt_template(user, review):
|
25 |
+
return f"### Bruger:\n{user}\n\n### Anmeldelse:\n{review}\n\n### Svar:\nKære {user}\n"
|
26 |
|
27 |
prompt = prompt_template(user = "Anders", review = "Umuligt at komme igennem på telefonen.")
|
28 |
|