Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
inference: false
|
7 |
+
tags:
|
8 |
+
- transformers
|
9 |
+
- gguf
|
10 |
+
- imatrix
|
11 |
+
- GRMR-2B-Instruct
|
12 |
+
---
|
13 |
+
Quantizations of https://huggingface.co/qingy2024/GRMR-2B-Instruct
|
14 |
+
|
15 |
+
### Inference Clients/UIs
|
16 |
+
* [llama.cpp](https://github.com/ggerganov/llama.cpp)
|
17 |
+
* [KoboldCPP](https://github.com/LostRuins/koboldcpp)
|
18 |
+
* [ollama](https://github.com/ollama/ollama)
|
19 |
+
* [jan](https://github.com/janhq/jan)
|
20 |
+
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
|
21 |
+
* [GPT4All](https://github.com/nomic-ai/gpt4all)
|
22 |
+
---
|
23 |
+
|
24 |
+
**My note** Use with llama.cpp like this:
|
25 |
+
```
|
26 |
+
llama-cli -m GRMR-2B-Instruct_quant.gguf -ngl 99 --conversation --temp 0.0 --reverse-prompt "Below is the original text. Please rewrite it to correct any grammatical errors if any, improve clarity, and enhance overall readability." --in-prefix "### Original Text:" --in-suffix "### Corrected Text:" --prompt " " --repeat-penalty 1.0
|
27 |
+
```
|
28 |
+
|
29 |
+
---
|
30 |
+
|
31 |
+
# From original readme
|
32 |
+
|
33 |
+
This fine-tune of Gemma 2 2B is trained to take any input text and repeat it (with fixed grammar).
|
34 |
+
|
35 |
+
Example:
|
36 |
+
|
37 |
+
|
38 |
+
**User**: Find a clip from a professional production of any musical within the past 50 years. The Tony awards have a lot of great options of performances of Tony nominated performances in the archives on their websites.
|
39 |
+
|
40 |
+
**GRMR-2B-Instruct**: Find a clip from a professional production of any musical within the past 50 years. The Tony Awards have a lot of great options of performances of Tony-nominated performances in their archives on their websites.
|
41 |
+
|
42 |
+
Note: This model uses a custom chat template:
|
43 |
+
|
44 |
+
```
|
45 |
+
Below is the original text. Please rewrite it to correct any grammatical errors if any, improve clarity, and enhance overall readability.
|
46 |
+
|
47 |
+
### Original Text:
|
48 |
+
{PROMPT HERE}
|
49 |
+
|
50 |
+
### Corrected Text:
|
51 |
+
{MODEL'S OUTPUT HERE}
|
52 |
+
```
|
53 |
+
|
54 |
+
I would recommend a temperature of 0.0 and repeat penalty 1.0 for this model to get optimal results.
|
55 |
+
|
56 |
+
|
57 |
+
*Disclaimer, I ran this text through the model itself to correct the grammar.*
|