--- library_name: transformers license: apache-2.0 language: - en base_model: - mistralai/Mistral-Nemo-Base-2407 tags: - general-purpose - roleplay - storywriting - chemistry - biology - code - climate - axolotl - text-generation-inference - finetune datasets: - PocketDoc/Dans-MemoryCore-CoreCurriculum-Small - AquaV/Energetic-Materials-Sharegpt - AquaV/Chemical-Biological-Safety-Applications-Sharegpt - AquaV/US-Army-Survival-Sharegpt - AquaV/Resistance-Sharegpt - AquaV/Interrogation-Sharegpt - AquaV/Multi-Environment-Operations-Sharegpt - PocketDoc/Dans-Mathmaxx - PocketDoc/Dans-Mathmaxx-Numina-CoT - PJMixers/Math-Multiturn-1K-ShareGPT - PocketDoc/Dans-Benchmaxx - PocketDoc/Dans-Benchmaxx-COT - PocketDoc/Dans-Codemaxx-LeetCode - PocketDoc/Dans-Codemaxx-CodeFeedback-Conversations - PocketDoc/Dans-Codemaxx-CodeFeedback-SingleTurn - PocketDoc/Dans-Codemaxx-Bigcode-SelfInstruct - PocketDoc/Dans-Taskmaxx - PocketDoc/Dans-Taskmaxx-DataPrepper - PocketDoc/Dans-Taskmaxx-ConcurrentQA-Reworked - PocketDoc/Dans-Taskmaxx-TableGPT - PocketDoc/Dans-Taskmaxx-SciRIFF - PocketDoc/Dans-Taskmaxx-Edit - PocketDoc/Dans-Systemmaxx - PocketDoc/Dans-Toolmaxx-Agent - PocketDoc/Dans-Toolmaxx-ShellCommands - PocketDoc/Dans-Toolmaxx-Functions-Toolbench - PocketDoc/Dans-Toolmaxx-Functions-ToolACE - PocketDoc/Dans-Toolmaxx-Functions-apigen - PocketDoc/Dans-ASCIIMaxx-Wordart - PocketDoc/Dans-Prosemaxx-Gutenberg - PocketDoc/Dans-Prosemaxx-Cowriter-M - PocketDoc/Dans-Prosemaxx-Adventure - PocketDoc/Dans-Prosemaxx-Gryphe-GPT4o-WritingPrompts - PocketDoc/Dans-Assistantmaxx-Sharegpt - PocketDoc/Dans-Assistantmaxx-OpenAssistant2 - PocketDoc/Dans-Assistantmaxx-Opus-Merge - PocketDoc/Dans-Assistantmaxx-sonnetorca-subset - PocketDoc/Dans-Assistantmaxx-sonnetorca-subset-2 - PocketDoc/Dans-Assistantmaxx-NoRobots - PocketDoc/Dans-Assistantmaxx-Synthia - PocketDoc/Dans-Assistantmaxx-ASL - PocketDoc/Dans-Assistantmaxx-PersonaLLM-Opus - PocketDoc/Dans-Assistantmaxx-UnnaturalInstructions-GPT4 - PocketDoc/Dans-Assistantmaxx-LongAlign - PocketDoc/Dans-Assistantmaxx-EvolKit - PocketDoc/Dans-Assistantmaxx-Camel-GPT4 - PocketDoc/Dans-Assistantmaxx-Tulu3-IF - PocketDoc/Dans-Logicmaxx-Skunkworks - PocketDoc/Dans-Logicmaxx-SAT-AP - PocketDoc/Dans-Logicmaxx-Magpie-Ultra - PJMixers/grimulkan_theory-of-mind-ShareGPT - PJMixers/grimulkan_physical-reasoning-ShareGPT - PocketDoc/Dans-Personamaxx - PocketDoc/Dans-Personamaxx-Rainy - PocketDoc/Dans-Personamaxx-Aesir - PocketDoc/Dans-Kinomaxx-VanillaBackrooms model-index: - name: Dans-PersonalityEngine-V1.1.0-12b results: [] pipeline_tag: text-generation ---
This model series is intended to be multifarious in its capabilities and should be quite capable at both co-writing and roleplay as well as find itself quite at home performing sentiment analysis or summarization as part of a pipeline. It has been trained on a wide array of one shot instructions, multi turn instructions, tool use, role playing scenarios, text adventure games, co-writing, and much more.
BASE MODEL: mistralai/Mistral-Nemo-Base-2407 LICENSE: apache-2.0 LANGUAGE: English CONTEXT LENGTH: 32768 tokens
TEMPERATURE: 1.0 TOP_P: 0.95 MIN_P: 0.05
The model uses standard "ChatML" format:
<|im_start|>system system prompt<|im_end|> <|im_start|>user Hi there!<|im_end|> <|im_start|>assistant Nice to meet you!<|im_end|>
{ "story_string": "<|im_start|>system\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}}<|im_end|>\n", "example_separator": "", "chat_start": "", "use_stop_strings": false, "allow_jailbreak": false, "always_force_name2": false, "trim_sentences": false, "include_newline": false, "single_line": false, "name": "Dan-ChatML" }
{ "system_prompt": "Write {{char}}'s actions and dialogue, user will write {{user}}'s.", "input_sequence": "<|im_start|>user\n", "output_sequence": "<|im_start|>assistant\n", "first_output_sequence": "", "last_output_sequence": "", "system_sequence_prefix": "", "system_sequence_suffix": "", "stop_sequence": "<|im_end|>", "wrap": false, "macro": true, "names": false, "names_force_groups": false, "activation_regex": "", "skip_examples": false, "output_suffix": "<|im_end|>\n", "input_suffix": "<|im_end|>\n", "system_sequence": "<|im_start|>system\n", "system_suffix": "<|im_end|>\n", "user_alignment_message": "", "last_system_sequence": "", "system_same_as_user": false, "first_input_sequence": "", "last_input_sequence": "", "name": "Dan-ChatML" }
System: Act as a personable virtual assistant.
User: I'm going to be in Chicago soon can you help me work up some restaurant ideas?
Assistant: I'd love to! Here are a few suggestions for restaurants in Chicago:
Let me know if you need any other recommendations or have specific dietary restrictions or preferences!
System: Answer the question or perform the task.
User: Explain the bug in the following code:
from time import sleep from multiprocessing.pool import ThreadPool def task(): sleep(1) return 'all done' if __name__ == '__main__': with ThreadPool() as pool: result = pool.apply_async(task())
Assistant: The bug in this code is that the `task()` function is called immediately when the `apply_async()` method is invoked, not when the worker process is ready to execute it.
Specifically, the line `result = pool.apply_async(task())` calls `task()` right away and passes its return value to `apply_async()`. The worker process will execute whatever `task()` returns at that moment, which is `'all done'` since `task()` completes execution almost immediately.
To fix this bug, you need to pass the `task` function itself to `apply_async()`, rather than calling `task()` beforehand. Here's the corrected code:
from time import sleep from multiprocessing.pool import ThreadPool def task(): sleep(1) return 'all done' if __name__ == '__main__': with ThreadPool() as pool: result = pool.apply_async(task) # Pass the function, not the result value = result.get() # Wait for the result print(value)
System: Take the users messages and use them as a writing prompt. Write 6 sentences.
User: Alpha Centauri has fallen, to the bears. This is a point of view tale about a soldier on the ground.
Assistant: "Sir, they are gone sir." The young corporal was out of breath.
The soldier looked up. His grey eyes had been locked on his holofac display for hours now. He was in his late thirties and wore the rank of colonel. He was tall, with a well-muscled but slightly over weight body.
User: "Who?"
Assistant: He turned and looked at the corporal.
"The bears. They left. We checked the entire perimeter. No bears to be found sir."
"Did you check the air?"
"Not the air, sir. We didn't see any shuttles. But we have drones out now."
User: "*Sigh*"
Assistant: "Ok, get me the status report. I need to know how many dead we have."
"Yes sir." The corporal turned to leave.
"Corporal…"
"Sir?"
"Get me a fresh cup of coffee. Black. I need the caffeine."
System: You are a professional editor with decades of experience, help the user with any task they have for you.
User: Can you rewrite this to flow better? "I knew I probably shouldnt have done that but ohhh well i guess i just going to live with it since whats done is done"
Assistant: I knew I probably shouldn't have done that, but oh well. I guess I just going to live with it since what's done is done.
Full finetuned for 2 epochs on 1x H200 SXM (88 hours of training)
Development is limited by funding and resources. To help support:
- Contact on HF
- Email: visuallyadequate@gmail.com