Update README.md
Browse files
README.md
CHANGED
@@ -1,9 +1,15 @@
|
|
1 |
-
|
2 |
-
|
3 |
```
|
4 |
[INST] Corrects and rephrase user text grammar errors delimited by triple backticks to standard English.
|
5 |
### Input: Text=\`\`\`she no went to market\`\`\` [/INST]
|
6 |
[INST] ### Output: She didn’t go the market. [/INST]
|
7 |
[INST] ### Input: Text=\`\`\`${input}\`\`\` [/INST]
|
8 |
[INST] ### Output:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
```
|
|
|
1 |
+
Prompt template:
|
|
|
2 |
```
|
3 |
[INST] Corrects and rephrase user text grammar errors delimited by triple backticks to standard English.
|
4 |
### Input: Text=\`\`\`she no went to market\`\`\` [/INST]
|
5 |
[INST] ### Output: She didn’t go the market. [/INST]
|
6 |
[INST] ### Input: Text=\`\`\`${input}\`\`\` [/INST]
|
7 |
[INST] ### Output:
|
8 |
+
```
|
9 |
+
|
10 |
+
To use the fine-tuned model, you need to get a downloadable link for the model from HF and update it accordingly in the shell script.
|
11 |
+
For example:
|
12 |
+
```
|
13 |
+
MODEL_URL="https://huggingface.co/mzbac/mistral-grammar/resolve/main/Mistral-7B-grammar-checker-v1.1.Q5_K_M.gguf"
|
14 |
+
MODEL_FILE="Mistral-7B-grammar-checker-v1.1.Q5_K_M.gguf"
|
15 |
```
|