KrisKale45
commited on
Commit
•
da6f9ca
1
Parent(s):
4b1841d
Create README.md
Browse filesInitial GGML set up.
README.md
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- LLM
|
4 |
+
- llama
|
5 |
+
- writing
|
6 |
+
---
|
7 |
+
|
8 |
+
<!-- header start -->
|
9 |
+
<div style="width: 100%;">
|
10 |
+
<img src="https://i.imgur.com/eNZ7P8D.png" alt="FPHam's Harper" style="width: 50%; min-width: 300px; display: block; margin: auto;">
|
11 |
+
</div>
|
12 |
+
<div style="display: flex; flex-direction: column; align-items: center;">
|
13 |
+
<p><a href="https://ko-fi.com/Q5Q5MOB4M">Buy Rachel Ko-fi (I'll give her a sip)</a></p>
|
14 |
+
</div>
|
15 |
+
<!-- header end -->
|
16 |
+
|
17 |
+
## This is a GGML fork for:
|
18 |
+
|
19 |
+
## Rachel is an assistant editor for your fiction. (v.2)
|
20 |
+
|
21 |
+
This is a retraining of [Harper Assistant Editor](https://huggingface.co/FPHam/Harper_AssistantEditor_V1_13b_GPTQ) (who has been fired - she was just too young and inexperienced to do this job properly)
|
22 |
+
|
23 |
+
|
24 |
+
Meet Rachel. She's a senior Assistant Editor at the famous FP Ham publishing company.
|
25 |
+
|
26 |
+
**IMPORTANT NOTE: Rachel uses ALPACA instruct**
|
27 |
+
|
28 |
+
If you want to get in touch with Rachel, a decent approach is to ask her to
|
29 |
+
```
|
30 |
+
### Instruction: Rewrite the following text: <the text>
|
31 |
+
### Response:
|
32 |
+
```
|
33 |
+
Text should be a short paragraph at a time, few sentences. If you write long paragraphs, Rachel might feel the urge to shorten them.
|
34 |
+
You see, her attention span is like that of a goldfish.
|
35 |
+
|
36 |
+
You can give her specific instructions like:
|
37 |
+
```
|
38 |
+
Rewrite the following text using aristocratic British English,
|
39 |
+
also known as 'Receiver Pronunciation' (RP) or 'BBC English':
|
40 |
+
```
|
41 |
+
|
42 |
+
Oh, and just a heads up, if you ask her to use profanity, well, the outcome is all on you because she is very eager to comply.
|
43 |
+
|
44 |
+
Don't be surprised if Rachel jumps at the chance to correct your words, even if you thought they were perfectly fine.
|
45 |
+
She's just that eager to make her mark, you know?
|
46 |
+
|
47 |
+
## Examples
|
48 |
+
|
49 |
+
Here are some examples. The format was as just as above, an instruction to rewrite text follwing with the input text itself.
|
50 |
+
|
51 |
+
The input text was (of course):
|
52 |
+
```
|
53 |
+
It is a truth universally acknowledged, that a single man in possession
|
54 |
+
of a good fortune must be in want of a wife.
|
55 |
+
However little known the feelings or views of such a man may be on his
|
56 |
+
first entering a neighbourhood, this truth is so well fixed in the minds
|
57 |
+
of the surrounding families, that he is considered as the rightful property
|
58 |
+
of some one or other of their daughters.
|
59 |
+
```
|
60 |
+
Rewrite the following text in a modern, easy-to-read language
|
61 |
+
```
|
62 |
+
Everyone knows that if a guy has money and isn't married,
|
63 |
+
people will think he needs to find a wife.
|
64 |
+
So it's assumed that whoever owns all that
|
65 |
+
cash should hook up with someone from the neighborhood.
|
66 |
+
|
67 |
+
```
|
68 |
+
|
69 |
+
Rewrite the following text the way Zapp Brannigan from Futurama talks
|
70 |
+
```
|
71 |
+
Y'know, it's a fact, sonny, that any fella with a bit o' money to spare
|
72 |
+
has gotta find himself a missus.
|
73 |
+
They all know the score - ain't no secret that when a new face rolls into town,
|
74 |
+
there's gonna be some lucky lady claimin' him for her own.
|
75 |
+
Ain't nothin' like it in their heads, mind you, but they don't need no fancy
|
76 |
+
talkers to figure out who gets dibs on 'em.
|
77 |
+
|
78 |
+
```
|
79 |
+
|
80 |
+
Rewrite the following text reversing the genders
|
81 |
+
```
|
82 |
+
It is a truth universally acknowledged, that a single woman in
|
83 |
+
possession of a good fortune must be in want of a husband.
|
84 |
+
However little known the feelings or views of such a woman may
|
85 |
+
be on her first entering a neighbourhood, this truth is so well fixed
|
86 |
+
in the minds of the surrounding families, that she is considered as
|
87 |
+
the rightful property of some one or other of their sons.
|
88 |
+
```
|
89 |
+
|
90 |
+
Rewrite the following text in Czech
|
91 |
+
```
|
92 |
+
Je pravda, kterou uznávají všichni, že jednotlivec vlastnící nějaké bohatství musí
|
93 |
+
potřebovat ženu.
|
94 |
+
Ačkoli pocity nebo názory takového muže mohou být málo známé okolním rodinám,
|
95 |
+
když se poprvé setká s blízkým okolím, je tato pravda tak pevně zakořeněná
|
96 |
+
ve mysli sousedních rodin, že je považován za majetek právem jedné ze jejich dcer.
|
97 |
+
```
|
98 |
+
|
99 |
+
Rewrite the following text using profanity, obscenity, and vulgar language
|
100 |
+
```
|
101 |
+
(okay, try it for yuourself if you must)
|
102 |
+
```
|
103 |
+
|
104 |
+
## Technicalities
|
105 |
+
|
106 |
+
Based on Meta LLaMA
|
107 |
+
|
108 |
+
Trained using ALPACA Instruct :
|
109 |
+
|
110 |
+
```
|
111 |
+
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
112 |
+
### Instruction: Rewrite the following text: <the text>
|
113 |
+
### Response:
|
114 |
+
```
|
115 |
+
|
116 |
+
You can have a conversation with Rachel about your text of course.
|
117 |
+
|
118 |
+
Params.
|
119 |
+
I am only happy if you experiment with the parameters. The parameters I used to test:
|
120 |
+
Temperature: 0.7
|
121 |
+
```
|
122 |
+
top_p: 0.9
|
123 |
+
top_k: 20
|
124 |
+
repetition penalty: 1.15
|
125 |
+
```
|