Conversation
This was
linked to
issues
Mar 15, 2026
Closed
Add draft for mc2 sequence models from team SiegenPaderborn
…nts.txt need to be eliminated
…ests. Update readme.
gituser789
approved these changes
Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for the sequence-to-sequence H-field models from the MagNet Challenge 2025 alongside the existing power loss models, exposing both model families through a unified public API.
Given a future B waveform and temperature — plus an optional warmup window of past B/H samples — the new
SequenceModelpredicts the corresponding future H sequence directly on variable-length waveforms (no fixed-length resampling).New files
src_py/magnethub/sequence.pySequenceModelwrapper (mirrorsLossModel)src_py/magnethub/paderborn_sequence.pymodels/paderborn_sequence_modeling/*.eqxtests/test_sequence.pytests/test_files/unit_test_data_sequence_3C90.csvChanged files
paderborn.py→paderborn_loss.py__init__.pyloss.pypyproject.tomlrequirements.txt), addsjax/equinox, bumps to Python ≥3.13, includes.eqxin sdistREADME.mdUsage
Supported materials (sequence models)
3C90, 3C92, 3C94, 3C95, 3E6, 3F4, 77, 78, FEC007, FEC014, N27, N30, N49, N87, T37
Design decisions
(b_future, temperature, b_past=None, h_past=None)— the required inputs come first; warmup is optional and defaults to a single zero sample (GRU skips warmup internally when past length is 1).Normalizer,GRU,RNNwInterface, etc.) live directly inpaderborn_sequence.pyrather than a separate helpers module, keeping the file count manageable.Test results
The 2 skips and 1 warning are pre-existing (debug-gated paderborn loss tests and a CUDA driver warning from the sydney model).