mrseeker commited on
Commit
1d8bad2
1 Parent(s): 0514b10

changing readme

Browse files
Files changed (2) hide show
  1. README.md +24 -0
  2. config.json +3 -1
README.md CHANGED
@@ -1,3 +1,27 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ language:
4
+ - en
5
+ pipeline_tag: text-generation
6
+ inference: true
7
+ tags:
8
+ - pytorch
9
+ - mistral
10
+ - finetuned
11
  ---
12
+ # Mistral 7B - Holodeck
13
+ ## Model Description
14
+ Mistral 7B-Holodeck is a finetune created using Mistral's 7B model.
15
+ ## Training data
16
+ The training data contains around 3000 ebooks in various genres.
17
+ Most parts of the dataset have been prepended using the following text: `[Genre: <genre1>, <genre2>]`
18
+ ### How to use
19
+ You can use this model directly with a pipeline for text generation. This example generates a different sequence each time it's run:
20
+ ```py
21
+ >>> from transformers import pipeline
22
+ >>> generator = pipeline('text-generation', model='KoboldAI/Mistral-7B-Holodeck-1')
23
+ >>> generator("Welcome Captain Janeway, I apologize for the delay.", do_sample=True, min_length=50)
24
+ [{'generated_text': 'Welcome Captain Janeway, I apologize for the delay."\nIt's all right," Janeway said. "I'm certain that you're doing your best to keep me informed of what\'s going on."'}]
25
+ ```
26
+ ### Limitations and Biases
27
+ Based on known problems with NLP technology, potential relevant factors include bias (gender, profession, race and religion).
config.json CHANGED
@@ -22,5 +22,7 @@
22
  "torch_dtype": "float16",
23
  "transformers_version": "4.36.0",
24
  "use_cache": false,
25
- "vocab_size": 32000
 
 
26
  }
 
22
  "torch_dtype": "float16",
23
  "transformers_version": "4.36.0",
24
  "use_cache": false,
25
+ "vocab_size": 32000,
26
+ "welcome": "You are currently running story-writing model `Holodeck, version 1 (Mistral 7B).`\n\n This model is made by [Mr. Seeker](https://www.patreon.com/mrseeker) with help of the KoboldAI team.\n\n### How to use this model\n\Holodeck is designed to generate short stories and novels. Use the author's note to give it a certain genre to follow, use memory to give an overview of the story and use World Information to give specific details about the characters. To start off, give the AI an idea of what you are writing about by setting the scene. Give the AI around 10 sentences that make your story interesting to read. Introduce your character, describe the world, blow something up, or let the AI use its creative mind.",
27
+ "antemplate": "[Genre: <|>]"
28
  }