Model Intelligence Sheet
richarderkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-jp-v1-gguf overview
Summary This model was trained using H2O LLM Studio. 上記のBase ModelとDataset(日本語)を使い、指示チューニングを実施。 結果、日本語能力の向上は特に見られない。(むしろ劣化、、) 検証結果: https://github.com/yukismd/DLforImageDataandFinetuning/tree/main/SLMh2oDanube3finetuning
Downloads
104
Likes
0
Pipeline
—
Library
—
Visibility
Public
Access
Open
Repository Files & Downloads
22 files detected
Direct downloads for all repository files
| File | Type | Quantization | Size | Link |
|---|---|---|---|---|
| h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_M.gguf | GGUF | IQ3_M | 1.70 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_S.gguf | GGUF | IQ3_S | 1.64 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_XS.gguf | GGUF | IQ3_XS | 1.56 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.IQ4_NL.gguf | GGUF | IQ4_NL | 2.13 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.IQ4_XS.gguf | GGUF | IQ4_XS | 2.02 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q2_K.gguf | GGUF | Q2_K | 1.41 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K.gguf | GGUF | Q3_K | 1.81 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_L.gguf | GGUF | Q3_K_L | 1.96 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_M.gguf | GGUF | Q3_K_M | 1.81 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_S.gguf | GGUF | Q3_K_S | 1.63 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q4_0.gguf | GGUF | — | 2.11 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q4_1.gguf | GGUF | — | 2.33 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K.gguf | GGUF | Q4_K | 2.23 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K_M.gguf | GGUF | Q4_K_M | 2.23 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K_S.gguf | GGUF | Q4_K_S | 2.12 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q5_0.gguf | GGUF | — | 2.55 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q5_1.gguf | GGUF | — | 2.78 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K.gguf | GGUF | Q5_K | 2.62 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K_M.gguf | GGUF | Q5_K_M | 2.62 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K_S.gguf | GGUF | Q5_K_S | 2.55 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q6_K.gguf | GGUF | Q6_K | 3.03 GB | Download |
| h2oai-h2o-danube3-4b-chat-JP-v1.Q8_0.gguf | GGUF | — | 3.92 GB | Download |
Model Details Live
Metadata Inspector
Normalized metadata (stored in metadata_json)
{
"metadata": {},
"card_data": {
"frontmatter": {},
"hero_image_url": "",
"summary": "## Summary This model was trained using H2O LLM Studio. 上記のBase ModelとDataset(日本語)を使い、指示チューニングを実施。 結果、日本語能力の向上は特に見られない。(むしろ劣化、、) 検証結果: https://github.com/yukismd/DL_for_ImageData_and_Finetuning/tree/main/SLM_h2oDanube3_finetuning",
"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\nh2oai-h2o-danube3-4b-chat-JP-v1 - GGUF\n- Model creator: https://huggingface.co/yukismd/\n- Original model: https://huggingface.co/yukismd/h2oai-h2o-danube3-4b-chat-JP-v1/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q2_K.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q2_K.gguf) | Q2_K | 1.41GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_XS.gguf) | IQ3_XS | 1.56GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_S.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_S.gguf) | IQ3_S | 1.64GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_S.gguf) | Q3_K_S | 1.63GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_M.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.IQ3_M.gguf) | IQ3_M | 1.7GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K.gguf) | Q3_K | 1.81GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_M.gguf) | Q3_K_M | 1.81GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q3_K_L.gguf) | Q3_K_L | 1.96GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.IQ4_XS.gguf) | IQ4_XS | 2.02GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q4_0.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q4_0.gguf) | Q4_0 | 2.11GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.IQ4_NL.gguf) | IQ4_NL | 2.13GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K_S.gguf) | Q4_K_S | 2.12GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K.gguf) | Q4_K | 2.23GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q4_K_M.gguf) | Q4_K_M | 2.23GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q4_1.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q4_1.gguf) | Q4_1 | 2.33GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q5_0.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q5_0.gguf) | Q5_0 | 2.55GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K_S.gguf) | Q5_K_S | 2.55GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K.gguf) | Q5_K | 2.62GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q5_K_M.gguf) | Q5_K_M | 2.62GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q5_1.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q5_1.gguf) | Q5_1 | 2.78GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q6_K.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q6_K.gguf) | Q6_K | 3.03GB |\n| [h2oai-h2o-danube3-4b-chat-JP-v1.Q8_0.gguf](https://huggingface.co/RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf/blob/main/h2oai-h2o-danube3-4b-chat-JP-v1.Q8_0.gguf) | Q8_0 | 3.92GB |\n\n\n\n\nOriginal model description:\n---\nlanguage:\n- en\nlibrary_name: transformers\ntags:\n- gpt\n- llm\n- large language model\n- h2o-llmstudio\ninference: false\nthumbnail: https://h2o.ai/etc.clientlibs/h2o/clientlibs/clientlib-site/resources/images/favicon.ico\n---\n# Model Card\n## Summary\n\nThis model was trained using [H2O LLM Studio](https://github.com/h2oai/h2o-llmstudio).\n- Base model: [h2oai/h2o-danube3-4b-chat](https://huggingface.co/h2oai/h2o-danube3-4b-chat)\n- Finetuning dataset: [fujiki/japanese_hh-rlhf-49k](https://huggingface.co/datasets/fujiki/japanese_hh-rlhf-49k) \n\n上記のBase ModelとDataset(日本語)を使い、指示チューニングを実施。\n\n結果、日本語能力の向上は特に見られない。(むしろ劣化、、) \n検証結果: https://github.com/yukismd/DL_for_ImageData_and_Finetuning/tree/main/SLM_h2oDanube3_finetuning\n \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.44.2\n```\n\nAlso make sure you are providing your huggingface token to the pipeline if the model is lying in a private repo.\n\n- Either leave `token=True` in the `pipeline` and login to hugginface_hub by running\n\n```python\nimport huggingface_hub\nhuggingface_hub.login(<ACCESS_TOKEN>)\n```\n\n- Or directly pass your <ACCESS_TOKEN> to `token` in the `pipeline`\n\n```python\nfrom transformers import pipeline\n\ngenerate_text = pipeline(\n model=\"yukismd/h2oai-h2o-danube3-4b-chat-JP-v1\",\n torch_dtype=\"auto\",\n trust_remote_code=True,\n device_map={\"\": \"cuda:0\"},\n token=True,\n)\n\n# generate configuration can be modified to your needs\n# generate_text.model.generation_config.min_new_tokens = 2\n# generate_text.model.generation_config.max_new_tokens = 256\n# generate_text.model.generation_config.do_sample = False\n# generate_text.model.generation_config.num_beams = 1\n# generate_text.model.generation_config.temperature = float(0.0)\n# generate_text.model.generation_config.repetition_penalty = float(1.0)\n\nmessages = [\n {\"role\": \"user\", \"content\": \"Hi, how are you?\"},\n {\"role\": \"assistant\", \"content\": \"I'm doing great, how about you?\"},\n {\"role\": \"user\", \"content\": \"Why is drinking water so healthy?\"},\n]\n\nres = generate_text(\n messages,\n renormalize_logits=True\n)\nprint(res[0][\"generated_text\"][-1]['content'])\n```\n\nYou can print a sample prompt after applying chat template to see how it is feed to the tokenizer:\n\n```python\nprint(generate_text.tokenizer.apply_chat_template(\n messages,\n tokenize=False,\n add_generation_prompt=True,\n))\n```\n\nYou may also construct the pipeline from the loaded model and tokenizer yourself and consider the preprocessing steps:\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\n\nmodel_name = \"yukismd/h2oai-h2o-danube3-4b-chat-JP-v1\" # either local folder or Hugging Face model name\n# Important: The prompt needs to be in the same format the model was trained with.\n# You can find an example prompt in the experiment logs.\nmessages = [\n {\"role\": \"user\", \"content\": \"Hi, how are you?\"},\n {\"role\": \"assistant\", \"content\": \"I'm doing great, how about you?\"},\n {\"role\": \"user\", \"content\": \"Why is drinking water so healthy?\"},\n]\n\ntokenizer = AutoTokenizer.from_pretrained(\n model_name,\n trust_remote_code=True,\n)\nmodel = AutoModelForCausalLM.from_pretrained(\n model_name,\n torch_dtype=\"auto\",\n device_map={\"\": \"cuda:0\"},\n trust_remote_code=True,\n)\nmodel.cuda().eval()\n\n# generate configuration can be modified to your needs\n# model.generation_config.min_new_tokens = 2\n# model.generation_config.max_new_tokens = 256\n# model.generation_config.do_sample = False\n# model.generation_config.num_beams = 1\n# model.generation_config.temperature = float(0.0)\n# model.generation_config.repetition_penalty = float(1.0)\n\ninputs = tokenizer.apply_chat_template(\n messages,\n tokenize=True,\n add_generation_prompt=True,\n return_tensors=\"pt\",\n return_dict=True,\n).to(\"cuda\")\n\ntokens = model.generate(\n input_ids=inputs[\"input_ids\"],\n attention_mask=inputs[\"attention_mask\"],\n renormalize_logits=True\n)[0]\n\ntokens = tokens[inputs[\"input_ids\"].shape[1]:]\nanswer = tokenizer.decode(tokens, skip_special_tokens=True)\nprint(answer)\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((3840,), eps=1e-05)\n (post_attention_layernorm): LlamaRMSNorm((3840,), eps=1e-05)\n )\n )\n (norm): LlamaRMSNorm((3840,), eps=1e-05)\n (rotary_emb): LlamaRotaryEmbedding()\n )\n (lm_head): Linear(in_features=3840, out_features=32000, bias=False)\n)\n```\n\n## Model Configuration\n\nThis model was trained using H2O LLM Studio and with the configuration in [cfg.yaml](cfg.yaml). Visit [H2O LLM Studio](https://github.com/h2oai/h2o-llmstudio) to learn how to train your own large language models.\n\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",
"endpoints_compatible",
"region:us",
"conversational"
],
"likes": 0,
"downloads": 104,
"gated": false,
"private": false,
"last_modified": "2025-04-03T18:59:21.000Z",
"created_at": "2025-04-03T16:31:10.000Z",
"pipeline_tag": "",
"library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
"_id": "67eeb7cebe78873ab449624d",
"id": "RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf",
"modelId": "RichardErkhov/yukismd_-_h2oai-h2o-danube3-4b-chat-JP-v1-gguf",
"sha": "d2dc400186f1b90767c4d95074262bda90a40d40",
"createdAt": "2025-04-03T16:31:10.000Z",
"lastModified": "2025-04-03T18:59:21.000Z",
"author": "RichardErkhov",
"downloads": 104,
"likes": 0,
"gated": false,
"private": false,
"pipeline_tag": "",
"library_name": "",
"siblings_count": 24
}