Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ sys_message = """
|
|
5 |
This model can generate untruths, lies or inappropriate things. Only for testing and validation.
|
6 |
"""
|
7 |
|
|
|
8 |
|
9 |
# Configuration settings for model generation (example)
|
10 |
generation_config = {
|
@@ -17,7 +18,6 @@ generation_config = {
|
|
17 |
}
|
18 |
|
19 |
|
20 |
-
pipe = pipeline("text-generation", model="tevykuch/sftsl0th", device=0, framework="pt")
|
21 |
|
22 |
# tokenizer = AutoTokenizer.from_pretrained("tevykuch/sftsl0th")
|
23 |
# llm = AutoModelForCausalLM.from_pretrained("tevykuch/sftsl0th")
|
|
|
5 |
This model can generate untruths, lies or inappropriate things. Only for testing and validation.
|
6 |
"""
|
7 |
|
8 |
+
pipe = pipeline("text-generation", model="tevykuch/sftsl0th", device=0, framework="pt")
|
9 |
|
10 |
# Configuration settings for model generation (example)
|
11 |
generation_config = {
|
|
|
18 |
}
|
19 |
|
20 |
|
|
|
21 |
|
22 |
# tokenizer = AutoTokenizer.from_pretrained("tevykuch/sftsl0th")
|
23 |
# llm = AutoModelForCausalLM.from_pretrained("tevykuch/sftsl0th")
|