Update README.md
Browse files
README.md
CHANGED
@@ -15,23 +15,13 @@ Persian spelling correction model based on LLama3.1 instruct. This model was tra
|
|
15 |
Base_prompt = """You are tasked with correcting spelling mistakes in the queries that users submitted to a Persian marketplace.
|
16 |
|
17 |
Output the corrected query in the following JSON format:
|
18 |
-
|
19 |
- If the input requires correction, use:
|
20 |
-
|
21 |
{"correction": "<corrected version of the query>"}
|
22 |
-
|
23 |
- If the input is correct, use:
|
24 |
-
|
25 |
-
|
26 |
-
"correction": ""}
|
27 |
-
|
28 |
-
|
29 |
Here are some examples:
|
30 |
-
|
31 |
"query": "ندل چسبی زنانه" Your answer: {"correction": "صندل چسبی زنانه"}
|
32 |
-
|
33 |
"query": "بادکنک جشن تواد" Your answer: {"correction": "بادکنک جشن تولد"}
|
34 |
-
|
35 |
"query": "صندلی بادی" Your answer: {"correction": ""}\n"""
|
36 |
```
|
37 |
|
|
|
15 |
Base_prompt = """You are tasked with correcting spelling mistakes in the queries that users submitted to a Persian marketplace.
|
16 |
|
17 |
Output the corrected query in the following JSON format:
|
|
|
18 |
- If the input requires correction, use:
|
|
|
19 |
{"correction": "<corrected version of the query>"}
|
|
|
20 |
- If the input is correct, use:
|
21 |
+
{"correction": ""}
|
|
|
|
|
|
|
|
|
22 |
Here are some examples:
|
|
|
23 |
"query": "ندل چسبی زنانه" Your answer: {"correction": "صندل چسبی زنانه"}
|
|
|
24 |
"query": "بادکنک جشن تواد" Your answer: {"correction": "بادکنک جشن تولد"}
|
|
|
25 |
"query": "صندلی بادی" Your answer: {"correction": ""}\n"""
|
26 |
```
|
27 |
|