GraySoft
Projects Models About FAQ Contact Download guIDE →
Model Intelligence Sheet

richarderkhov/h2oai_-_h2o-danube3-4b-base-gguf overview

Quantization made by Richard Erkhov. Github Discord Request more models h2o-danube3-4b-base - GGUF | Name | Quant method | Size | | ---- | ---- | ---- | | h2o-danube3-4b-base.Q2K.gguf | Q2K | 1.41GB | | h2o-danube3-4b-base.IQ3XS.gguf | IQ3XS | 1.56GB | | h2o-danube3-4b-base.IQ3S.gguf | IQ3S | 1.64GB | | h2o-danube3-4b-base.Q3KS.gguf | Q3KS | 1.63GB | | h2o-danube3-4b-base.IQ3M.gguf | IQ3M | 1.7GB | | h2o-danube3-4b-base.Q3K.gguf | Q3K | 1.81GB | | h2o-danube3-4b-base.Q3KM.gguf | Q3KM | 1.81GB | | h2o-danube3-4b-base.Q3KL.gguf | Q3KL | 1.96GB | | h2o-danube3-4b-base.IQ4XS.gguf | IQ4XS | 2.02GB | | h2o-danube3-4b-base.Q40.gguf | Q40 | 2.11GB | | h2o-danube3-4b-base.IQ4NL.gguf | IQ4NL | 2.13GB | | h2o-danube3-4b-base.Q4KS.gguf | Q4KS | 2.12GB | | h2o-danube3-4b-base.Q4K.gguf | Q4K | 2.23GB | | h2o-danube3-4b-base.Q4KM.gguf | Q4KM | 2.23GB | | h2o-danube3-4b-base.Q41.gguf | Q41 | 2.33GB | | h2o-danube3-4b-base.Q50.gguf | Q50 | 2.55GB | | h2o-danube3-4b-base.Q5KS.gguf | Q5KS | 2.55GB | | h2o-danube3-4b-base.Q5K.gguf | Q5K | 2.62GB | | h2o-danube3-4b-base.Q5KM.gguf | Q5KM | 2.62GB | | h2o-danube3-4b-base.Q51.gguf | Q51 | 2.78GB | | h2o-danube3-4b-base.Q6K.gguf | Q6K | 3.03GB | | h2o-danube3-4b-base.Q80.gguf | Q80 | 3.92GB | Original model description: --- language: libraryname: transformers license: apache-2.0 tags: thumbnail: >- https://h2o.ai/etc.clientlibs/h2o/clientlibs/clientlib-site/resources/images/favicon.ico pipelinetag: text-generation ---

ggufarxiv:2407.09276endpoints_compatibleregion:us
richarderkhov/h2oai_-_h2o-danube3-4b-base-gguf visual
Downloads
547
Likes
0
Pipeline
Library
Visibility
Public
Access
Open

Repository Files & Downloads

22 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
h2o-danube3-4b-base.IQ3_M.gguf GGUF IQ3_M 1.70 GB Download
h2o-danube3-4b-base.IQ3_S.gguf GGUF IQ3_S 1.64 GB Download
h2o-danube3-4b-base.IQ3_XS.gguf GGUF IQ3_XS 1.56 GB Download
h2o-danube3-4b-base.IQ4_NL.gguf GGUF IQ4_NL 2.13 GB Download
h2o-danube3-4b-base.IQ4_XS.gguf GGUF IQ4_XS 2.02 GB Download
h2o-danube3-4b-base.Q2_K.gguf GGUF Q2_K 1.41 GB Download
h2o-danube3-4b-base.Q3_K.gguf GGUF Q3_K 1.81 GB Download
h2o-danube3-4b-base.Q3_K_L.gguf GGUF Q3_K_L 1.96 GB Download
h2o-danube3-4b-base.Q3_K_M.gguf GGUF Q3_K_M 1.81 GB Download
h2o-danube3-4b-base.Q3_K_S.gguf GGUF Q3_K_S 1.63 GB Download
h2o-danube3-4b-base.Q4_0.gguf GGUF 2.11 GB Download
h2o-danube3-4b-base.Q4_1.gguf GGUF 2.33 GB Download
h2o-danube3-4b-base.Q4_K.gguf GGUF Q4_K 2.23 GB Download
h2o-danube3-4b-base.Q4_K_M.gguf GGUF Q4_K_M 2.23 GB Download
h2o-danube3-4b-base.Q4_K_S.gguf GGUF Q4_K_S 2.12 GB Download
h2o-danube3-4b-base.Q5_0.gguf GGUF 2.55 GB Download
h2o-danube3-4b-base.Q5_1.gguf GGUF 2.78 GB Download
h2o-danube3-4b-base.Q5_K.gguf GGUF Q5_K 2.62 GB Download
h2o-danube3-4b-base.Q5_K_M.gguf GGUF Q5_K_M 2.62 GB Download
h2o-danube3-4b-base.Q5_K_S.gguf GGUF Q5_K_S 2.55 GB Download
h2o-danube3-4b-base.Q6_K.gguf GGUF Q6_K 3.03 GB Download
h2o-danube3-4b-base.Q8_0.gguf GGUF 3.92 GB Download

Model Details Live

Model Slug
richarderkhov/h2oai_-_h2o-danube3-4b-base-gguf
Author
RichardErkhov
Pipeline Task
Library
Created
2024-08-22
Last Modified
2024-08-22
Gated
No
Private
No
HF SHA
4a14540cf57516b48c2a6a7c9b7b8c0338a082a9
License
Unknown
Language
Unknown
Base Model
Unknown

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "frontmatter": {},
    "hero_image_url": "https://cdn-uploads.huggingface.co/production/uploads/636d18755aaed143cd6698ef/LAzQu_f5WOX7vqKl4yDsY.png",
    "summary": "Quantization made by Richard Erkhov. Github Discord Request more models h2o-danube3-4b-base - GGUF | Name | Quant method | Size | | ---- | ---- | ---- | | h2o-danube3-4b-base.Q2_K.gguf | Q2_K | 1.41GB | | h2o-danube3-4b-base.IQ3_XS.gguf | IQ3_XS | 1.56GB | | h2o-danube3-4b-base.IQ3_S.gguf | IQ3_S | 1.64GB | | h2o-danube3-4b-base.Q3_K_S.gguf | Q3_K_S | 1.63GB | | h2o-danube3-4b-base.IQ3_M.gguf | IQ3_M | 1.7GB | | h2o-danube3-4b-base.Q3_K.gguf | Q3_K | 1.81GB | | h2o-danube3-4b-base.Q3_K_M.gguf | Q3_K_M | 1.81GB | | h2o-danube3-4b-base.Q3_K_L.gguf | Q3_K_L | 1.96GB | | h2o-danube3-4b-base.IQ4_XS.gguf | IQ4_XS | 2.02GB | | h2o-danube3-4b-base.Q4_0.gguf | Q4_0 | 2.11GB | | h2o-danube3-4b-base.IQ4_NL.gguf | IQ4_NL | 2.13GB | | h2o-danube3-4b-base.Q4_K_S.gguf | Q4_K_S | 2.12GB | | h2o-danube3-4b-base.Q4_K.gguf | Q4_K | 2.23GB | | h2o-danube3-4b-base.Q4_K_M.gguf | Q4_K_M | 2.23GB | | h2o-danube3-4b-base.Q4_1.gguf | Q4_1 | 2.33GB | | h2o-danube3-4b-base.Q5_0.gguf | Q5_0 | 2.55GB | | h2o-danube3-4b-base.Q5_K_S.gguf | Q5_K_S | 2.55GB | | h2o-danube3-4b-base.Q5_K.gguf | Q5_K | 2.62GB | | h2o-danube3-4b-base.Q5_K_M.gguf | Q5_K_M | 2.62GB | | h2o-danube3-4b-base.Q5_1.gguf | Q5_1 | 2.78GB | | h2o-danube3-4b-base.Q6_K.gguf | Q6_K | 3.03GB | | h2o-danube3-4b-base.Q8_0.gguf | Q8_0 | 3.92GB | Original model description: --- language: library_name: transformers license: apache-2.0 tags: thumbnail: >- https://h2o.ai/etc.clientlibs/h2o/clientlibs/clientlib-site/resources/images/favicon.ico pipeline_tag: text-generation ---",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "Quantization made by Richard Erkhov.\n\n[Github](https://github.com/RichardErkhov)\n\n[Discord](https://discord.gg/pvy7H8DZMG)\n\n[Request more models](https://github.com/RichardErkhov/quant_request)\n\n\nh2o-danube3-4b-base - GGUF\n- Model creator: https://huggingface.co/h2oai/\n- Original model: https://huggingface.co/h2oai/h2o-danube3-4b-base/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [h2o-danube3-4b-base.Q2_K.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q2_K.gguf) | Q2_K | 1.41GB |\n| [h2o-danube3-4b-base.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.IQ3_XS.gguf) | IQ3_XS | 1.56GB |\n| [h2o-danube3-4b-base.IQ3_S.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.IQ3_S.gguf) | IQ3_S | 1.64GB |\n| [h2o-danube3-4b-base.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q3_K_S.gguf) | Q3_K_S | 1.63GB |\n| [h2o-danube3-4b-base.IQ3_M.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.IQ3_M.gguf) | IQ3_M | 1.7GB |\n| [h2o-danube3-4b-base.Q3_K.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q3_K.gguf) | Q3_K | 1.81GB |\n| [h2o-danube3-4b-base.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q3_K_M.gguf) | Q3_K_M | 1.81GB |\n| [h2o-danube3-4b-base.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q3_K_L.gguf) | Q3_K_L | 1.96GB |\n| [h2o-danube3-4b-base.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.IQ4_XS.gguf) | IQ4_XS | 2.02GB |\n| [h2o-danube3-4b-base.Q4_0.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q4_0.gguf) | Q4_0 | 2.11GB |\n| [h2o-danube3-4b-base.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.IQ4_NL.gguf) | IQ4_NL | 2.13GB |\n| [h2o-danube3-4b-base.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q4_K_S.gguf) | Q4_K_S | 2.12GB |\n| [h2o-danube3-4b-base.Q4_K.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q4_K.gguf) | Q4_K | 2.23GB |\n| [h2o-danube3-4b-base.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q4_K_M.gguf) | Q4_K_M | 2.23GB |\n| [h2o-danube3-4b-base.Q4_1.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q4_1.gguf) | Q4_1 | 2.33GB |\n| [h2o-danube3-4b-base.Q5_0.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q5_0.gguf) | Q5_0 | 2.55GB |\n| [h2o-danube3-4b-base.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q5_K_S.gguf) | Q5_K_S | 2.55GB |\n| [h2o-danube3-4b-base.Q5_K.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q5_K.gguf) | Q5_K | 2.62GB |\n| [h2o-danube3-4b-base.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q5_K_M.gguf) | Q5_K_M | 2.62GB |\n| [h2o-danube3-4b-base.Q5_1.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q5_1.gguf) | Q5_1 | 2.78GB |\n| [h2o-danube3-4b-base.Q6_K.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q6_K.gguf) | Q6_K | 3.03GB |\n| [h2o-danube3-4b-base.Q8_0.gguf](https://huggingface.co/RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf/blob/main/h2o-danube3-4b-base.Q8_0.gguf) | Q8_0 | 3.92GB |\n\n\n\n\nOriginal model description:\n---\nlanguage:\n- en\nlibrary_name: transformers\nlicense: apache-2.0\ntags:\n- gpt\n- llm\n- large language model\n- h2o-llmstudio\nthumbnail: >-\n  https://h2o.ai/etc.clientlibs/h2o/clientlibs/clientlib-site/resources/images/favicon.ico\npipeline_tag: text-generation\n---\n\n\n\n<div style=\"width: 90%; max-width: 600px; margin: 0 auto; overflow: hidden; background-color: white\">\n    <img src=\"https://cdn-uploads.huggingface.co/production/uploads/636d18755aaed143cd6698ef/LAzQu_f5WOX7vqKl4yDsY.png\" \n         alt=\"Slightly cropped image\" \n         style=\"width: 102%; height: 102%; object-fit: cover; object-position: center; margin: -5% -5% -5% -5%;\">\n</div>\n\n## Summary\n\n\nh2o-danube3-4b-base is a foundation model trained model by H2O.ai with 4 billion parameters. We release two versions of this model:\n\n| Model Name                                                                         |  Description    |\n|:-----------------------------------------------------------------------------------|:----------------|\n|  [h2oai/h2o-danube3-4b-base](https://huggingface.co/h2oai/h2o-danube3-4b-base) | Base model      |\n|  [h2oai/h2o-danube3-4b-chat](https://huggingface.co/h2oai/h2o-danube3-4b-chat) | Chat model |\n\nCan be run natively and fully offline on phones - try it yourself with [H2O AI Personal GPT](https://h2o.ai/platform/danube/personal-gpt/).\n\n## Model Architecture\n\nWe adjust the Llama 2 architecture for a total of around 4b parameters. For details, please refer to our [Technical Report](https://arxiv.org/abs/2407.09276). We use the Mistral tokenizer with a vocabulary size of 32,000 and train our model up to a context length of 8,192.\n\nThe details of the model architecture are:\n\n| Hyperparameter  |  Value |\n|:----------------|:-------|\n|    n_layers     |     24 |\n|     n_heads     |     32 |\n|  n_query_groups |      8 |\n|     n_embd      |   3840 |\n|   vocab size    |  32000 |\n| sequence length |   8192 |\n\n## Usage\n\nTo use the model with the `transformers` library on a machine with GPUs, first make sure you have the `transformers` library installed.\n\n```bash\npip install transformers>=4.42.3\n```\n\n```python\nimport torch\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\n\ntokenizer = AutoTokenizer.from_pretrained(\"h2oai/h2o-danube3-4b-base\")\n\nmodel = AutoModelForCausalLM.from_pretrained(\n    \"h2oai/h2o-danube3-4b-base\",\n    torch_dtype=torch.bfloat16,\n)\nmodel.cuda()\n\ninputs = tokenizer(\"The Danube is the second longest river in Europe\", return_tensors=\"pt\").to(model.device)\nres = model.generate(\n    **inputs,\n    max_new_tokens=32,\n    do_sample=False,\n)\nprint(tokenizer.decode(res[0], skip_special_tokens=True))\n```\n\n## Quantization and sharding\n\nYou can load the models using quantization by specifying ```load_in_8bit=True``` or ```load_in_4bit=True```. Also, sharding on multiple GPUs is possible by setting ```device_map=auto```.\n\n## Model Architecture\n\n```\nLlamaForCausalLM(\n  (model): LlamaModel(\n    (embed_tokens): Embedding(32000, 3840, padding_idx=0)\n    (layers): ModuleList(\n      (0-23): 24 x LlamaDecoderLayer(\n        (self_attn): LlamaSdpaAttention(\n          (q_proj): Linear(in_features=3840, out_features=3840, bias=False)\n          (k_proj): Linear(in_features=3840, out_features=960, bias=False)\n          (v_proj): Linear(in_features=3840, out_features=960, bias=False)\n          (o_proj): Linear(in_features=3840, out_features=3840, bias=False)\n          (rotary_emb): LlamaRotaryEmbedding()\n        )\n        (mlp): LlamaMLP(\n          (gate_proj): Linear(in_features=3840, out_features=10240, bias=False)\n          (up_proj): Linear(in_features=3840, out_features=10240, bias=False)\n          (down_proj): Linear(in_features=10240, out_features=3840, bias=False)\n          (act_fn): SiLU()\n        )\n        (input_layernorm): LlamaRMSNorm()\n        (post_attention_layernorm): LlamaRMSNorm()\n      )\n    )\n    (norm): LlamaRMSNorm()\n  )\n  (lm_head): Linear(in_features=3840, out_features=32000, bias=False)\n)\n```\n\n## Benchmarks\n\n### 🤗 Open LLM Leaderboard v1\n\n| Benchmark     |   acc_n  |\n|:--------------|:--------:|\n| Average       |   58.85  |\n| ARC-challenge |   59.04  |\n| Hellaswag     |   79.84  |\n| MMLU          |   55.18  |\n| TruthfulQA    |   44.77  |\n| Winogrande    |   75.14  |\n| GSM8K         |   39.12  |\n\n## Disclaimer\n\nPlease read this disclaimer carefully before using the large language model provided in this repository. Your use of the model signifies your agreement to the following terms and conditions.\n\n- Biases and Offensiveness: The large language model is trained on a diverse range of internet text data, which may contain biased, racist, offensive, or otherwise inappropriate content. By using this model, you acknowledge and accept that the generated content may sometimes exhibit biases or produce content that is offensive or inappropriate. The developers of this repository do not endorse, support, or promote any such content or viewpoints.\n- Limitations: The large language model is an AI-based tool and not a human. It may produce incorrect, nonsensical, or irrelevant responses. It is the user's responsibility to critically evaluate the generated content and use it at their discretion.\n- Use at Your Own Risk: Users of this large language model must assume full responsibility for any consequences that may arise from their use of the tool. The developers and contributors of this repository shall not be held liable for any damages, losses, or harm resulting from the use or misuse of the provided model.\n- Ethical Considerations: Users are encouraged to use the large language model responsibly and ethically. By using this model, you agree not to use it for purposes that promote hate speech, discrimination, harassment, or any form of illegal or harmful activities.\n- Reporting Issues: If you encounter any biased, offensive, or otherwise inappropriate content generated by the large language model, please report it to the repository maintainers through the provided channels. Your feedback will help improve the model and mitigate potential issues.\n- Changes to this Disclaimer: The developers of this repository reserve the right to modify or update this disclaimer at any time without prior notice. It is the user's responsibility to periodically review the disclaimer to stay informed about any changes.\n\nBy using the large language model provided in this repository, you agree to accept and comply with the terms and conditions outlined in this disclaimer. If you do not agree with any part of this disclaimer, you should refrain from using the model and any content generated by it.\n\n",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "arxiv:2407.09276",
    "endpoints_compatible",
    "region:us"
  ],
  "likes": 0,
  "downloads": 547,
  "gated": false,
  "private": false,
  "last_modified": "2024-08-22T15:40:28.000Z",
  "created_at": "2024-08-22T14:58:23.000Z",
  "pipeline_tag": "",
  "library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "66c7520f18579088977b9d9a",
  "id": "RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf",
  "modelId": "RichardErkhov/h2oai_-_h2o-danube3-4b-base-gguf",
  "sha": "4a14540cf57516b48c2a6a7c9b7b8c0338a082a9",
  "createdAt": "2024-08-22T14:58:23.000Z",
  "lastModified": "2024-08-22T15:40:28.000Z",
  "author": "RichardErkhov",
  "downloads": 547,
  "likes": 0,
  "gated": false,
  "private": false,
  "pipeline_tag": "",
  "library_name": "",
  "siblings_count": 24
}