alt.freeweights.text / llm-jp-4-8b-thinking
From: llm-jp <huggingface.co/llm-jp>Newsgroups: alt.freeweights.textSubject:

llm-jp-4-8b-thinking

Date: 2026-11-15Commit: fc7c15cSigned: 2DC28CC7B26A283B ✓

Text generation model with 8.6B parameters. Safetensors weights, 17.2 GB in all. Published by llm-jp under Apache-2.0.

8.6B params17.2GBllm-jp-4-8b-thinkingsafetensorspermissive
FactsParams8.6BSize17.2 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get llm-jp/llm-jp-4-8b-thinking
# manifest sha256 ddec9e22a2e7… · 17.2 GB · 16 files
$ fw verify ./llm-jp-4-8b-thinking llm-jp/llm-jp-4-8b-thinking
From sourceHosted (signed)llm-jp/llm-jp-4-8b-thinkingLast check: 2026-11-15 03:24 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
17.2 GB
Weights
17.2 GB (safetensors)
Parameters
8.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
16, each with a sha256
Publisher
llm-jp
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:24 UTCpassed

Model card

From the publisher at commit fc7c15c. Shown as plain text with links; images open at the publisher.

llm-jp-4-8b-thinking#

LLM-jp-4 is a series of large language models developed by the Research and Development Center for Large Language Models at the National Institute of Informatics.

This repository provides the llm-jp-4-8b-thinking model. For an overview of the LLM-jp-4 models across different parameter sizes, please refer to:

Base models are trained with pre-training and mid-training only. Post-trained models are aligned using supervised fine-tuning (SFT) and direct preference optimization (DPO), without reinforcement learning.

For practical usage examples and detailed instructions on how to use the models, please also refer to our cookbook.

To support the continued development of LLM-jp, we would greatly appreciate it if you could share how you utilize LLM-jp outcomes via the survey form.

Usage#

Please refer to our cookbook for practical usage examples and detailed instructions on how to use the models.

Model Details#

  • Model type: Transformer-based Language Model
  • Architectures:

Dense model:

ParamsLayersHidden sizeHeadsContext lengthEmbedding parametersNon-embedding parametersTotal parameters
8B324,0963265,536805,306,3687,784,894,4648,590,200,832

MoE model:

ParamsLayersHidden sizeHeadsRouted ExpertsActivated ExpertsContext lengthEmbedding parametersNon-embedding parametersActivated parametersTotal parameters
32B-A3B322,56040128865,536503,316,48031,635,712,5123,827,476,99232,139,028,992

Tokenizer#

The tokenizer of this model is based on huggingface/tokenizers Unigram byte-fallback model. The vocabulary entries were converted from llm-jp-tokenizer v4.0. Please refer to README.md of llm-jp-tokenizer for details on the vocabulary construction procedure (the pure SentencePiece training does not reproduce our vocabulary).

Note. The chat template of this model is designed to be compatible with the OpenAI Harmony response format. However, the tokenizer differs from the one assumed by the openai-harmony library, and therefore direct tokenization with openai-harmony is not supported. For correct behavior, please use the tokenizer provided with this model. For detailed usage, please refer to our cookbook.

Training#

Pre-training#

This model is trained through a multi-stage pipeline consisting of pre-training and mid-training phases, using a total of 11.7T tokens.

Image: pretraining_overview

The corpora used for pre-training and mid-training are publicly available at the following links:

Note. Although most of the corpora have been released, some portions are excluded from public release due to licensing constraints.

Post-training#

We have fine-tuned the pre-trained checkpoint using SFT and further aligned it with DPO.

The datasets used for post-training are also publicly available at the following links:

Evaluation#

llm-jp-judge#

We evaluated the model on a variety of tasks using an LLM-as-a-Judge framework. The descriptions of each task are as follows.

  • MT-Bench (JA/EN): A benchmark for measuring multi-turn conversational task-solving ability.
  • AnswerCarefully: A benchmark for evaluating safety in Japanese. We used 336 questions from the v2.0 test set.
  • llm-jp-instructions: A set of human-created single-turn question–answer pairs. We used 400 questions from the test set.

We evaluated the models using gpt-5.4-2026-03-05.

Note. Note: In earlier evaluations of the llm-jp-3 series, we used gpt-4o-2024-08-06. The newer evaluator gpt-5.4-2026-03-05 provides a stricter and more reliable assessment, which results in lower scores on benchmarks such as MT-Bench compared to those reported for the llm-jp-3 series.

The scores represent the average values obtained from three rounds of inference and evaluation. For more details, please refer to the codes.

Model NameMT-Bench (JA)MT-Bench (EN)AnswerCarefullyllm-jp-instructions
gpt-4o-2024-08-067.297.694.004.07
gpt-5.4-2026-03-05 (reasoning_effort = low)8.878.764.384.79
gpt-5.4-2026-03-05 (reasoning_effort = medium)8.878.894.434.82
gpt-5.4-2026-03-05 (reasoning_effort = high)8.988.854.414.83
gpt-oss-20b (reasoning_effort = low)7.217.953.393.08
gpt-oss-20b (reasoning_effort = medium)7.337.853.553.16
llm-jp-4-8b-thinking (reasoning_effort = low)7.237.543.583.50
llm-jp-4-8b-thinking (reasoning_effort = medium)7.547.793.693.54
llm-jp-4-32b-a3b-thinking (reasoning_effort = low)7.577.703.613.61
llm-jp-4-32b-a3b-thinking (reasoning_effort = medium)7.827.863.703.61

Risks and Limitations#

The models released here are in the early stages of our research and development and have not been tuned to ensure outputs align with human intent and safety considerations.

Send Questions to#

llm-jp(at)nii.ac.jp

License#

Apache License, Version 2.0

Acknowledgement#

To develop this model, we used the NINJAL Web Japanese Corpus (whole-NWJC) from the National Institute for Japanese Language and Linguistics (NINJAL).

Model Card Authors#

The names are listed in alphabetical order.

Hirokazu Kiyomaru and Takashi Kodama.

Files

16 files · 17.2 GBWeights 17.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.63 KB8f7973eda94f32a6f02066d9fc5f4ae8abafbd818b204664455e60f39d65aaee
README.md7.77 KB9f484124f421341d908de2146edf1ced147eca8ef6f1fd5603fbacc812f92955
chat_template.jinja17.0 KB5d5e57261aef30a188c6fe8ac74e02de777f7e16a846485780d758f21f3e4093
config.json678 B6a6453f0ed6ce7553567c07e06b29158bb5eed89bbf6d98fe5c0c42282786502
generation_config.json111 B9e28577f9e06c60184458fb81fef865cd061d85ab13ceb78b1161313734d7e30
llmjp4_harmony.py4.18 KB1a4e09c66b17d3a8d19bed6b43978b951ba01b5a62feef1a2893d1e4e40f7d2a
llmjp4_tokenizer.py3.88 KB6bcbcf4e7088b4d2487cff4a47bda90e85d0440797a741667f016efbb13a34ed
model-00001-of-00004.safetensors4.98 GB130f3b4b3b29100abfa8ccdc174843003a2d397a4303ad9416c84ab0980e4fd5
model-00002-of-00004.safetensors5.00 GB807780b8ce247e829207d925fb686bde22a3b336de2fe618745b238569abe4ad
model-00003-of-00004.safetensors4.92 GB5d7131a52197fc00c8556cf17572fb9b808774d1193e76afee4ed562d14b745f
model-00004-of-00004.safetensors2.28 GB7115ce7f0c118fb35d705620ef4b952c917b6601089a2544c60267c3ea5b333b
model.safetensors.index.json23.9 KB421762e456b93c15a545ffbc34406ebc451e685cf0e00452dee4408d5f9254bf
special_tokens_map.json1.00 KB1b031761a2ba4d98b731b79d9c432bc37fe3f7704857147bc2b4388bc8c5ad20
tokenizer.json12.9 MBa35f390c6489427e4dcac7d957f34d9dacd7332972c990f4b4eb6b724c8873f4
tokenizer_config.json63.8 KB55aa3a433cbbde451a88b449dd46e5cacda76ed79a09347f105f6b08f438e5b2
v4_pretraining_overview.png282 KB24c21c60ca5a0b5c9a65841efd9ad98344dd66d4ac7f1fe80ea5100afefe40ef
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
fc7c15c262 pinned now2026-11-15 03:24 UTC16 files · 17.2 GB

Use it

$ fw get llm-jp/llm-jp-4-8b-thinking
# manifest sha256 ddec9e22a2e7… · 17.2 GB · 16 files
$ fw verify ./llm-jp-4-8b-thinking llm-jp/llm-jp-4-8b-thinking
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/llm-jp/llm-jp-4-8b-thinking.json --dir ./llm-jp-4-8b-thinking $ python3 fw.py verify ./llm-jp-4-8b-thinking ./llm-jp__llm-jp-4-8b-thinking.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download llm-jp/llm-jp-4-8b-thinking --revision fc7c15c262710016c19bcda4372a96ff68875846 --local-dir ./llm-jp-4-8b-thinking
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("llm-jp/llm-jp-4-8b-thinking", revision="fc7c15c262710016c19bcda4372a96ff68875846") model = AutoModelForCausalLM.from_pretrained("llm-jp/llm-jp-4-8b-thinking", revision="fc7c15c262710016c19bcda4372a96ff68875846", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve llm-jp/llm-jp-4-8b-thinking --revision fc7c15c262710016c19bcda4372a96ff68875846

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
9f484124f421341d908de2146edf1ced147eca8ef6f1fd5603fbacc812f92955
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: llm-jp <huggingface.co/llm-jp>Newsgroups: alt.freeweights.textSubject: llm-jp-4-8b-thinkingDate: 2026-11-15Commit: fc7c15cSigned: 2DC28CC7B26A283B ✓
Upstream
llm-jp/llm-jp-4-8b-thinking
Pinned commit
fc7c15c262710016c19bcda4372a96ff68875846
Manifest
llm-jp-4-8b-thinking.json · .minisig
Manifest sha256
ddec9e22a2e7b672d731d69ed88e2bcfdb72fd226e9b78d3c697720eb5a4a401
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:24 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/llm-jp/llm-jp-4-8b-thinking.json $ curl -O https://freeweights.allternit.com/manifests/llm-jp/llm-jp-4-8b-thinking.json.minisig $ minisign -Vm llm-jp-4-8b-thinking.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download llm-jp/llm-jp-4-8b-thinking
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. llm-jp-4-8b-thinking.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of llm-jp-4-8b-thinking. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B