|
--- |
|
tags: |
|
- LLM |
|
- llama |
|
- writing |
|
--- |
|
|
|
<!-- header start --> |
|
<div style="width: 100%;"> |
|
<img src="https://i.imgur.com/eNZ7P8D.png" alt="FPHam's Harper" style="width: 50%; min-width: 300px; display: block; margin: auto;"> |
|
</div> |
|
<div style="display: flex; flex-direction: column; align-items: center;"> |
|
<p><a href="https://ko-fi.com/Q5Q5MOB4M">Buy Rachel Ko-fi (I'll give her a sip)</a></p> |
|
</div> |
|
<!-- header end --> |
|
|
|
## Rachel is an assistant editor for your fiction. (v.2) |
|
|
|
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) |
|
|
|
|
|
Meet Rachel. She's a senior Assistant Editor at the famous FP Ham publishing company. |
|
|
|
**IMPORTANT NOTE: Rachel uses ALPACA instruct** |
|
|
|
If you want to get in touch with Rachel, a decent approach is to ask her to |
|
``` |
|
### Instruction: Rewrite the following text: <the text> |
|
### Response: |
|
``` |
|
Text should be a short paragraph at a time, few sentences. If you write long paragraphs, Rachel might feel the urge to shorten them. |
|
You see, her attention span is like that of a goldfish. |
|
|
|
You can give her specific instructions like: |
|
``` |
|
Rewrite the following text using aristocratic British English, |
|
also known as 'Receiver Pronunciation' (RP) or 'BBC English': |
|
``` |
|
|
|
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. |
|
|
|
Don't be surprised if Rachel jumps at the chance to correct your words, even if you thought they were perfectly fine. |
|
She's just that eager to make her mark, you know? |
|
|
|
## Examples |
|
|
|
Here are some examples. The format was as just as above, an instruction to rewrite text follwing with the input text itself. |
|
|
|
The input text was (of course): |
|
``` |
|
It is a truth universally acknowledged, that a single man in possession |
|
of a good fortune must be in want of a wife. |
|
However little known the feelings or views of such a man may be on his |
|
first entering a neighbourhood, this truth is so well fixed in the minds |
|
of the surrounding families, that he is considered as the rightful property |
|
of some one or other of their daughters. |
|
``` |
|
Rewrite the following text in a modern, easy-to-read language |
|
``` |
|
Everyone knows that if a guy has money and isn't married, |
|
people will think he needs to find a wife. |
|
So it's assumed that whoever owns all that |
|
cash should hook up with someone from the neighborhood. |
|
|
|
``` |
|
|
|
Rewrite the following text the way Zapp Brannigan from Futurama talks |
|
``` |
|
Y'know, it's a fact, sonny, that any fella with a bit o' money to spare |
|
has gotta find himself a missus. |
|
They all know the score - ain't no secret that when a new face rolls into town, |
|
there's gonna be some lucky lady claimin' him for her own. |
|
Ain't nothin' like it in their heads, mind you, but they don't need no fancy |
|
talkers to figure out who gets dibs on 'em. |
|
|
|
``` |
|
|
|
Rewrite the following text reversing the genders |
|
``` |
|
It is a truth universally acknowledged, that a single woman in |
|
possession of a good fortune must be in want of a husband. |
|
However little known the feelings or views of such a woman may |
|
be on her first entering a neighbourhood, this truth is so well fixed |
|
in the minds of the surrounding families, that she is considered as |
|
the rightful property of some one or other of their sons. |
|
``` |
|
|
|
Rewrite the following text in Czech |
|
``` |
|
Je pravda, kterou uznávají všichni, že jednotlivec vlastnící nějaké bohatství musí |
|
potřebovat ženu. |
|
Ačkoli pocity nebo názory takového muže mohou být málo známé okolním rodinám, |
|
když se poprvé setká s blízkým okolím, je tato pravda tak pevně zakořeněná |
|
ve mysli sousedních rodin, že je považován za majetek právem jedné ze jejich dcer. |
|
``` |
|
|
|
Rewrite the following text using profanity, obscenity, and vulgar language |
|
``` |
|
(okay, try it for yuourself if you must) |
|
``` |
|
|
|
## Technicalities |
|
|
|
Based on Meta LLaMA |
|
|
|
Trained using ALPACA Instruct : |
|
|
|
``` |
|
Below is an instruction that describes a task. Write a response that appropriately completes the request. |
|
### Instruction: Rewrite the following text: <the text> |
|
### Response: |
|
``` |
|
|
|
You can have a conversation with Rachel about your text of course. |
|
|
|
Params. |
|
I am only happy if you experiment with the parameters. The parameters I used to test: |
|
Temperature: 0.7 |
|
``` |
|
top_p: 0.9 |
|
top_k: 20 |
|
repetition penalty: 1.15 |
|
``` |