Downloads · 30 days
289
25% of all-time downloads
neoncortex/mini-mistral-openhermes-2.5-chatml-test
mini-mistral-openhermes-2.5-chatml-test is a text generation model from neoncortex. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as openrail.
A tiny Mistral model trained as an experiment on teknium/OpenHermes-2.5.
Downloads · 30 days
289
25% of all-time downloads
All-time downloads
1.2K
Public
Parameters
62.7M
376 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors125 MB · 99%
From the Hugging Face model README
A tiny Mistral model trained as an experiment on teknium/OpenHermes-2.5.
A 63M parameter auto-regressive LM using Mistral architecture as a base.
Just doing it to see what happens.
It'll take about 40 to 45 hours to train on two Nvidia RTX 3060 12GB.
It uses ChatML for the chat template, but I messed up the template in the dataset, using '<|im_start|>human' instead of '<|im_start|>user'. ¯_(ツ)_/¯ So, here's the bits:
{%- set ns = namespace(found=false) -%}
{%- for message in messages -%}
{%- if message['role'] == 'system' -%}
{%- set ns.found = true -%}
{%- endif -%}
{%- endfor -%}
{%- for message in messages %}
{%- if message['role'] == 'system' -%}
{{- '<|im_start|>system\n' + message['content'].rstrip() + '<|im_end|>\n' -}}
{%- else -%}
{%- if message['role'] == 'human' -%}
{{-'<|im_start|>human\n' + message['content'].rstrip() + '<|im_end|>\n'-}}
{%- else -%}
{{-'<|im_start|>assistant\n' + message['content'] + '<|im_end|>\n' -}}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- if add_generation_prompt -%}
{{-'<|im_start|>assistant\n'-}}
{%- endif -%}
Exclusively available right here on HuggingFace!
None
This model won't work well for pretty much everything, probably.
Format the OpenHermes 2.5 dataset with ChatML.
I tried to run evals but the eval suite just laughed at me.
Don't be rude.
I trained it on my PC with no side on it because I like to watch the GPUs do their work.
2 x Nvidia RTX 3060 12GB
The wonderful free stuff at HuggingFace (https://huggingface.co)[https://huggingface.co]: transformers, datasets, trl