From 28258b6c0efa3a25c8b77a44fd8266ab0883b514 Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Sat, 4 Jul 2026 13:08:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E7=94=B1ModelHub=20XC=E7=A4=BE=E5=8C=BA=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model: maddes8cht/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-gguf Source: Original Platform --- .gitattributes | 49 +++++++ README.md | 132 ++++++++++++++++++ ...ma-0.3T-7B-instruct-dolly-hhrlhf-Q4_0.gguf | 3 + ...-0.3T-7B-instruct-dolly-hhrlhf-Q4_K_M.gguf | 3 + ...-0.3T-7B-instruct-dolly-hhrlhf-Q5_K_M.gguf | 3 + ...ma-0.3T-7B-instruct-dolly-hhrlhf-Q6_K.gguf | 3 + ...ma-0.3T-7B-instruct-dolly-hhrlhf-Q8_0.gguf | 3 + 7 files changed, 196 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md create mode 100644 VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_0.gguf create mode 100644 VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_K_M.gguf create mode 100644 VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_K_M.gguf create mode 100644 VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q6_K.gguf create mode 100644 VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q8_0.gguf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9916fd4 --- /dev/null +++ b/.gitattributes @@ -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 +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_1.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000..0ce44b1 --- /dev/null +++ b/README.md @@ -0,0 +1,132 @@ +--- +license: apache-2.0 +datasets: +- mosaicml/dolly_hhrlhf +language: +- en +library_name: transformers +pipeline_tag: text-generation +--- + +> ⚠️ **ARCHIVED / LEGACY MODEL NOTICE** +> This repository is part of a legacy collection quantized around 2023. To manage storage quotas and maintain active community projects, some rarely used quantization formats (e.g., Q2_K, Q3_K, Q4_1, Q5_1) have been permanently removed. +> +> Only the most popular and stable formats (**Q4_0, Q4_K_M, Q5_K_M, Q6_K, and Q8_0**) remain available. +> +> 💡 **Looking for something modern?** +> If you are starting a new project, we highly recommend using newer architectures (like Llama 3, Mistral, or Qwen) provided by official maintainers or active community members (e.g., `Bartowski`, `TheBloke` legacy files, or official organization handles). +> +> ⚠️ *This repository is no longer actively maintained. Existing files are provided "as is" for archival and legacy hardware purposes.* + +[![banner](https://maddes8cht.github.io/assets/buttons/Huggingface-banner.jpg)]() + +I'm constantly enhancing these model descriptions to provide you with the most relevant and comprehensive information + +# open-llama-0.3T-7B-instruct-dolly-hhrlhf - GGUF +- Model creator: [VMware](https://huggingface.co/VMware) +- Original model: [open-llama-0.3T-7B-instruct-dolly-hhrlhf](https://huggingface.co/VMware/open-llama-0.3T-7B-instruct-dolly-hhrlhf) + +OpenLlama is a free reimplementation of the original Llama Model which is licensed under Apache 2 license. + + + +# About GGUF format + +`gguf` is the current file format used by the [`ggml`](https://github.com/ggerganov/ggml) library. +A growing list of Software is using it and can therefore use this model. +The core project making use of the ggml library is the [llama.cpp](https://github.com/ggerganov/llama.cpp) project by Georgi Gerganov + +# Quantization variants + +There is a bunch of quantized files available to cater to your specific needs. Here's how to choose the best option for you: + +# Legacy quants + +Q4_0, Q4_1, Q5_0, Q5_1 and Q8 are `legacy` quantization types. +Nevertheless, they are fully supported, as there are several circumstances that cause certain model not to be compatible with the modern K-quants. +## Note: +Now there's a new option to use K-quants even for previously 'incompatible' models, although this involves some fallback solution that makes them not *real* K-quants. More details can be found in affected model descriptions. +(This mainly refers to Falcon 7b and Starcoder models) + +# K-quants + +K-quants are designed with the idea that different levels of quantization in specific parts of the model can optimize performance, file size, and memory load. +So, if possible, use K-quants. +With a Q6_K, you'll likely find it challenging to discern a quality difference from the original model - ask your model two times the same question and you may encounter bigger quality differences. + + + + +--- + +# Original Model Card: +# VMware/open-llama-0.3T-7B-instruct-dolly-hhrlhf + +Fully Open Source, Commerically viable. + +The instruction dataset, [mosaicml/dolly_hhrlhf](https://huggingface.co/datasets/mosaicml/dolly_hhrlhf) is under cc-by-sa-3.0, and the Language Model ([openlm-research/open_llama_7b_preview_300bt](https://huggingface.co/openlm-research/open_llama_7b_preview_300bt/tree/main/open_llama_7b_preview_300bt_transformers_weights)) is under apache-2.0 License. + +## Use in Transformers + +Please load the tokenizer with 'add_bos_token = True' parameter as the underlying OpenLLaMa model and this model were trained with a BOS token. + +``` +import os +import torch +from transformers import AutoModelForCausalLM, AutoTokenizer + +model_name = 'VMware/open-llama-0.3T-7B-instruct-dolly-hhrlhf' + + +tokenizer = AutoTokenizer.from_pretrained(model_name, add_bos_token = True) + +model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype= torch.float16, device_map = 'sequential') + +prompt_template = "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{instruction}\n\n### Response:" + +prompt= 'how do I bake a cake?' + + +inputt = prompt_template.format(instruction= prompt) +input_ids = tokenizer(inputt, return_tensors="pt").input_ids.to("cuda") + +output1 = model.generate(input_ids, max_length=512) +input_length = input_ids.shape[1] +output1 = output1[:, input_length:] +output= tokenizer.decode(output1[0]) + +print(output) + +''' +Baking a cake is a simple process. You will need to prepare a cake mixture, then bake it in the oven. You can add various ingredients to the cake mixture, such as fruit, nuts, or spices, to make it flavorful. Baking a cake can be fun, as it creates a delicious dessert! + +''' +``` + + + +## Drawbacks + + +## Evaluation + +TODO + +***End of original Model File*** +--- + + +## Please consider to support my work +**Coming Soon:** I'm in the process of launching a sponsorship/crowdfunding campaign for my work. I'm evaluating Kickstarter, Patreon, or the new GitHub Sponsors platform, and I am hoping for some support and contribution to the continued availability of these kind of models. Your support will enable me to provide even more valuable resources and maintain the models you rely on. Your patience and ongoing support are greatly appreciated as I work to make this page an even more valuable resource for the community. + +
+ +[![GitHub](https://maddes8cht.github.io/assets/buttons/github-io-button.png)](https://maddes8cht.github.io) +[![Stack Exchange](https://stackexchange.com/users/flair/26485911.png)](https://stackexchange.com/users/26485911) +[![GitHub](https://maddes8cht.github.io/assets/buttons/github-button.png)](https://github.com/maddes8cht) +[![HuggingFace](https://maddes8cht.github.io/assets/buttons/huggingface-button.png)](https://huggingface.co/maddes8cht) +[![Twitter](https://maddes8cht.github.io/assets/buttons/twitter-button.png)](https://twitter.com/maddes1966) + +
\ No newline at end of file diff --git a/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_0.gguf b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_0.gguf new file mode 100644 index 0000000..a43dea9 --- /dev/null +++ b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b50fca4a420905187fb64c545d1674e8b9ec3460eb6d9363a3534de27779db6d +size 3825841920 diff --git a/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_K_M.gguf b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_K_M.gguf new file mode 100644 index 0000000..aec39bc --- /dev/null +++ b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de24319e5611df753f54e1804391a74cb0e8cf1f922fb41de1f2e8d72836013d +size 4081039104 diff --git a/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_K_M.gguf b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_K_M.gguf new file mode 100644 index 0000000..cb35f84 --- /dev/null +++ b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1ba35c40ac803f5a23b23511ae553000b9857b751d1d47faa9bc84dd040bc3d +size 4783191808 diff --git a/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q6_K.gguf b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q6_K.gguf new file mode 100644 index 0000000..afbdb60 --- /dev/null +++ b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b73de2ad569c60f2664ee9ab4ded82c06305c05bd68a126f8b299eb105d0c09 +size 5529229056 diff --git a/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q8_0.gguf b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q8_0.gguf new file mode 100644 index 0000000..825f944 --- /dev/null +++ b/VMware-open-llama-0.3T-7B-instruct-dolly-hhrlhf-Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00ddfc354e6eb9fd312cd7013cb0455f6f9061d25ad3beb9ba5fb2f5d9d0a1b7 +size 7161124608