初始化项目,由ModelHub XC社区提供模型
Model: QuantFactory/Replete-LLM-Qwen2-7b-GGUF Source: Original Platform
This commit is contained in:
49
.gitattributes
vendored
Normal file
49
.gitattributes
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
*.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
|
||||
Replete-LLM-Qwen2-7b.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Replete-LLM-Qwen2-7b.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
144
README.md
Normal file
144
README.md
Normal file
@@ -0,0 +1,144 @@
|
||||
|
||||
---
|
||||
|
||||
license: apache-2.0
|
||||
base_model:
|
||||
- Qwen/Qwen2-7B
|
||||
datasets:
|
||||
- Replete-AI/Everything_Instruct_8k_context_filtered
|
||||
tags:
|
||||
- unsloth
|
||||
language:
|
||||
- en
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
# QuantFactory/Replete-LLM-Qwen2-7b-GGUF
|
||||
This is quantized version of [Replete-AI/Replete-LLM-Qwen2-7b](https://huggingface.co/Replete-AI/Replete-LLM-Qwen2-7b) created using llama.cpp
|
||||
|
||||
# Original Model Card
|
||||
|
||||
Replete-LLM-Qwen2-7b
|
||||
|
||||

|
||||
|
||||
Thank you to TensorDock for sponsoring **Replete-LLM**
|
||||
you can check out their website for cloud compute rental below.
|
||||
- https://tensordock.com
|
||||
_____________________________________________________________
|
||||
**Replete-LLM** is **Replete-AI**'s flagship model. We take pride in releasing a fully open-source, low parameter, and competitive AI model that not only surpasses its predecessor **Qwen2-7B-Instruct** in performance, but also competes with (if not surpasses) other flagship models from closed source like **gpt-3.5-turbo**, but also open source models such as **gemma-2-9b-it**
|
||||
and **Meta-Llama-3.1-8B-Instruct** in terms of overall performance across all fields and categories. You can find the dataset that this model was trained on linked bellow:
|
||||
|
||||
- https://huggingface.co/datasets/Replete-AI/Everything_Instruct_8k_context_filtered
|
||||
|
||||
Try bartowski's quantizations:
|
||||
|
||||
- https://huggingface.co/bartowski/Replete-LLM-Qwen2-7b-exl2
|
||||
|
||||
- https://huggingface.co/bartowski/Replete-LLM-Qwen2-7b-GGUF
|
||||
|
||||
Cant run the model locally? Well then use the huggingface space instead:
|
||||
|
||||
- https://huggingface.co/spaces/rombodawg/Replete-LLM-Qwen2-7b
|
||||
|
||||
Some statistics about the data the model was trained on can be found in the image and details bellow, while a more comprehensive look can be found in the model card for the dataset. (linked above):
|
||||
|
||||

|
||||
|
||||
**Replete-LLM-Qwen2-7b** is a versatile model fine-tuned to excel on any imaginable task. The following types of generations were included in the fine-tuning process:
|
||||
|
||||
- **Science**: (General, Physical Reasoning)
|
||||
- **Social Media**: (Reddit, Twitter)
|
||||
- **General Knowledge**: (Character-Codex), (Famous Quotes), (Steam Video Games), (How-To? Explanations)
|
||||
- **Cooking**: (Cooking Preferences, Recipes)
|
||||
- **Writing**: (Poetry, Essays, General Writing)
|
||||
- **Medicine**: (General Medical Data)
|
||||
- **History**: (General Historical Data)
|
||||
- **Law**: (Legal Q&A)
|
||||
- **Role-Play**: (Couple-RP, Roleplay Conversations)
|
||||
- **News**: (News Generation)
|
||||
- **Coding**: (3 million rows of coding data in over 100 coding languages)
|
||||
- **Math**: (Math data from TIGER-Lab/MathInstruct)
|
||||
- **Function Calling**: (Function calling data from "glaiveai/glaive-function-calling-v2")
|
||||
- **General Instruction**: (All of teknium/OpenHermes-2.5 fully filtered and uncensored)
|
||||
______________________________________________________________________________________________
|
||||
## Prompt Template: ChatML
|
||||
```
|
||||
<|im_start|>system
|
||||
{}<|im_end|>
|
||||
<|im_start|>user
|
||||
{}<|im_end|>
|
||||
<|im_start|>assistant
|
||||
{}
|
||||
```
|
||||
|
||||
## End token (eot_token)
|
||||
```
|
||||
<|endoftext|>
|
||||
```
|
||||
______________________________________________________________________________________________
|
||||
Want to know the secret sause of how this model was made? Find the write up bellow
|
||||
|
||||
**Continuous Fine-tuning Without Loss Using Lora and Mergekit**
|
||||
|
||||
https://docs.google.com/document/d/1OjbjU5AOz4Ftn9xHQrX3oFQGhQ6RDUuXQipnQ9gn6tU/edit?usp=sharing
|
||||
______________________________________________________________________________________________
|
||||
|
||||
The code to finetune this AI model can be found bellow
|
||||
|
||||
- https://colab.research.google.com/drive/1vIrqH5uYDQwsJ4-OO3DErvuv4pBgVwk4?usp=sharing
|
||||
|
||||
- Note this model in particular was finetuned using an h100 using Tensordock.com using the Pytorch OS. In order to use Unsloth code with TensorDock you need to run the following code (Bellow) to reinstall drivers on TensorDock before unsloth works. After running the code bellow, your Virtual Machine will reset, and you will have to SSH back into it. And then you can run the normal unsloth code in order.
|
||||
|
||||
```python
|
||||
# Check Current Size
|
||||
!df -h /dev/shm
|
||||
|
||||
# Increase Size Temporarily
|
||||
!sudo mount -o remount,size=16G /dev/shm
|
||||
|
||||
# Increase Size Permanently
|
||||
!echo "tmpfs /dev/shm tmpfs defaults,size=16G 0 0" | sudo tee -a /etc/fstab
|
||||
|
||||
# Remount /dev/shm
|
||||
!sudo mount -o remount /dev/shm
|
||||
|
||||
|
||||
# Verify the Changes
|
||||
!df -h /dev/shm
|
||||
|
||||
!nvcc --version
|
||||
|
||||
!export TORCH_DISTRIBUTED_DEBUG=DETAIL
|
||||
!export NCCL_DEBUG=INFO
|
||||
!python -c "import torch; print(torch.version.cuda)"
|
||||
!export PATH=/usr/local/cuda/bin:$PATH
|
||||
!export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
|
||||
!export NCCL_P2P_LEVEL=NVL
|
||||
!export NCCL_DEBUG=INFO
|
||||
!export NCCL_DEBUG_SUBSYS=ALL
|
||||
!export TORCH_DISTRIBUTED_DEBUG=INFO
|
||||
!export TORCHELASTIC_ERROR_FILE=/PATH/TO/torcherror.log
|
||||
!sudo apt-get remove --purge -y '^nvidia-.*'
|
||||
!sudo apt-get remove --purge -y '^cuda-.*'
|
||||
!sudo apt-get autoremove -y
|
||||
!sudo apt-get autoclean -y
|
||||
!sudo apt-get update -y
|
||||
!sudo apt-get install -y nvidia-driver-535 cuda-12-1
|
||||
!sudo add-apt-repository ppa:graphics-drivers/ppa -y
|
||||
!sudo apt-get update -y
|
||||
!sudo apt-get update -y
|
||||
!sudo apt-get install -y software-properties-common
|
||||
!sudo add-apt-repository ppa:graphics-drivers/ppa -y
|
||||
!sudo apt-get update -y
|
||||
!latest_driver=$(apt-cache search '^nvidia-driver-[0-9]' | grep -oP 'nvidia-driver-\K[0-9]+' | sort -n | tail -1) && sudo apt-get install -y nvidia-driver-$latest_driver
|
||||
!sudo reboot
|
||||
```
|
||||
_______________________________________________________________________________
|
||||
|
||||
## Join the Replete-Ai discord! We are a great and Loving community!
|
||||
|
||||
- https://discord.gg/ZZbnsmVnjD
|
||||
|
||||
3
Replete-LLM-Qwen2-7b.Q2_K.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e9c3993ed62c8e06b4c6633170d7a0c43fa5d092f6ce18b5411457adc55c5cb
|
||||
size 3015938304
|
||||
3
Replete-LLM-Qwen2-7b.Q3_K_L.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d53a79c439ce89daa36b62129582601bfa3f537590b1b27c672c667e2ba6070f
|
||||
size 4088457472
|
||||
3
Replete-LLM-Qwen2-7b.Q3_K_M.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79ad1ac9bd2f5b3a6b488b4d56d11541ddc5e26db98f01d46568ad7590287af2
|
||||
size 3808389376
|
||||
3
Replete-LLM-Qwen2-7b.Q3_K_S.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17ac9f06400e0f80b113abb1acb282ef9ab9f780b8d3d19e770f054663227dcc
|
||||
size 3492366592
|
||||
3
Replete-LLM-Qwen2-7b.Q4_0.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b82c159ec734f568d86d28a4436eb3f952b6cb670e12134d83ee485ef54c94b5
|
||||
size 4431388928
|
||||
3
Replete-LLM-Qwen2-7b.Q4_1.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q4_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b3db5e0300236021901ba9f6631bfc422cd82764aa2aecdc78e663058fe6985c
|
||||
size 4873281792
|
||||
3
Replete-LLM-Qwen2-7b.Q4_K_M.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5104c27966b11570eccc129591a3a0aa7625e0dd01538ffcbf7a18a738a8daa
|
||||
size 4683071744
|
||||
3
Replete-LLM-Qwen2-7b.Q4_K_S.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89b0a36a5b555a0efff0781890d8fad5c7cd14b16a07dcbbabb44219430e94bb
|
||||
size 4457767168
|
||||
3
Replete-LLM-Qwen2-7b.Q5_0.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:58098735b8a3cd308887491218abfa0532b2671b7cafca382424ac2f4a159a4c
|
||||
size 5315174656
|
||||
3
Replete-LLM-Qwen2-7b.Q5_1.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q5_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b85bc3ea29da53f27e4e3031249eb40de06c385b74c781fdfa257ef0d9b8fadf
|
||||
size 5757067520
|
||||
3
Replete-LLM-Qwen2-7b.Q5_K_M.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:64212ca0d0ac6f91d4661f9deb4d7351cdc9b81ec78f257ef02402664c7175eb
|
||||
size 5444829440
|
||||
3
Replete-LLM-Qwen2-7b.Q5_K_S.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a52b7e917f735d019ffcb59fc7e531a16d90a9fb66b5b420907c644fb9b8dcf8
|
||||
size 5315174656
|
||||
3
Replete-LLM-Qwen2-7b.Q6_K.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39405a9aa15b979f043d94382f73507bb9bbd8dd0b9a6b79f45da57cc3fe15ec
|
||||
size 6254196992
|
||||
3
Replete-LLM-Qwen2-7b.Q8_0.gguf
Normal file
3
Replete-LLM-Qwen2-7b.Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c3946b7f0414a9f8afdc7076bd5c574166a5cc2d4763e218cfa00f48a9708335
|
||||
size 8098523392
|
||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
Reference in New Issue
Block a user