Update README.md
Browse files
README.md
CHANGED
@@ -30,9 +30,9 @@ Lexic.AI model fine-tuned from meta-llama-3.2-1B to used with the base model for
|
|
30 |
|
31 |
## Uses
|
32 |
```
|
33 |
-
template = """<|start_header_id|>system<|end_header_id|>
|
34 |
-
You are LexicAI assistant
|
35 |
-
<|start_header_id|>user<|end_header_id|>
|
36 |
{query}<|eot_id|>
|
37 |
<|start_header_id|>assistant<|end_header_id|>"""
|
38 |
|
@@ -41,7 +41,7 @@ prompt_template = PromptTemplate(
|
|
41 |
template=template
|
42 |
)
|
43 |
|
44 |
-
query = "What is
|
45 |
|
46 |
start_time = time.time()
|
47 |
print('Responding:', start_time)
|
|
|
30 |
|
31 |
## Uses
|
32 |
```
|
33 |
+
template = """<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
34 |
+
You are a helpful LexicAI assistant<|eot_id|>
|
35 |
+
<|start_header_id|>user<|end_header_id|>
|
36 |
{query}<|eot_id|>
|
37 |
<|start_header_id|>assistant<|end_header_id|>"""
|
38 |
|
|
|
41 |
template=template
|
42 |
)
|
43 |
|
44 |
+
query = "What is Lexic AI?"
|
45 |
|
46 |
start_time = time.time()
|
47 |
print('Responding:', start_time)
|