Instructions to use ONESTRUCTION/Ishigaki-AEC-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ONESTRUCTION/Ishigaki-AEC-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ONESTRUCTION/Ishigaki-AEC-9B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ONESTRUCTION/Ishigaki-AEC-9B") model = AutoModelForMultimodalLM.from_pretrained("ONESTRUCTION/Ishigaki-AEC-9B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ONESTRUCTION/Ishigaki-AEC-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ONESTRUCTION/Ishigaki-AEC-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ONESTRUCTION/Ishigaki-AEC-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ONESTRUCTION/Ishigaki-AEC-9B
- SGLang
How to use ONESTRUCTION/Ishigaki-AEC-9B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ONESTRUCTION/Ishigaki-AEC-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ONESTRUCTION/Ishigaki-AEC-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ONESTRUCTION/Ishigaki-AEC-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ONESTRUCTION/Ishigaki-AEC-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ONESTRUCTION/Ishigaki-AEC-9B with Docker Model Runner:
docker model run hf.co/ONESTRUCTION/Ishigaki-AEC-9B
Ishigaki-AEC-9B
Ishigaki-AEC-9B is a language model for question answering about Japanese construction specifications. Developed by ONESTRUCTION through supervised fine-tuning (SFT) of Qwen3.5-9B using LoRA (Low-Rank Adaptation), it covers architectural, civil engineering, electrical, and mechanical works.
The model is trained to answer questions in Japanese and cite the clauses that support its answers. Its training data were constructed from Japanese public construction specifications and related laws, including specifications published by Japan’s Ministry of Land, Infrastructure, Transport and Tourism (MLIT) and law texts available through e-Gov.
Use Cases
Use Ishigaki-AEC-9B to ask about construction requirements, clarify specified procedures, and identify supporting clauses during specification review.
For example, a user can ask:
公共建築工事標準仕様書において、受注者は隣接工事の請負業者とどのように協力する必要がありますか。
The model is designed to explain the requirement and provide a clause reference. Answers and cited clauses should be checked against the specification edition applicable to the project.
Supported Languages and Scope
Language: Japanese
Construction domains:
- Architectural works
- Civil engineering
- Electrical works
- Mechanical works
Source specifications and laws:
- 公共建築工事標準仕様書 — 建築工事編・電気設備工事編・機械設備工事編
- 土木工事共通仕様書 — 第1編 共通編・第2編 材料編・第3編 土木工事共通編
- Related construction laws, including 建築基準法, available through e-Gov
The source specifications are published by MLIT and its regional development bureaus. ONESTRUCTION processed the source materials to construct training and evaluation data. Applicable source terms are available from MLIT, the Kinki Regional Development Bureau, and the Kanto Regional Development Bureau.
Benchmark Score
We evaluated Ishigaki-AEC-9B on an internal benchmark consisting of 981 four-choice questions, constructed from held-out source passages that were not used in our fine-tuning data. The model achieved a score of 56.07%, compared with 43.32% for Qwen3.5-9B, an improvement of 12.75 percentage points.
The following figure compares benchmark scores and inference time per question for Ishigaki-AEC-9B and the reference models.
Usage
The example below uses Hugging Face Transformers with Qwen3.5 support. Set enable_thinking=False when applying the chat template; omitting it has been observed to cause degraded responses or unintended role tags for this checkpoint.
import torch
from transformers import AutoTokenizer, Qwen3_5ForConditionalGeneration
model_name = "ONESTRUCTION/Ishigaki-AEC-9B"
SYSTEM_PROMPT = (
"You are a helpful assistant with specialized knowledge of Japanese public "
"construction and civil engineering standard specifications and related laws."
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = Qwen3_5ForConditionalGeneration.from_pretrained(
model_name,
dtype="auto",
device_map="auto",
).eval()
messages = [
{"role": "system", "content": SYSTEM_PROMPT},
{
"role": "user",
"content": (
"公共建築工事標準仕様書において、受注者は隣接工事の請負業者と"
"どのように協力する必要がありますか。"
),
},
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False,
)
inputs = tokenizer(
text, return_tensors="pt", add_special_tokens=False
).to(model.device)
with torch.no_grad():
outputs = model.generate(**inputs, max_new_tokens=1024)
response_ids = outputs[0, inputs.input_ids.shape[1]:]
print(tokenizer.decode(response_ids, skip_special_tokens=True))
Developers
In alphabetical order
License
Creative Commons Attribution 4.0 International (CC BY 4.0)
The base model's Apache 2.0 license also applies.
Citation
@misc{ishigaki_aec_9b_2026,
title={{Ishigaki-AEC-9B}},
author={{ONESTRUCTION Inc.}},
year={2026},
url={https://huggingface.co/ONESTRUCTION/Ishigaki-AEC-9B}
}
- Downloads last month
- 235


