baidu/ERNIE-4.5-0.3B-PT

zetlyn/models-hf model hf baidu/ERNIE-4.5-0.3B-PT known 2025-06-28

https://huggingface.co/baidu/ERNIE-4.5-0.3B-PT

Properties

authorbaidu
receipt
Source
Hugging Face models
Its words
baidu
Read by
field:author
Said since
2026-10-02 12:02 UTC
Last answered
2026-10-04 18:21 UTC
Original
open at the source
What the source handed over
{
  "_asked": "baidu/ERNIE-4.5-0.3B-PT",
  "_id": "685f879e6a9cf2c4405f4d9e",
  "author": "baidu",
  "cardData": {
    "language": [
      "en",
      "zh"
    ],
    "library_name": "transformers",
    "license": "apache-2.0",
    "pipeline_tag": "text-generation",
    "tags": [
      "ERNIE4.5"
    ]
  },
  "config": {
    "architectures": [
      "Ernie4_5ForCausalLM"
    ],
    "chat_template_jinja": "{%- if not add_generation_prompt is defined -%}\n    {%- set add_generation_prompt = true -%}\n{%- endif -%}\n{%- if not cls_token is defined -%}\n    {%- set cls_token = \"<|begin_of_sentence|>\" -%}\n{%- endif -%}\n{%- if not sep_token is defined -%}\n    {%- set sep_token = \"<|end_of_sentence|>\" -%}\n{%- endif -%}\n{{- cls_token -}}\n{%- for message in messages -%}\n    {%- if message[\"role\"] == \"user\" -%}\n        {{- \"User: \" + message[\"content\"] + \"\n\" -}}\n    {%- elif message[\"role\"] == \"assistant\" -%}\n        {{- \"Assistant: \" + message[\"content\"] + sep_token -}}\n    {%- elif message[\"role\"] == \"system\" -%}\n        {{- message[\"content\"] + \"\n\" -}}\n    {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n    {{- \"Assistant: \" -}}\n{%- endif -%}",
    "model_type": "ernie4_5",
    "tokenizer_config": {
      "bos_token": "<s>",
      "cls_token": "<|begin_of_sentence|>",
      "eos_token": "</s>",
      "mask_token": "<mask:1>",
      "pad_token": "<unk>",
      "sep_token": "<|end_of_sentence|>",
      "unk_token": "<unk>",
      "use_default_system_prompt": false
    }
  },
  "createdAt": "2025-06-28T06:11:42.000Z",
  "disabled": false,
  "downloads": 15227,
  "gated": false,
  "id": "baidu/ERNIE-4.5-0.3B-PT",
  "lastModified": "2025-08-29T06:48:30.000Z",
  "library_name": "transformers",
  "likes": 112,
  "mask_token": "<mask:1>",
  "model-index": null,
  "modelId": "baidu/ERNIE-4.5-0.3B-PT",
  "pipeline_tag": "text-generation",
  "private": false,
  "safetensors": {
    "parameters": {
      "BF16": 360748032
    },
    "total": 360748032
  },
  "sha": "b565cf6caebdb7a1eadf00100857b1ed5e044f12",
  "siblings": [
    {
      "rfilename": ".gitattributes"
    },
    {
      "rfilename": "LICENSE"
    },
    {
      "rfilename": "README.md"
    },
    {
      "rfilename": "added_tokens.json"
    },
    {
      "rfilename": "chat_template.jinja"
    },
    {
      "rfilename": "config.json"
    },
    {
      "rfilename": "generation_config.json"
    },
    {
      "rfilename": "model.safetensors"
    },
    {
      "rfilename": "special_tokens_map.json"
    },
    {
      "rfilename": "tokenizer.json"
    },
    {
      "rfilename": "tokenizer.model"
    },
    {
      "rfilename": "tokenizer_config.json"
    }
  ],
  "spaces": [
    "tardellirs/model-pulse",
    "aquanode/gpu-vram-calculator",
    "EuroEval/euroeval_leaderboard",
    "AlexTransformer/ernie-4.5-logprob-compare",
    "eagle0504/ERNIE-4.5-DEMO",
    "AlexTransformer/ernie_embebbing_layer_example",
    "enacimie/SimpleChatGradio-Ernie",
    "AbdulElahGwaith/baidu-ERNIE-4.5-0.3B-PT"
  ],
  "tags": [
    "transformers",
    "safetensors",
    "ernie4_5",
    "text-generation",
    "ERNIE4.5",
    "conversational",
    "en",
    "zh",
    "license:apache-2.0",
    "endpoints_compatible",
    "deploy:azure",
    "region:us"
  ],
  "transformersInfo": {
    "auto_model": "AutoModelForCausalLM",
    "pipeline_tag": "text-generation",
    "processor": "AutoTokenizer"
  },
  "usedStorage": 734314983,
  "widgetData": [
    {
      "text": "Hi, what can you help me with?"
    },
    {
      "text": "What is 84 * 3 / 2?"
    },
    {
      "text": "Tell me an interesting fact about the universe!"
    },
    {
      "text": "Explain quantum computing in simple terms."
    }
  ]
}
downloads15227
receipt
Source
Hugging Face models
Its words
15227
Read by
field:downloads
Said since
2026-10-04 12:16 UTC
Last answered
2026-10-04 18:21 UTC
Original
open at the source
2026-10-04 12:16 UTC15227
2026-10-03 12:09 UTC15376
2026-10-02 12:02 UTC15522
What the source handed over
{
  "_asked": "baidu/ERNIE-4.5-0.3B-PT",
  "_id": "685f879e6a9cf2c4405f4d9e",
  "author": "baidu",
  "cardData": {
    "language": [
      "en",
      "zh"
    ],
    "library_name": "transformers",
    "license": "apache-2.0",
    "pipeline_tag": "text-generation",
    "tags": [
      "ERNIE4.5"
    ]
  },
  "config": {
    "architectures": [
      "Ernie4_5ForCausalLM"
    ],
    "chat_template_jinja": "{%- if not add_generation_prompt is defined -%}\n    {%- set add_generation_prompt = true -%}\n{%- endif -%}\n{%- if not cls_token is defined -%}\n    {%- set cls_token = \"<|begin_of_sentence|>\" -%}\n{%- endif -%}\n{%- if not sep_token is defined -%}\n    {%- set sep_token = \"<|end_of_sentence|>\" -%}\n{%- endif -%}\n{{- cls_token -}}\n{%- for message in messages -%}\n    {%- if message[\"role\"] == \"user\" -%}\n        {{- \"User: \" + message[\"content\"] + \"\n\" -}}\n    {%- elif message[\"role\"] == \"assistant\" -%}\n        {{- \"Assistant: \" + message[\"content\"] + sep_token -}}\n    {%- elif message[\"role\"] == \"system\" -%}\n        {{- message[\"content\"] + \"\n\" -}}\n    {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n    {{- \"Assistant: \" -}}\n{%- endif -%}",
    "model_type": "ernie4_5",
    "tokenizer_config": {
      "bos_token": "<s>",
      "cls_token": "<|begin_of_sentence|>",
      "eos_token": "</s>",
      "mask_token": "<mask:1>",
      "pad_token": "<unk>",
      "sep_token": "<|end_of_sentence|>",
      "unk_token": "<unk>",
      "use_default_system_prompt": false
    }
  },
  "createdAt": "2025-06-28T06:11:42.000Z",
  "disabled": false,
  "downloads": 15227,
  "gated": false,
  "id": "baidu/ERNIE-4.5-0.3B-PT",
  "lastModified": "2025-08-29T06:48:30.000Z",
  "library_name": "transformers",
  "likes": 112,
  "mask_token": "<mask:1>",
  "model-index": null,
  "modelId": "baidu/ERNIE-4.5-0.3B-PT",
  "pipeline_tag": "text-generation",
  "private": false,
  "safetensors": {
    "parameters": {
      "BF16": 360748032
    },
    "total": 360748032
  },
  "sha": "b565cf6caebdb7a1eadf00100857b1ed5e044f12",
  "siblings": [
    {
      "rfilename": ".gitattributes"
    },
    {
      "rfilename": "LICENSE"
    },
    {
      "rfilename": "README.md"
    },
    {
      "rfilename": "added_tokens.json"
    },
    {
      "rfilename": "chat_template.jinja"
    },
    {
      "rfilename": "config.json"
    },
    {
      "rfilename": "generation_config.json"
    },
    {
      "rfilename": "model.safetensors"
    },
    {
      "rfilename": "special_tokens_map.json"
    },
    {
      "rfilename": "tokenizer.json"
    },
    {
      "rfilename": "tokenizer.model"
    },
    {
      "rfilename": "tokenizer_config.json"
    }
  ],
  "spaces": [
    "tardellirs/model-pulse",
    "aquanode/gpu-vram-calculator",
    "EuroEval/euroeval_leaderboard",
    "AlexTransformer/ernie-4.5-logprob-compare",
    "eagle0504/ERNIE-4.5-DEMO",
    "AlexTransformer/ernie_embebbing_layer_example",
    "enacimie/SimpleChatGradio-Ernie",
    "AbdulElahGwaith/baidu-ERNIE-4.5-0.3B-PT"
  ],
  "tags": [
    "transformers",
    "safetensors",
    "ernie4_5",
    "text-generation",
    "ERNIE4.5",
    "conversational",
    "en",
    "zh",
    "license:apache-2.0",
    "endpoints_compatible",
    "deploy:azure",
    "region:us"
  ],
  "transformersInfo": {
    "auto_model": "AutoModelForCausalLM",
    "pipeline_tag": "text-generation",
    "processor": "AutoTokenizer"
  },
  "usedStorage": 734314983,
  "widgetData": [
    {
      "text": "Hi, what can you help me with?"
    },
    {
      "text": "What is 84 * 3 / 2?"
    },
    {
      "text": "Tell me an interesting fact about the universe!"
    },
    {
      "text": "Explain quantum computing in simple terms."
    }
  ]
}
gatedfalse
receipt
Source
Hugging Face models
Its words
false
Read by
field:gated
Said since
2026-10-02 12:02 UTC
Last answered
2026-10-04 18:21 UTC
Original
open at the source
What the source handed over
{
  "_asked": "baidu/ERNIE-4.5-0.3B-PT",
  "_id": "685f879e6a9cf2c4405f4d9e",
  "author": "baidu",
  "cardData": {
    "language": [
      "en",
      "zh"
    ],
    "library_name": "transformers",
    "license": "apache-2.0",
    "pipeline_tag": "text-generation",
    "tags": [
      "ERNIE4.5"
    ]
  },
  "config": {
    "architectures": [
      "Ernie4_5ForCausalLM"
    ],
    "chat_template_jinja": "{%- if not add_generation_prompt is defined -%}\n    {%- set add_generation_prompt = true -%}\n{%- endif -%}\n{%- if not cls_token is defined -%}\n    {%- set cls_token = \"<|begin_of_sentence|>\" -%}\n{%- endif -%}\n{%- if not sep_token is defined -%}\n    {%- set sep_token = \"<|end_of_sentence|>\" -%}\n{%- endif -%}\n{{- cls_token -}}\n{%- for message in messages -%}\n    {%- if message[\"role\"] == \"user\" -%}\n        {{- \"User: \" + message[\"content\"] + \"\n\" -}}\n    {%- elif message[\"role\"] == \"assistant\" -%}\n        {{- \"Assistant: \" + message[\"content\"] + sep_token -}}\n    {%- elif message[\"role\"] == \"system\" -%}\n        {{- message[\"content\"] + \"\n\" -}}\n    {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n    {{- \"Assistant: \" -}}\n{%- endif -%}",
    "model_type": "ernie4_5",
    "tokenizer_config": {
      "bos_token": "<s>",
      "cls_token": "<|begin_of_sentence|>",
      "eos_token": "</s>",
      "mask_token": "<mask:1>",
      "pad_token": "<unk>",
      "sep_token": "<|end_of_sentence|>",
      "unk_token": "<unk>",
      "use_default_system_prompt": false
    }
  },
  "createdAt": "2025-06-28T06:11:42.000Z",
  "disabled": false,
  "downloads": 15227,
  "gated": false,
  "id": "baidu/ERNIE-4.5-0.3B-PT",
  "lastModified": "2025-08-29T06:48:30.000Z",
  "library_name": "transformers",
  "likes": 112,
  "mask_token": "<mask:1>",
  "model-index": null,
  "modelId": "baidu/ERNIE-4.5-0.3B-PT",
  "pipeline_tag": "text-generation",
  "private": false,
  "safetensors": {
    "parameters": {
      "BF16": 360748032
    },
    "total": 360748032
  },
  "sha": "b565cf6caebdb7a1eadf00100857b1ed5e044f12",
  "siblings": [
    {
      "rfilename": ".gitattributes"
    },
    {
      "rfilename": "LICENSE"
    },
    {
      "rfilename": "README.md"
    },
    {
      "rfilename": "added_tokens.json"
    },
    {
      "rfilename": "chat_template.jinja"
    },
    {
      "rfilename": "config.json"
    },
    {
      "rfilename": "generation_config.json"
    },
    {
      "rfilename": "model.safetensors"
    },
    {
      "rfilename": "special_tokens_map.json"
    },
    {
      "rfilename": "tokenizer.json"
    },
    {
      "rfilename": "tokenizer.model"
    },
    {
      "rfilename": "tokenizer_config.json"
    }
  ],
  "spaces": [
    "tardellirs/model-pulse",
    "aquanode/gpu-vram-calculator",
    "EuroEval/euroeval_leaderboard",
    "AlexTransformer/ernie-4.5-logprob-compare",
    "eagle0504/ERNIE-4.5-DEMO",
    "AlexTransformer/ernie_embebbing_layer_example",
    "enacimie/SimpleChatGradio-Ernie",
    "AbdulElahGwaith/baidu-ERNIE-4.5-0.3B-PT"
  ],
  "tags": [
    "transformers",
    "safetensors",
    "ernie4_5",
    "text-generation",
    "ERNIE4.5",
    "conversational",
    "en",
    "zh",
    "license:apache-2.0",
    "endpoints_compatible",
    "deploy:azure",
    "region:us"
  ],
  "transformersInfo": {
    "auto_model": "AutoModelForCausalLM",
    "pipeline_tag": "text-generation",
    "processor": "AutoTokenizer"
  },
  "usedStorage": 734314983,
  "widgetData": [
    {
      "text": "Hi, what can you help me with?"
    },
    {
      "text": "What is 84 * 3 / 2?"
    },
    {
      "text": "Tell me an interesting fact about the universe!"
    },
    {
      "text": "Explain quantum computing in simple terms."
    }
  ]
}
licenceapache-2.0
receipt
Source
Hugging Face models
Its words
apache-2.0
Read by
field:cardData.license
Said since
2026-10-02 12:02 UTC
Last answered
2026-10-04 18:21 UTC
Original
open at the source
What the source handed over
{
  "_asked": "baidu/ERNIE-4.5-0.3B-PT",
  "_id": "685f879e6a9cf2c4405f4d9e",
  "author": "baidu",
  "cardData": {
    "language": [
      "en",
      "zh"
    ],
    "library_name": "transformers",
    "license": "apache-2.0",
    "pipeline_tag": "text-generation",
    "tags": [
      "ERNIE4.5"
    ]
  },
  "config": {
    "architectures": [
      "Ernie4_5ForCausalLM"
    ],
    "chat_template_jinja": "{%- if not add_generation_prompt is defined -%}\n    {%- set add_generation_prompt = true -%}\n{%- endif -%}\n{%- if not cls_token is defined -%}\n    {%- set cls_token = \"<|begin_of_sentence|>\" -%}\n{%- endif -%}\n{%- if not sep_token is defined -%}\n    {%- set sep_token = \"<|end_of_sentence|>\" -%}\n{%- endif -%}\n{{- cls_token -}}\n{%- for message in messages -%}\n    {%- if message[\"role\"] == \"user\" -%}\n        {{- \"User: \" + message[\"content\"] + \"\n\" -}}\n    {%- elif message[\"role\"] == \"assistant\" -%}\n        {{- \"Assistant: \" + message[\"content\"] + sep_token -}}\n    {%- elif message[\"role\"] == \"system\" -%}\n        {{- message[\"content\"] + \"\n\" -}}\n    {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n    {{- \"Assistant: \" -}}\n{%- endif -%}",
    "model_type": "ernie4_5",
    "tokenizer_config": {
      "bos_token": "<s>",
      "cls_token": "<|begin_of_sentence|>",
      "eos_token": "</s>",
      "mask_token": "<mask:1>",
      "pad_token": "<unk>",
      "sep_token": "<|end_of_sentence|>",
      "unk_token": "<unk>",
      "use_default_system_prompt": false
    }
  },
  "createdAt": "2025-06-28T06:11:42.000Z",
  "disabled": false,
  "downloads": 15227,
  "gated": false,
  "id": "baidu/ERNIE-4.5-0.3B-PT",
  "lastModified": "2025-08-29T06:48:30.000Z",
  "library_name": "transformers",
  "likes": 112,
  "mask_token": "<mask:1>",
  "model-index": null,
  "modelId": "baidu/ERNIE-4.5-0.3B-PT",
  "pipeline_tag": "text-generation",
  "private": false,
  "safetensors": {
    "parameters": {
      "BF16": 360748032
    },
    "total": 360748032
  },
  "sha": "b565cf6caebdb7a1eadf00100857b1ed5e044f12",
  "siblings": [
    {
      "rfilename": ".gitattributes"
    },
    {
      "rfilename": "LICENSE"
    },
    {
      "rfilename": "README.md"
    },
    {
      "rfilename": "added_tokens.json"
    },
    {
      "rfilename": "chat_template.jinja"
    },
    {
      "rfilename": "config.json"
    },
    {
      "rfilename": "generation_config.json"
    },
    {
      "rfilename": "model.safetensors"
    },
    {
      "rfilename": "special_tokens_map.json"
    },
    {
      "rfilename": "tokenizer.json"
    },
    {
      "rfilename": "tokenizer.model"
    },
    {
      "rfilename": "tokenizer_config.json"
    }
  ],
  "spaces": [
    "tardellirs/model-pulse",
    "aquanode/gpu-vram-calculator",
    "EuroEval/euroeval_leaderboard",
    "AlexTransformer/ernie-4.5-logprob-compare",
    "eagle0504/ERNIE-4.5-DEMO",
    "AlexTransformer/ernie_embebbing_layer_example",
    "enacimie/SimpleChatGradio-Ernie",
    "AbdulElahGwaith/baidu-ERNIE-4.5-0.3B-PT"
  ],
  "tags": [
    "transformers",
    "safetensors",
    "ernie4_5",
    "text-generation",
    "ERNIE4.5",
    "conversational",
    "en",
    "zh",
    "license:apache-2.0",
    "endpoints_compatible",
    "deploy:azure",
    "region:us"
  ],
  "transformersInfo": {
    "auto_model": "AutoModelForCausalLM",
    "pipeline_tag": "text-generation",
    "processor": "AutoTokenizer"
  },
  "usedStorage": 734314983,
  "widgetData": [
    {
      "text": "Hi, what can you help me with?"
    },
    {
      "text": "What is 84 * 3 / 2?"
    },
    {
      "text": "Tell me an interesting fact about the universe!"
    },
    {
      "text": "Explain quantum computing in simple terms."
    }
  ]
}
likes112
receipt
Source
Hugging Face models
Its words
112
Read by
field:likes
Said since
2026-10-02 12:02 UTC
Last answered
2026-10-04 18:21 UTC
Original
open at the source
What the source handed over
{
  "_asked": "baidu/ERNIE-4.5-0.3B-PT",
  "_id": "685f879e6a9cf2c4405f4d9e",
  "author": "baidu",
  "cardData": {
    "language": [
      "en",
      "zh"
    ],
    "library_name": "transformers",
    "license": "apache-2.0",
    "pipeline_tag": "text-generation",
    "tags": [
      "ERNIE4.5"
    ]
  },
  "config": {
    "architectures": [
      "Ernie4_5ForCausalLM"
    ],
    "chat_template_jinja": "{%- if not add_generation_prompt is defined -%}\n    {%- set add_generation_prompt = true -%}\n{%- endif -%}\n{%- if not cls_token is defined -%}\n    {%- set cls_token = \"<|begin_of_sentence|>\" -%}\n{%- endif -%}\n{%- if not sep_token is defined -%}\n    {%- set sep_token = \"<|end_of_sentence|>\" -%}\n{%- endif -%}\n{{- cls_token -}}\n{%- for message in messages -%}\n    {%- if message[\"role\"] == \"user\" -%}\n        {{- \"User: \" + message[\"content\"] + \"\n\" -}}\n    {%- elif message[\"role\"] == \"assistant\" -%}\n        {{- \"Assistant: \" + message[\"content\"] + sep_token -}}\n    {%- elif message[\"role\"] == \"system\" -%}\n        {{- message[\"content\"] + \"\n\" -}}\n    {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n    {{- \"Assistant: \" -}}\n{%- endif -%}",
    "model_type": "ernie4_5",
    "tokenizer_config": {
      "bos_token": "<s>",
      "cls_token": "<|begin_of_sentence|>",
      "eos_token": "</s>",
      "mask_token": "<mask:1>",
      "pad_token": "<unk>",
      "sep_token": "<|end_of_sentence|>",
      "unk_token": "<unk>",
      "use_default_system_prompt": false
    }
  },
  "createdAt": "2025-06-28T06:11:42.000Z",
  "disabled": false,
  "downloads": 15227,
  "gated": false,
  "id": "baidu/ERNIE-4.5-0.3B-PT",
  "lastModified": "2025-08-29T06:48:30.000Z",
  "library_name": "transformers",
  "likes": 112,
  "mask_token": "<mask:1>",
  "model-index": null,
  "modelId": "baidu/ERNIE-4.5-0.3B-PT",
  "pipeline_tag": "text-generation",
  "private": false,
  "safetensors": {
    "parameters": {
      "BF16": 360748032
    },
    "total": 360748032
  },
  "sha": "b565cf6caebdb7a1eadf00100857b1ed5e044f12",
  "siblings": [
    {
      "rfilename": ".gitattributes"
    },
    {
      "rfilename": "LICENSE"
    },
    {
      "rfilename": "README.md"
    },
    {
      "rfilename": "added_tokens.json"
    },
    {
      "rfilename": "chat_template.jinja"
    },
    {
      "rfilename": "config.json"
    },
    {
      "rfilename": "generation_config.json"
    },
    {
      "rfilename": "model.safetensors"
    },
    {
      "rfilename": "special_tokens_map.json"
    },
    {
      "rfilename": "tokenizer.json"
    },
    {
      "rfilename": "tokenizer.model"
    },
    {
      "rfilename": "tokenizer_config.json"
    }
  ],
  "spaces": [
    "tardellirs/model-pulse",
    "aquanode/gpu-vram-calculator",
    "EuroEval/euroeval_leaderboard",
    "AlexTransformer/ernie-4.5-logprob-compare",
    "eagle0504/ERNIE-4.5-DEMO",
    "AlexTransformer/ernie_embebbing_layer_example",
    "enacimie/SimpleChatGradio-Ernie",
    "AbdulElahGwaith/baidu-ERNIE-4.5-0.3B-PT"
  ],
  "tags": [
    "transformers",
    "safetensors",
    "ernie4_5",
    "text-generation",
    "ERNIE4.5",
    "conversational",
    "en",
    "zh",
    "license:apache-2.0",
    "endpoints_compatible",
    "deploy:azure",
    "region:us"
  ],
  "transformersInfo": {
    "auto_model": "AutoModelForCausalLM",
    "pipeline_tag": "text-generation",
    "processor": "AutoTokenizer"
  },
  "usedStorage": 734314983,
  "widgetData": [
    {
      "text": "Hi, what can you help me with?"
    },
    {
      "text": "What is 84 * 3 / 2?"
    },
    {
      "text": "Tell me an interesting fact about the universe!"
    },
    {
      "text": "Explain quantum computing in simple terms."
    }
  ]
}
tasktext-generation
receipt
Source
Hugging Face models
Its words
text-generation
Read by
field:pipeline_tag
Said since
2026-10-02 12:02 UTC
Last answered
2026-10-04 18:21 UTC
Original
open at the source
What the source handed over
{
  "_asked": "baidu/ERNIE-4.5-0.3B-PT",
  "_id": "685f879e6a9cf2c4405f4d9e",
  "author": "baidu",
  "cardData": {
    "language": [
      "en",
      "zh"
    ],
    "library_name": "transformers",
    "license": "apache-2.0",
    "pipeline_tag": "text-generation",
    "tags": [
      "ERNIE4.5"
    ]
  },
  "config": {
    "architectures": [
      "Ernie4_5ForCausalLM"
    ],
    "chat_template_jinja": "{%- if not add_generation_prompt is defined -%}\n    {%- set add_generation_prompt = true -%}\n{%- endif -%}\n{%- if not cls_token is defined -%}\n    {%- set cls_token = \"<|begin_of_sentence|>\" -%}\n{%- endif -%}\n{%- if not sep_token is defined -%}\n    {%- set sep_token = \"<|end_of_sentence|>\" -%}\n{%- endif -%}\n{{- cls_token -}}\n{%- for message in messages -%}\n    {%- if message[\"role\"] == \"user\" -%}\n        {{- \"User: \" + message[\"content\"] + \"\n\" -}}\n    {%- elif message[\"role\"] == \"assistant\" -%}\n        {{- \"Assistant: \" + message[\"content\"] + sep_token -}}\n    {%- elif message[\"role\"] == \"system\" -%}\n        {{- message[\"content\"] + \"\n\" -}}\n    {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n    {{- \"Assistant: \" -}}\n{%- endif -%}",
    "model_type": "ernie4_5",
    "tokenizer_config": {
      "bos_token": "<s>",
      "cls_token": "<|begin_of_sentence|>",
      "eos_token": "</s>",
      "mask_token": "<mask:1>",
      "pad_token": "<unk>",
      "sep_token": "<|end_of_sentence|>",
      "unk_token": "<unk>",
      "use_default_system_prompt": false
    }
  },
  "createdAt": "2025-06-28T06:11:42.000Z",
  "disabled": false,
  "downloads": 15227,
  "gated": false,
  "id": "baidu/ERNIE-4.5-0.3B-PT",
  "lastModified": "2025-08-29T06:48:30.000Z",
  "library_name": "transformers",
  "likes": 112,
  "mask_token": "<mask:1>",
  "model-index": null,
  "modelId": "baidu/ERNIE-4.5-0.3B-PT",
  "pipeline_tag": "text-generation",
  "private": false,
  "safetensors": {
    "parameters": {
      "BF16": 360748032
    },
    "total": 360748032
  },
  "sha": "b565cf6caebdb7a1eadf00100857b1ed5e044f12",
  "siblings": [
    {
      "rfilename": ".gitattributes"
    },
    {
      "rfilename": "LICENSE"
    },
    {
      "rfilename": "README.md"
    },
    {
      "rfilename": "added_tokens.json"
    },
    {
      "rfilename": "chat_template.jinja"
    },
    {
      "rfilename": "config.json"
    },
    {
      "rfilename": "generation_config.json"
    },
    {
      "rfilename": "model.safetensors"
    },
    {
      "rfilename": "special_tokens_map.json"
    },
    {
      "rfilename": "tokenizer.json"
    },
    {
      "rfilename": "tokenizer.model"
    },
    {
      "rfilename": "tokenizer_config.json"
    }
  ],
  "spaces": [
    "tardellirs/model-pulse",
    "aquanode/gpu-vram-calculator",
    "EuroEval/euroeval_leaderboard",
    "AlexTransformer/ernie-4.5-logprob-compare",
    "eagle0504/ERNIE-4.5-DEMO",
    "AlexTransformer/ernie_embebbing_layer_example",
    "enacimie/SimpleChatGradio-Ernie",
    "AbdulElahGwaith/baidu-ERNIE-4.5-0.3B-PT"
  ],
  "tags": [
    "transformers",
    "safetensors",
    "ernie4_5",
    "text-generation",
    "ERNIE4.5",
    "conversational",
    "en",
    "zh",
    "license:apache-2.0",
    "endpoints_compatible",
    "deploy:azure",
    "region:us"
  ],
  "transformersInfo": {
    "auto_model": "AutoModelForCausalLM",
    "pipeline_tag": "text-generation",
    "processor": "AutoTokenizer"
  },
  "usedStorage": 734314983,
  "widgetData": [
    {
      "text": "Hi, what can you help me with?"
    },
    {
      "text": "What is 84 * 3 / 2?"
    },
    {
      "text": "Tell me an interesting fact about the universe!"
    },
    {
      "text": "Explain quantum computing in simple terms."
    }
  ]
}

Text

This source's terms allow its title, its values and a link here, not its text. It is at https://huggingface.co/baidu/ERNIE-4.5-0.3B-PT.