mfsadi commited on
Commit
c5121d0
1 Parent(s): aee54ae

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -11,14 +11,14 @@ Persian spelling correction model based on LLama3.1 instruct. This model was tra
11
  ## Model Details
12
 
13
  ### Model Description
14
-
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
 
@@ -33,7 +33,7 @@ Here are some examples:
33
  "query": "بادکنک جشن تواد" Your answer: {"correction": "بادکنک جشن تولد"}
34
 
35
  "query": "صندلی بادی" Your answer: {"correction": ""}\n"""
36
-
37
 
38
 
39
  ## Uses
 
11
  ## Model Details
12
 
13
  ### Model Description
14
+ ```python
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
 
 
33
  "query": "بادکنک جشن تواد" Your answer: {"correction": "بادکنک جشن تولد"}
34
 
35
  "query": "صندلی بادی" Your answer: {"correction": ""}\n"""
36
+ ```
37
 
38
 
39
  ## Uses