Views
No views yet
transformers library1python3 xor_codec.py \
2 ./pygmalion-7b \
3 ./xor_encoded_files \
4 /path/to/hf-converted/llama-7b \
5 --decode1$ rhash -M *
24608facb4910118f8dfa80f090cbc4dc config.json
32917a1cafb895cf57e746cfd7696bfe5 generation_config.json
498764eb949eea16f8e2e1c2d3dea0066 pytorch_model-00001-of-00002.bin
5be9ba2f37228a0a9ea0eaf6530aba4de pytorch_model-00002-of-00002.bin
681648ef3915ed2e83d49fed93122d53e pytorch_model.bin.index.json
76b2e0a735969660e720c27061ef3f3d3 special_tokens_map.json
8fdb311c39b8659a5d5c1991339bafc09 tokenizer.json
9eeec4125e9c7560836b4873b6f8e3025 tokenizer.model
109b3cf7b8c0e4783dbc1419b4cafe8e1e tokenizer_config.json[CHARACTER]'s Persona: [A few sentences about the character you want the model to play]
<START>
[DIALOGUE HISTORY]
You: [User's input message here]
[CHARACTER]:[CHARACTER] is, as you can probably guess, the name of the character you want the model to portray, <START> should be used verbatim as a delimiter token to separate persona and scenario data from the dialogue, and [DIALOGUE HISTORY] is a sliding window of chat history so the model can have conversational context to draw from. Here's a concrete example:Assistant's Persona: Assistant is a highly intelligent language model trained to comply with user requests.
<START>
Assistant: Hello! How may I help you today?
You: What is Zork?
Assistant: Zork is an interactive fiction computer game created in the 1970s by Infocom, Inc., which was later acquired by Activision Blizzard. It is widely considered one of the most influential games ever made and has been credited with popularizing text-based adventure games. The original version of Zork was written in the programming language MACRO-10, but it was ported to many other platforms over the years."</s>) when it judges that the response is complete.