Text Generation
Transformers
Safetensors
mistral
conversational
Inference Endpoints
text-generation-inference
jondurbin commited on
Commit
374075b
1 Parent(s): 3f8d96a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md CHANGED
@@ -529,4 +529,36 @@ print(tokenizer.apply_chat_template(chat, tokenize=False))
529
  raise RuntimeError("bad format: " + line)
530
  context[parts.group(1)] = method_map[parts.group(2)](parts.group(3), **context)
531
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
532
  </details>
 
529
  raise RuntimeError("bad format: " + line)
530
  context[parts.group(1)] = method_map[parts.group(2)](parts.group(3), **context)
531
  ```
532
+ </details>
533
+
534
+ <details>
535
+ <summary>Create character cards</summary>
536
+
537
+ Included in the cinematika dataset, you can create YAML formatted character cards easily, e.g.:
538
+
539
+ ```text
540
+ Create a character card for Audrey, a woman who is the owner of a derelict building and is fiercely protective of her property. She should be portrayed as brave and resourceful, with a healthy skepticism towards the supernatural claims made by others. Audrey is determined to protect her family's legacy and the secrets it holds, often using intimidation and her practical approach to problem-solving to maintain control over her environment.
541
+ ```
542
+ </details>
543
+
544
+ <details>
545
+ <summary>Conversational memory creation</summary>
546
+
547
+ Also part of cinematika dataset, you can use a summarization style prompt to create memories from previous chat turns, which can then be used in a RAG system to populate your prompts when context becomes too long.
548
+
549
+ ```text
550
+ BEGININPUT
551
+ {chat}
552
+ ENDINPUT
553
+ BEGININSTRUCTION
554
+ Create a JSON formatted memory of the conversation with the following fields:
555
+ sentiment: Overall sentiment of the conversation, which must be "negative", "positive", "neutral", or "mixed".
556
+ emotions: List of most important/relevant emotions expressed within the conversation, if any.
557
+ impact: The importance and emotional impact of the conversation on a scale of 1 to 10, 10 being extremely important/emotional, and 1 being general chit-chat without anything of particular value.
558
+ topics: List of topics discussed.
559
+ personal_info: List of strings containing key personality traits, physical descriptions, preferences, quirks, interests, job, education, life goals, hobbies, pet names, or any other type of personal information that is shared.
560
+ title: Very brief title, which will be useful in quickly identifying or searching for memories.
561
+ summary: Summary of the conversation.
562
+ ENDINSTRUCTION
563
+ ```
564
  </details>