eandujar/2026-24679-HW1-Multimodal-Original
Straight-member torque: image and structured statics data eandujar/2026-24679-HW1-Multimodal-Original 100 synthetic planar-statics cases containing a rendered diagram and structured numerical/categorical features describing the member geometry, supports, and applied loads. The prediction task has two outputs: Torque direction — clockwise or counterclockwise. Torque magnitude — absolute moment about the pin in N m. This therefore supports both classification and regression… See the full description on the dataset page: https://huggingface.co/datasets/eandujar/2026-24679-HW1-Multimodal-Original.
Straight-member torque: image and structured statics data
eandujar/2026-24679-HW1-Multimodal-Original
100 synthetic planar-statics cases containing a rendered diagram and structured numerical/categorical features describing the member geometry, supports, and applied loads.
The prediction task has two outputs:
- Torque direction — clockwise or counterclockwise.
- Torque magnitude — absolute moment about the pin in N m.
This therefore supports both classification and regression experiments.
Source and task
The source DataFrame and prepared image list are joined by image filename. Each row represents one straight-member statics problem with:
- one pin support,
- one x-constrained/y-free roller support,
- two interior applied loads,
- geometric coordinates,
- force components,
- and a rendered diagram.
The signed ground-truth torque is stored in applied_moment_about_pin_Nm.
The two prediction targets are derived from that quantity:
- negative torque -> clockwise,
- positive torque -> counterclockwise,
torque_magnitude_Nm = abs(applied_moment_about_pin_Nm).
The classification encoding is:
- 0 = clockwise
- 1 = counterclockwise
applied_moment_about_pin_Nm, torque_magnitude_Nm, label, and label_name are targets and must not be supplied as model inputs.
Fields
Packaged splits
Holdout fraction: 30%; test receives 50% of holdout. The resulting target proportions are 70% training, 15% validation, 15% testing. Splits are stratified by class using seeds 24679 and 24680; rounding can affect proportions in small datasets. Images and descriptions stay together. There are 100 distinct cases. All cases are synthetic simulations; no augmented variants are added. Duplicate IDs and image hashes are rejected. Reuse these exact partitions for model comparisons.
Generation and units
Coordinates and distances use meters, forces use newtons, and torque uses N m. Positive x points right, positive y points up. Two applied loads may have x, y, or both components. The supports have distinct heights and are ideal bilateral constraints. Self-weight and applied couples are excluded. Descriptions round values to six decimals. Images contain no text or axes; the framing preserves geometry aspect ratio and leaves a small edge margin.
Intended use and limitations
Use for educational image-only, text-only, or combined image/text classification. The description contains enough numerical information to solve the task without the image; compare unimodal baselines to measure any multimodal benefit. Thin lines and overlapping loads can be difficult to distinguish at 224 x 224. This small synthetic dataset is not a real-world structural safety benchmark. Select settings on validation; use the test split for final evaluation.
Licensing
No license is assigned by this preparation code.
Load
from datasets import load_dataset
ds = load_dataset("eandujar/2026-24679-HW1-Multimodal-Original")
# Train with ds["train"], choose settings with ds["validation"], then score ds["test"].