初始化项目,由ModelHub XC社区提供模型
Model: VAGOsolutions/Llama-3.1-SauerkrautLM-8b-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
|
||||
97
README.md
Normal file
97
README.md
Normal file
@@ -0,0 +1,97 @@
|
||||
---
|
||||
license: llama3.1
|
||||
language:
|
||||
- de
|
||||
- en
|
||||
- it
|
||||
- fr
|
||||
- pt
|
||||
- es
|
||||
tags:
|
||||
- spectrum
|
||||
---
|
||||
|
||||

|
||||
## VAGO solutions Llama-3.1-SauerkrautLM-8b-Instruct
|
||||
|
||||
**Fine-tuned Model** - *to showcase the potential of resource-efficient Fine-Tuning of Large Language Models using **Spectrum Fine-Tuning***
|
||||
|
||||
Introducing **Llama-3.1-SauerkrautLM-8b-Instruct** – our Sauerkraut version of the powerful [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct)!
|
||||
|
||||
- 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 Llama-3.1-SauerkrautLM-8b-Instruct](#all-Llama-3.1-SauerkrautLM-8b-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 Llama-3.1-SauerkrautLM-8b-Instruct
|
||||
|
||||
| Model | HF | EXL2 | GGUF | AWQ |
|
||||
|-------|-------|-------|-------|-------|
|
||||
| Llama-3.1-SauerkrautLM-8b-Instruct | [Link](https://huggingface.co/VAGOsolutions/Llama-3.1-SauerkrautLM-8b-Instruct) | coming soon | coming soon | [Link](https://huggingface.co/VAGOsolutions/Llama-3.1-SauerkrautLM-8b-Instruct-awq) |
|
||||
|
||||
## Model Details
|
||||
**Llama-3.1-SauerkrautLM-8b-Instruct**
|
||||
- **Model Type:** Llama-3.1-SauerkrautLM-8b-Instruct is a fine-tuned Model based on [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/mistralai/meta-llama/Meta-Llama-3.1-8B-Instruct)
|
||||
- **Language(s):** German, English
|
||||
- **License:** llama3.1
|
||||
- **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 8 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.
|
||||
|
||||
**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**
|
||||

|
||||
|
||||
|
||||
## 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 [meta-llama](https://huggingface.co/meta-llama) for providing such a valuable model to the Open-Source community.
|
||||
39
config.json
Normal file
39
config.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"_name_or_path": "VAGOsolutions/Llama-3.1-SauerkrautLM-8b-Instruct",
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 128000,
|
||||
"eos_token_id": [
|
||||
128001,
|
||||
128008,
|
||||
128009
|
||||
],
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 4096,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 14336,
|
||||
"max_position_embeddings": 131072,
|
||||
"mlp_bias": false,
|
||||
"model_type": "llama",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 32,
|
||||
"num_key_value_heads": 8,
|
||||
"pretraining_tp": 1,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_scaling": {
|
||||
"factor": 8.0,
|
||||
"high_freq_factor": 4.0,
|
||||
"low_freq_factor": 1.0,
|
||||
"original_max_position_embeddings": 8192,
|
||||
"rope_type": "llama3"
|
||||
},
|
||||
"rope_theta": 500000.0,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.44.0.dev0",
|
||||
"use_cache": true,
|
||||
"vocab_size": 128256
|
||||
}
|
||||
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:a13b4836d60fb833e4d513db9ad1d8ec78b86458da352e5095f33785ed0dd3ff
|
||||
size 3963695656
|
||||
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:ec23b8614a55607d2535948b4caf686b10494f02c76466d94e8bfb7228634812
|
||||
size 3926025448
|
||||
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:28cb01f6a8c13469c8c7f7f9256e0fd840f7781cad47f2c9e4f9aabf6f9305fd
|
||||
size 3926025456
|
||||
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:bd1c556dd1cf9ac74cac87eff207162767d67f802732bcfe1d5fc9a98fbcb3cd
|
||||
size 3926025400
|
||||
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:7ede0c5c5c34008cfb9b14d8cdd18d93bd558ed3c8d49c46ba0df0c504863806
|
||||
size 318784416
|
||||
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
16
special_tokens_map.json
Normal file
16
special_tokens_map.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"bos_token": {
|
||||
"content": "<|begin_of_text|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"eos_token": {
|
||||
"content": "<|eot_id|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
410504
tokenizer.json
Normal file
410504
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
2062
tokenizer_config.json
Normal file
2062
tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user