--- license: gemma language: - de - en - it - fr - pt - es tags: - spectrum --- ![SauerkrautLM-gemma-2-2b-it]( https://vago-solutions.ai/wp-content/uploads/2024/08/SauerkrautLM-gemma-2-2b-it.png "SauerkrautLM-gemma-2-2b-it") ## VAGO solutions SauerkrautLM-gemma-2-2b-it **Fine-tuned Model** - *to showcase the potential of resource-efficient Fine-Tuning of Large Language Models using **Spectrum Fine-Tuning*** Introducing **SauerkrautLM-gemma-2-2b-it** – our Sauerkraut version of the powerful [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it)! - Fine-tuning on German-English data with [**Spectrum**](https://github.com/cognitivecomputations/spectrum) Fine-Tuning **targeting 25% of the layers.** - Utilized unique German-English Sauerkraut Mix v2 - Implemented bespoke, precision-engineered fine-tuning approach # Table of Contents 1. [Overview of all SauerkrautLM-gemma-2-2b-it](#all-SauerkrautLM-gemma-2-2b-it) 2. [Model Details](#model-details) - [Training procedure](#training-procedure) 3. [Evaluation](#evaluation) 5. [Disclaimer](#disclaimer) 6. [Contact](#contact) 7. [Collaborations](#collaborations) 8. [Acknowledgement](#acknowledgement) ## All SauerkrautLM-gemma-2-2b-it | Model | HF | EXL2 | GGUF | AWQ | |-------|-------|-------|-------|-------| | SauerkrautLM-gemma-2-2b-it | [Link](https://huggingface.co/VAGOsolutions/SauerkrautLM-gemma-2-2b-it) | coming soon | coming soon | coming soon | ## Model Details **SauerkrautLM-gemma-2-2b-it** - **Model Type:** SauerkrautLM-gemma-2-2b-it is a fine-tuned Model based on [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it) - **Language(s):** German, English - **License:** gemma - **Contact:** [VAGO solutions](https://vago-solutions.ai) ## Training Procedure This model showcases the potential of resource-efficient fine-tuning of large language models using Spectrum Fine-Tuning. Here's a brief on the procedure: **Fine-tuning on German-English Data**: - Utilized Spectrum Fine-Tuning, targeting 25% of the model's layers - Introduced the model to a unique German-English Sauerkraut Mix v2 - Implemented a bespoke, precision-engineered fine-tuning approach **Sauerkraut Mix v2**: - Premium Dataset for Language Models, focusing on German and English - Meticulously selected, high-quality dataset combinations - Cutting-edge synthetic datasets created using proprietary, high-precision generation techniques ## Objective and Results The primary goal of this training was to demonstrate that with Spectrum Fine-Tuning targeting 25% of the layers, a small 2 billion parameter model can enhance the capabilities while using a fraction of the resources of the classic fine-tuning approach. The model has significantly improved skills in instruction-following, common-sense reasoning and problem-solving. Further it improved in multilinguality by performing noticably better in MMLU, not only in German and English, but also in many other languages. **Spectrum Fine-Tuning can efficiently enhance a large language model's capabilities while preserving the majority of its previously acquired knowledge.** ## Evaluation **AGIEVAL** ![SauerkrautLM-gemma-2-2b-it-AGIEVAL]( https://vago-solutions.ai/wp-content/uploads/2024/08/AGIeval-gemma2.png "SauerkrautLM-gemma-2-2b-it-AGIEVAL") **GPT4ALL** ![SauerkrautLM-gemma-2-2b-it-GPT4ALL]( https://vago-solutions.ai/wp-content/uploads/2024/08/GPT4ALL-gemma2.png "SauerkrautLM-gemma-2-2b-it-GPT4ALL") **TRUTHFULQA** ![SauerkrautLM-gemma-2-2b-it-TRUTHFULQA]( https://vago-solutions.ai/wp-content/uploads/2024/08/TQA-gemma-gemma2.png "SauerkrautLM-gemma-2-2b-it-TRUTHFULQA") **OPENLEADERBOARD 2** ![SauerkrautLM-gemma-2-2b-it-OPENLEADERBOARD]( https://vago-solutions.ai/wp-content/uploads/2024/08/HF2-gemma2-1.png "SauerkrautLM-gemma-2-2b-it-OPENLEADERBOARD") **MMLU 5-shot** ![SauerkrautLM-gemma-2-2b-it-MMLU-5shot]( https://vago-solutions.ai/wp-content/uploads/2024/08/MMLU-gemma2.png "SauerkrautLM-gemma-2-2b-it-MMLU-5shot") Please be informed that our benchmark results in absolute numbers are different from the Hugging Face Leaderboard, due to different setups in our benchmark evaluation pipeline. However, the relative differences remain the same. ## Disclaimer We must inform users that despite our best efforts in data cleansing, the possibility of uncensored content slipping through cannot be entirely ruled out. However, we cannot guarantee consistently appropriate behavior. Therefore, if you encounter any issues or come across inappropriate content, we kindly request that you inform us through the contact information provided. Additionally, it is essential to understand that the licensing of these models does not constitute legal advice. We are not held responsible for the actions of third parties who utilize our models. ## Contact If you are interested in customized LLMs for business applications, please get in contact with us via our website. We are also grateful for your feedback and suggestions. ## Collaborations We are also keenly seeking support and investment for our startup, VAGO solutions where we continuously advance the development of robust language models designed to address a diverse range of purposes and requirements. If the prospect of collaboratively navigating future challenges excites you, we warmly invite you to reach out to us at [VAGO solutions](https://vago-solutions.ai) ## Acknowledgement Many thanks to [google](https://huggingface.co/google) for providing such a valuable model to the Open-Source community.