初始化项目,由ModelHub XC社区提供模型
Model: VAGOsolutions/SauerkrautLM-Nemo-12b-Instruct Source: Original Platform
This commit is contained in:
35
.gitattributes
vendored
Normal file
35
.gitattributes
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
102
README.md
Normal file
102
README.md
Normal file
@@ -0,0 +1,102 @@
|
||||
---
|
||||
license: apache-2.0
|
||||
language:
|
||||
- de
|
||||
- en
|
||||
- it
|
||||
- fr
|
||||
- pt
|
||||
- nl
|
||||
- ru
|
||||
- ar
|
||||
- es
|
||||
tags:
|
||||
- spectrum
|
||||
---
|
||||
|
||||

|
||||
## VAGO solutions SauerkrautLM-Nemo-12b-Instruct
|
||||
|
||||
**Fine-tuned Model** - *to showcase the potential of resource-efficient Fine-Tuning of Large Language Models using **Spectrum Fine-Tuning***
|
||||
|
||||
Introducing **SauerkrautLM-Nemo-12b-Instruct** – our Sauerkraut version of the powerful [mistralai/Mistral-Nemo-Instruct-2407](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407)!
|
||||
|
||||
- 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-Nemo-12b-Instruct](#all-SauerkrautLM-Nemo-12b-Instruct)
|
||||
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-Nemo-12b-Instruct
|
||||
|
||||
| Model | HF | EXL2 | GGUF | AWQ |
|
||||
|-------|-------|-------|-------|-------|
|
||||
| SauerkrautLM-Nemo-12b-Instruct | [Link](https://huggingface.co/VAGOsolutions/SauerkrautLM-Nemo-12b-Instruct) | coming soon | coming soon | coming soon |
|
||||
|
||||
## Model Details
|
||||
**SauerkrautLM-Nemo-12b-Instruct**
|
||||
- **Model Type:** SauerkrautLM-Nemo-12b-Instruct is a fine-tuned Model based on [mistralai/Mistral-Nemo-Instruct-2407](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407)
|
||||
- **Language(s):** German, English
|
||||
- **License:** Apache 2.0
|
||||
- **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 12 billion parameter model can significantly enhance the capabilities while using a fraction of the resources of the classic fine-tuning approach.
|
||||
|
||||
The model has substantially improved skills in German and English, as demonstrated by impressive benchmarks on the new Hugging Face leaderboard. At the same time, our fine-tuning improved skills in all other languages that Nemo can speak, showing inter-language effects in LLM performance.
|
||||
|
||||
**Spectrum Fine-Tuning can efficiently enhance a large language model's capabilities in multiple languages while preserving the majority of its previously acquired knowledge.**
|
||||
|
||||
## Evaluation
|
||||
|
||||
**AGIEVAL**
|
||||

|
||||
|
||||
**GPT4ALL**
|
||||

|
||||
|
||||
**TRUTHFULQA**
|
||||

|
||||
|
||||
**OPENLEADERBOARD 2**
|
||||

|
||||
|
||||
**MMLU 5-Shot**
|
||||

|
||||
|
||||
## 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 [Mistral AI](https://huggingface.co/mistralai) for providing such a valuable model to the Open-Source community.
|
||||
27
config.json
Normal file
27
config.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"_name_or_path": "VAGOsolutions/SauerkrautLM-Nemo-12b-Instruct",
|
||||
"architectures": [
|
||||
"MistralForCausalLM"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 1,
|
||||
"eos_token_id": 2,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 5120,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 14336,
|
||||
"max_position_embeddings": 1024000,
|
||||
"model_type": "mistral",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 40,
|
||||
"num_key_value_heads": 8,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_theta": 1000000.0,
|
||||
"sliding_window": null,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.43.0.dev0",
|
||||
"use_cache": true,
|
||||
"vocab_size": 131072
|
||||
}
|
||||
3
model-00001-of-00005.safetensors
Normal file
3
model-00001-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10f4251719180e047365ddd00baad5bd14dda10f7c40a9a30fe4fa05bd5dbba9
|
||||
size 5956051432
|
||||
3
model-00002-of-00005.safetensors
Normal file
3
model-00002-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd4dc7cf39c4e87295468e358ab47f9b8b8d15b62b2f8243775216feff95636c
|
||||
size 5998091560
|
||||
3
model-00003-of-00005.safetensors
Normal file
3
model-00003-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:087e39babd811c3ce0252340da1e03c6b4339921ad1beec4c2953d35d2ce2ff8
|
||||
size 5998091560
|
||||
3
model-00004-of-00005.safetensors
Normal file
3
model-00004-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d3163b55634ece84163c8f02589b34b94f81777edc286b5e7cc85f20b0ed0d4
|
||||
size 5998091520
|
||||
3
model-00005-of-00005.safetensors
Normal file
3
model-00005-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc0c16064f2e711968bcb6e5da38bf60e4e286f17a8b69eb6da4e433b42e71fd
|
||||
size 545281040
|
||||
1
model.safetensors.index.json
Normal file
1
model.safetensors.index.json
Normal file
File diff suppressed because one or more lines are too long
23
special_tokens_map.json
Normal file
23
special_tokens_map.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"bos_token": {
|
||||
"content": "<s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"eos_token": {
|
||||
"content": "</s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"unk_token": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
409625
tokenizer.json
Normal file
409625
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
8014
tokenizer_config.json
Normal file
8014
tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user