Downloads · 30 days
22
21% of all-time downloads
TroyDoesAI/Mermaid-Llama-3-7B-Pruned
Mermaid-Llama-3-7B-Pruned is a text generation model from TroyDoesAI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-4.0.
What If I told you I found 5 layers out of the 32 that do absolutely nothing.
Downloads · 30 days
22
21% of all-time downloads
All-time downloads
105
Public
Parameters
7.2B
58.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors14.3 GB · 100%
From the Hugging Face model README
What If I told you I found 5 layers out of the 32 that do absolutely nothing.
Cutting these layers out do not change the output for my model at all individually, but cutting all 5 at once breaks the model completely. Lets take 4 layers out of 5 out and see if we can recover after removing this redundancy.
Please Give my Mermaid-Llama-3-8B and This Mermaid-Llama-3-Pruned-7B and the rest of the pruned Mermaids.
28/32 Layers Model.
Introducing Mermaid-LLama-3-7B, a robust language model designed for Python code understanding and crafting captivating story flow maps. Pruned down to 7 billion parameter.
See MergeKit Notes And Try Triming my model yourself and explore my world of trimming models to fit SMARTER Models with lower requirements f or specific tasks. Mermaid is just a start, Hire me to solve your problem and I will build the smallest footprint model that solves just that problem.
I wish to specialize in packing models on Edge Devices.
Open For Hire See my links to my Linkedin for more.

Code Understanding:
Storytelling Capabilities:
Unmatched Performance:
Training Insights:
Interested in enhancing Mermaid's capabilities? Contact [email protected] for collaboration opportunities.
Stay tuned for the release of the VSCode Extension that displays the Live Flow Map every time a user stops typing for more than 10 seconds.
Target Modules:
Start by downloading one of my models.

Load the model.

Use my prompt template to generate a Mermaid code block, which can be viewed in the Mermaid Live Editor or using the Mermaid CLI tool.

Here we open the VLLM GUI Program while still running in Vram the Mermaid-Llama-8B to compare the flow diagram to the actual program and show the lightweight capabilites of small models on consumer hardware.


Note: This model should be treated as an Auto-Complete Model, Do not try talking to it in chat you are gonna get garbage, those layers have been pruned and replaced, that is all you will hear of my secret sauce on training on small < 1000 entry datasets.