Dataset Viewer
Auto-converted to Parquet Duplicate
document_id
stringlengths
16
16
project_id
stringclasses
1 value
source_path
stringlengths
14
47
chunk_index
int64
0
8
token_start
int64
0
3.07k
token_end
int64
34
3.34k
chunk_id
stringlengths
18
18
annotation_method
stringclasses
1 value
text
stringlengths
59
3.99k
tokens
listlengths
11
384
candidate_labels
listlengths
14
14
entities
listlengths
0
125
e78e24638e31d176
default
Linear_Actuator_practice.sysml
0
0
384
e78e24638e31d176:0
translator-rule
private import ScalarValues::String; private import SI::V; private import SI::A; port def PowerOutletPort { out attribute power :> ISQ::electricPower; attribute voltage :> ISQ::voltage; attribute ratedCurrent : ISQ::ElectricCurrentValue; } part def Room { attribute name : String; attribute size : ISQ::AreaVal...
[ "private", "import", "ScalarValues", "::", "String", ";", "private", "import", "SI", "::", "V", ";", "private", "import", "SI", "::", "A", ";", "port", "def", "PowerOutletPort", "{", "out", "attribute", "power", ":>", "ISQ", "::", "electricPower", ";", "at...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 20, "end_token": 20, "label": "port definition", "text": "PowerOutletPort" }, { "start_token": 24, "end_token": 24, "label": "attribute", "text": "power" }, { "start_token": 31, "end_token": 31, "label": "attribute", "text": "voltage" }, {...
e78e24638e31d176
default
Linear_Actuator_practice.sysml
1
384
768
e78e24638e31d176:1
translator-rule
area [m²] in ambientTemp : Real; // outside temperature [°C] in targetTemp : Real; // desired interior temperature [°C] in h : Real default = 1.5; // heat transfer coefficient [W/(m²·K)] attribute deltaT : Real = targetTemp - ambientTemp; return : Real = h * A * deltaT; // resulting heat loss in Watts } r...
[ "area", "[", "m", "²", "]", "in", "ambientTemp", ":", "Real", ";", "/", "/", "outside", "temperature", "[", "°", "C", "]", "in", "targetTemp", ":", "Real", ";", "/", "/", "desired", "interior", "temperature", "[", "°", "C", "]", "in", "h", ":", "...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 56, "end_token": 56, "label": "attribute", "text": "deltaT" }, { "start_token": 84, "end_token": 84, "label": "requirement", "text": "HeatingSufficiency" }, { "start_token": 92, "end_token": 92, "label": "attribute", "text": "ambientTemp" },...
e78e24638e31d176
default
Linear_Actuator_practice.sysml
2
768
779
e78e24638e31d176:2
translator-rule
targetTemp; assume constraint { ambientTemp > 5 } } }
[ "targetTemp", ";", "assume", "constraint", "{", "ambientTemp", ">", "5", "}", "}", "}" ]
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[]
ab3dac58b8e5186c
default
Linear_Actuator_Part_Definitions.sysml
0
0
384
ab3dac58b8e5186c:0
translator-rule
package LinearActuatorPartDefinitions { part def ActuatorBase { attribute mass :> ISQ::mass; } part def ShaftGuide { attribute mass :> ISQ::mass; } part def ShaftWithMountingHole { attribute mass :> ISQ::mass; attribute length :> ISQ::length; } part def Mou...
[ "package", "LinearActuatorPartDefinitions", "{", "part", "def", "ActuatorBase", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", "def", "ShaftGuide", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", "def", "ShaftWi...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorPartDefinitions" }, { "start_token": 5, "end_token": 5, "label": "part definition", "text": "ActuatorBase" }, { "start_token": 8, "end_token": 8, "label": "attribute", "text": "mass...
ab3dac58b8e5186c
default
Linear_Actuator_Part_Definitions.sysml
1
384
596
ab3dac58b8e5186c:1
translator-rule
ISQ::mass; } part def BrushHolderPCB { attribute mass :> ISQ::mass; } part def BrushHolderPCBScrew { attribute mass :> ISQ::mass; } part def BrushSpring { attribute mass :> ISQ::mass; } part def ElectricMotorBrush { attribute mass :> ISQ::mass; ...
[ "ISQ", "::", "mass", ";", "}", "part", "def", "BrushHolderPCB", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", "def", "BrushHolderPCBScrew", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", "def", "BrushSprin...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 7, "end_token": 7, "label": "part definition", "text": "BrushHolderPCB" }, { "start_token": 10, "end_token": 10, "label": "attribute", "text": "mass" }, { "start_token": 19, "end_token": 19, "label": "part definition", "text": "BrushHolderPCBS...
b8b8dd402e6be753
default
Linear_Actuator_Interface_Definitions.sysml
0
0
56
b8b8dd402e6be753:0
translator-rule
package LinearActuatorInterfaceDefinitions { public import LinearActuatorPortDefinitions::*; interface def PowerInterface { end [1] port powerinput : PowerInputPort; end [1] port poweroutput : PowerOutputPort; } interface def TorqueInterface { end [1] port torqueinput : Tor...
[ "package", "LinearActuatorInterfaceDefinitions", "{", "public", "import", "LinearActuatorPortDefinitions", "::", "*", ";", "interface", "def", "PowerInterface", "{", "end", "[", "1", "]", "port", "powerinput", ":", "PowerInputPort", ";", "end", "[", "1", "]", "por...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorInterfaceDefinitions" }, { "start_token": 11, "end_token": 11, "label": "interface definition", "text": "PowerInterface" }, { "start_token": 18, "end_token": 18, "label": "port", "t...
ae778d9f0962686f
default
Linear_Actuator_State_Definitions.sysml
0
0
106
ae778d9f0962686f:0
translator-rule
package LinearActuatorStateDefinitions { public import LinearActuatorActionDefinitions::*; item def PowerFromBattery; item def FrontLimitSwitchSignal; item def BackLimitSwitchSignal; state def LinearActuatorState { entry; then off; state off; transition OffToActuatingForw...
[ "package", "LinearActuatorStateDefinitions", "{", "public", "import", "LinearActuatorActionDefinitions", "::", "*", ";", "item", "def", "PowerFromBattery", ";", "item", "def", "FrontLimitSwitchSignal", ";", "item", "def", "BackLimitSwitchSignal", ";", "state", "def", "L...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorStateDefinitions" }, { "start_token": 11, "end_token": 11, "label": "item flow", "text": "PowerFromBattery" }, { "start_token": 15, "end_token": 15, "label": "item flow", "text": "F...
e7e8984b7dba35f6
default
Linear_Actuator_Sequence_Model.sysml
0
0
214
e7e8984b7dba35f6:0
translator-rule
package LinearActuatorModel11 { public import LinearActuatorPartDefinitions::*; public import LinearActuatorModel4::*; part def Person { attribute mass :> ISQ :: mass; } part def Thing { attribute mass :> ISQ :: mass; } part person : Person { event occurrence plugIn...
[ "package", "LinearActuatorModel11", "{", "public", "import", "LinearActuatorPartDefinitions", "::", "*", ";", "public", "import", "LinearActuatorModel4", "::", "*", ";", "part", "def", "Person", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "par...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel11" }, { "start_token": 17, "end_token": 17, "label": "part definition", "text": "Person" }, { "start_token": 20, "end_token": 20, "label": "attribute", "text": "mass" }, {...
e841b66d155d3330
default
Linear_Actuator_Connection_And_Port_Model.sysml
0
0
384
e841b66d155d3330:0
translator-rule
package LinearActuatorModel5 { public import ISQ::*; public import SI::*; public import ScalarValues::*; port def PowerInputPort { in attribute power :> ISQ::power; } port def PowerOutputPort { out attribute power :> ISQ::power; } port def TorqueInputPort { in ...
[ "package", "LinearActuatorModel5", "{", "public", "import", "ISQ", "::", "*", ";", "public", "import", "SI", "::", "*", ";", "public", "import", "ScalarValues", "::", "*", ";", "port", "def", "PowerInputPort", "{", "in", "attribute", "power", ":>", "ISQ", ...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel5" }, { "start_token": 23, "end_token": 23, "label": "port definition", "text": "PowerInputPort" }, { "start_token": 27, "end_token": 27, "label": "attribute", "text": "power" ...
e841b66d155d3330
default
Linear_Actuator_Connection_And_Port_Model.sysml
1
384
768
e841b66d155d3330:1
translator-rule
attribute mass :> ISQ::mass; port powerOutput : PowerOutputPort; port powerInput : PowerInputPort; } part def Wire { attribute mass :> ISQ::mass; port powerOutput : PowerOutputPort; port powerInput : PowerInputPort; } part def ShaftEnclosureCentralScrew { ...
[ "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "port", "powerOutput", ":", "PowerOutputPort", ";", "port", "powerInput", ":", "PowerInputPort", ";", "}", "part", "def", "Wire", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "port", "powerO...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "attribute", "text": "mass" }, { "start_token": 8, "end_token": 8, "label": "port", "text": "powerOutput" }, { "start_token": 10, "end_token": 10, "label": "port definition reference", "text": "PowerOutputPort" },...
e841b66d155d3330
default
Linear_Actuator_Connection_And_Port_Model.sysml
2
768
1,152
e841b66d155d3330:2
translator-rule
1] port torqueoutput : TorqueOutputPort; } part def LinearActuatorAssembly { attribute mass :> ISQ::mass; part actuatorbase[1] : ActuatorBase; part shaftenclosurecentralscrew[1] : ShaftEnclosureCentralScrew; part limitswitchcarrier[1] : LimitSwitchCarrier; part ...
[ "1", "]", "port", "torqueoutput", ":", "TorqueOutputPort", ";", "}", "part", "def", "LinearActuatorAssembly", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "part", "actuatorbase", "[", "1", "]", ":", "ActuatorBase", ";", "part", "shaftenclosurecent...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 3, "end_token": 3, "label": "port", "text": "torqueoutput" }, { "start_token": 5, "end_token": 5, "label": "port definition reference", "text": "TorqueOutputPort" }, { "start_token": 10, "end_token": 10, "label": "part definition", "text": "Li...
e841b66d155d3330
default
Linear_Actuator_Connection_And_Port_Model.sysml
3
1,152
1,451
e841b66d155d3330:3
translator-rule
shaftdrivegearwheel[1] : ShaftDriveGearWheel { port torqueinput[1] : TorqueInputPort; port torqueoutput[1] : TorqueOutputPort; } part shaftdrive[1] : ShaftDrive { port torqueinput[1] : TorqueInputPort; port torqueoutput[1] : TorqueOutputPort; } ...
[ "shaftdrivegearwheel", "[", "1", "]", ":", "ShaftDriveGearWheel", "{", "port", "torqueinput", "[", "1", "]", ":", "TorqueInputPort", ";", "port", "torqueoutput", "[", "1", "]", ":", "TorqueOutputPort", ";", "}", "part", "shaftdrive", "[", "1", "]", ":", "S...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[]
448217e3be7a725b
default
Linear_Actuator_Action_Semantic_Mistake.sysml
0
0
384
448217e3be7a725b:0
translator-rule
package LinearActuatorActionSemanticMistake { public import LinearActuatorPartDefinitions::*; public import ISQ::*; public import SI::*; public import ScalarValues::*; item def Power; item def TorqueCCW; item def TorqueCW; item def Signal; action def GivePower { out power :...
[ "package", "LinearActuatorActionSemanticMistake", "{", "public", "import", "LinearActuatorPartDefinitions", "::", "*", ";", "public", "import", "ISQ", "::", "*", ";", "public", "import", "SI", "::", "*", ";", "public", "import", "ScalarValues", "::", "*", ";", "...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorActionSemanticMistake" }, { "start_token": 29, "end_token": 29, "label": "item flow", "text": "Power" }, { "start_token": 33, "end_token": 33, "label": "item flow", "text": "TorqueC...
448217e3be7a725b
default
Linear_Actuator_Action_Semantic_Mistake.sysml
1
384
565
448217e3be7a725b:1
translator-rule
action gearspinclockwise : GearSpinClockwise{ in torquecw; out torqueccw; } action movebackward : MoveBackward{ in torqueccw; out length; } action activatebacklimitswitch : ActivateBackLimitSwitch { out signal; } ...
[ "action", "gearspinclockwise", ":", "GearSpinClockwise", "{", "in", "torquecw", ";", "out", "torqueccw", ";", "}", "action", "movebackward", ":", "MoveBackward", "{", "in", "torqueccw", ";", "out", "length", ";", "}", "action", "activatebacklimitswitch", ":", "A...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 48, "end_token": 48, "label": "item flow", "text": "reversesignal" }, { "start_token": 60, "end_token": 60, "label": "item flow", "text": "rotorspincounterclockwise" }, { "start_token": 74, "end_token": 74, "label": "item flow", "text": "gears...
d93db4b5424010bb
default
Linear_Actuator_Package_Model.sysml
0
0
34
d93db4b5424010bb:0
translator-rule
package LinearActuatorDefinitions { public import LinearActuatorPartDefinitions::*; public import LinearActuatorPortDefinitions::*; public import LinearActuatorActionDefinitions::*; public import LinearActuatorStateDefinitions::*; public import LinearActuatorInterfaceDefinitions::*; }
[ "package", "LinearActuatorDefinitions", "{", "public", "import", "LinearActuatorPartDefinitions", "::", "*", ";", "public", "import", "LinearActuatorPortDefinitions", "::", "*", ";", "public", "import", "LinearActuatorActionDefinitions", "::", "*", ";", "public", "import"...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorDefinitions" } ]
32d42a3b3ecca427
default
Linear_Actuator_Port_Model2.sysml
0
0
384
32d42a3b3ecca427:0
translator-rule
package LinearActuatorModel7 { part def ShaftGuide { attribute mass :> ISQ::mass; } part def ShaftDriveGearWheel { attribute mass :> ISQ::mass; attribute torque :> ISQ :: torque; } part def ShaftDrive { attribute mass :> ISQ::mass; } part def LimitSwitch { ...
[ "package", "LinearActuatorModel7", "{", "part", "def", "ShaftGuide", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", "def", "ShaftDriveGearWheel", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "attribute", "torque", ":>", "...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel7" }, { "start_token": 5, "end_token": 5, "label": "part definition", "text": "ShaftGuide" }, { "start_token": 8, "end_token": 8, "label": "attribute", "text": "mass" }, { ...
32d42a3b3ecca427
default
Linear_Actuator_Port_Model2.sysml
1
384
683
32d42a3b3ecca427:1
translator-rule
port poweroutput[1] : PowerOutputPort; } part electricmotorrotor[1] : ElectricMotorRotor { port powerinput[1] : PowerInputPort; port torqueoutput[1] : TorqueOutputPort; } part shaftdrivegearwheel[1] : ShaftDriveGearWheel { port torqueinput[1] : TorqueI...
[ "port", "poweroutput", "[", "1", "]", ":", "PowerOutputPort", ";", "}", "part", "electricmotorrotor", "[", "1", "]", ":", "ElectricMotorRotor", "{", "port", "powerinput", "[", "1", "]", ":", "PowerInputPort", ";", "port", "torqueoutput", "[", "1", "]", ":"...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[]
95d112ee2a3ef87c
default
Linear_Actuator_Use_Case_Model.sysml
0
0
270
95d112ee2a3ef87c:0
translator-rule
package LinearActuatorModel10 { public import LinearActuatorDefinitions::*; public import LinearActuatorModel4::*; part def Person { attribute mass :> ISQ :: mass; } part def Thing { attribute mass :> ISQ :: mass; } use case def 'Linearly Push Item' { subject linear...
[ "package", "LinearActuatorModel10", "{", "public", "import", "LinearActuatorDefinitions", "::", "*", ";", "public", "import", "LinearActuatorModel4", "::", "*", ";", "part", "def", "Person", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", ...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel10" }, { "start_token": 17, "end_token": 17, "label": "part definition", "text": "Person" }, { "start_token": 20, "end_token": 20, "label": "attribute", "text": "mass" }, {...
0068e1bc3b397382
default
Linear_Actuator_Parametric_Model.sysml
0
0
165
0068e1bc3b397382:0
translator-rule
package LinearActuatorModel13 { public import LinearActuatorPartDefinitions::*; public import ScalarValues::*; public import RealFunctions::*; constraint def MassConstraint { in partMasses[0..*] : Real; in massLimit : Real; doc /* The sum of the masses of the parts in the linear...
[ "package", "LinearActuatorModel13", "{", "public", "import", "LinearActuatorPartDefinitions", "::", "*", ";", "public", "import", "ScalarValues", "::", "*", ";", "public", "import", "RealFunctions", "::", "*", ";", "constraint", "def", "MassConstraint", "{", "in", ...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel13" }, { "start_token": 23, "end_token": 23, "label": "constraint", "text": "MassConstraint" }, { "start_token": 89, "end_token": 89, "label": "part usage", "text": "actuatorba...
5e3babb998c29c52
default
Linear_Actuator_Requirements_Model.sysml
0
0
340
5e3babb998c29c52:0
translator-rule
package LinearActuatorModel12 { public import LinearActuatorModel4::*; public import LinearActuatorPartDefinitions::*; public import LinearActuatorModel7::*; public import LinearActuatorModel8::*; constraint def MaxMass { in linearactuator : LinearActuator; linearactuator.mass <= 2....
[ "package", "LinearActuatorModel12", "{", "public", "import", "LinearActuatorModel4", "::", "*", ";", "public", "import", "LinearActuatorPartDefinitions", "::", "*", ";", "public", "import", "LinearActuatorModel7", "::", "*", ";", "public", "import", "LinearActuatorModel...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel12" }, { "start_token": 29, "end_token": 29, "label": "constraint", "text": "MaxMass" }, { "start_token": 44, "end_token": 44, "label": "requirement", "text": "LinearActuatorMa...
022cdae52bff34c6
default
Linear_Actuator2.sysml
0
0
384
022cdae52bff34c6:0
translator-rule
package LinearActuatorModel2 { private import ISQ::*; private import SI::*; private import ScalarValues::*; port def SignalOut { out controlSignal; } port def SignalIn { in controlSignal; } port def TorqueOut { out outputTorque :> ISQ::torque; } port d...
[ "package", "LinearActuatorModel2", "{", "private", "import", "ISQ", "::", "*", ";", "private", "import", "SI", "::", "*", ";", "private", "import", "ScalarValues", "::", "*", ";", "port", "def", "SignalOut", "{", "out", "controlSignal", ";", "}", "port", "...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel2" }, { "start_token": 23, "end_token": 23, "label": "port definition", "text": "SignalOut" }, { "start_token": 31, "end_token": 31, "label": "port definition", "text": "Signal...
022cdae52bff34c6
default
Linear_Actuator2.sysml
1
384
768
022cdae52bff34c6:1
translator-rule
; port shaftGuidePort : ShaftGuidePort; perform action extendingShaft : ExtendingShaft; port insertPort : InsertPort; } part def MountingHoleGuard { attribute mass :> ISQ::mass; port inserterPort : InserterPort; } part def ShaftDriveORing { attribute mas...
[ ";", "port", "shaftGuidePort", ":", "ShaftGuidePort", ";", "perform", "action", "extendingShaft", ":", "ExtendingShaft", ";", "port", "insertPort", ":", "InsertPort", ";", "}", "part", "def", "MountingHoleGuard", "{", "attribute", "mass", ":>", "ISQ", "::", "mas...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 2, "end_token": 2, "label": "port", "text": "shaftGuidePort" }, { "start_token": 4, "end_token": 4, "label": "port definition reference", "text": "ShaftGuidePort" }, { "start_token": 8, "end_token": 8, "label": "action", "text": "extendingShaf...
022cdae52bff34c6
default
Linear_Actuator2.sysml
2
768
1,152
022cdae52bff34c6:2
translator-rule
ScrewPort; port inserterPort : InserterPort; } part def MountingPlateScrew { attribute mass :> ISQ::mass; port screwerPort : ScrewerPort; } part def LimitSwitch { attribute mass :> ISQ::mass; port signalOut : SignalOut; perform action activateLimitSwitch...
[ "ScrewPort", ";", "port", "inserterPort", ":", "InserterPort", ";", "}", "part", "def", "MountingPlateScrew", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "port", "screwerPort", ":", "ScrewerPort", ";", "}", "part", "def", "LimitSwitch", "{", "a...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 0, "end_token": 0, "label": "port definition reference", "text": "ScrewPort" }, { "start_token": 3, "end_token": 3, "label": "port", "text": "inserterPort" }, { "start_token": 5, "end_token": 5, "label": "port definition reference", "text": "I...
022cdae52bff34c6
default
Linear_Actuator2.sysml
3
1,152
1,517
022cdae52bff34c6:3
translator-rule
TorqueOut; perform action generateTorque; } part def RotorTopBearing { attribute mass :> ISQ::mass; port insertPort : InsertPort; port inserterPort : InserterPort; perform action freeSpin : FreeSpin; } part def RotorTopWasher { attribute mass :> ISQ::mas...
[ "TorqueOut", ";", "perform", "action", "generateTorque", ";", "}", "part", "def", "RotorTopBearing", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "port", "insertPort", ":", "InsertPort", ";", "port", "inserterPort", ":", "InserterPort", ";", "perf...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 0, "end_token": 0, "label": "port definition reference", "text": "TorqueOut" }, { "start_token": 4, "end_token": 4, "label": "action", "text": "generateTorque" }, { "start_token": 9, "end_token": 9, "label": "part definition", "text": "RotorTo...
6d6fda06f9414c75
default
Linear_Actuator_Port_Model.sysml
0
0
384
6d6fda06f9414c75:0
translator-rule
package LinearActuatorModel6 { part def ActuatorBase { attribute mass :> ISQ::mass; } part def ShaftGuide { attribute mass :> ISQ::mass; } part def ShaftWithMountingHole { attribute mass :> ISQ::mass; attribute length :> ISQ::length; } part def MountingHole...
[ "package", "LinearActuatorModel6", "{", "part", "def", "ActuatorBase", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", "def", "ShaftGuide", "{", "attribute", "mass", ":>", "ISQ", "::", "mass", ";", "}", "part", "def", "ShaftWithMountin...
[ "package", "part definition", "port definition", "interface definition", "requirement", "constraint", "attribute", "action", "state", "item flow", "port", "part usage", "port definition reference", "part definition reference" ]
[ { "start_token": 1, "end_token": 1, "label": "package", "text": "LinearActuatorModel6" }, { "start_token": 5, "end_token": 5, "label": "part definition", "text": "ActuatorBase" }, { "start_token": 8, "end_token": 8, "label": "attribute", "text": "mass" }, ...
End of preview. Expand in Data Studio

SysML GLiNER Training Data

1,898 labeled entity spans · 14 label types · 25 SysML documents · 62 training/evaluation chunks.

This is the actual weakly supervised corpus used to fine-tune GLiNER RelEx checkpoint 450 for the Patent to SysML prototype. The live interface offers AI Agents using Luna and Fine-Tuned NLP using this checkpoint. This dataset trained GLiNER; it did not train Luna.

The labels describe SysML source code, principally related linear-actuator examples with additional practice/sequence examples. They were generated by deterministic rules after translator validation. The 1,898 labels are annotated occurrences, not 1,898 independent documents or manually annotated samples.

At a glance

Split Source documents Chunks Labeled spans Chunks without entities
Train 21 54 1,721 12
Validation 2 5 139 2
Test 2 3 38 0
Total 25 62 1,898 14

Chunks contain at most 384 source tokens, using the project's SysML tokenizer. These are not the encoder's subword tokens. The original split seed is 42. Every source document belongs to one split. Related examples remain across splits, so document separation does not establish independent design-family separation.

Label distribution

Full split-specific counts, token lengths, negative examples and source filenames are in eda.json. provenance.json records original-file hashes; SHA256SUMS covers the published package.

Load and explore

from datasets import load_dataset

chunks = load_dataset("cmuchancel/gliner-sysml-training-data", "chunks")
entities = load_dataset("cmuchancel/gliner-sysml-training-data", "entities")
print(len(chunks["train"]))       # 54
print(len(entities["train"]))     # 1721 labeled occurrences
print(chunks["train"][0])

Two viewer configurations expose the same annotations:

Configuration Row unit Important fields
chunks (default) One context chunk chunk_id, document_id, source_path, text, tokens, candidate_labels, entities
entities One labeled occurrence entity_id, chunk_id, document_id, source_path, start_token, end_token, label, text

entities is a convenient annotation index, not an independently collected 1,898-sample corpus. Join it to chunks using chunk_id for context. start_token and end_token are inclusive, relative to tokens in that chunk. text in the entities configuration is the labeled entity; text in chunks is the exact source slice. annotation_method is translator-rule. token_start/token_end in metadata are the half-open document-token interval for the chunk.

To produce the original GLiNER input shape from a viewer row:

row = chunks["train"][0]
gliner_row = {
    "tokenized_text": row["tokens"],
    "ner": [[e["start_token"], e["end_token"], e["label"]] for e in row["entities"]],
    "label": row["candidate_labels"],
}

For exact reproduction, download original/splits/{train,validation,test}.json and their metadata files. Those training JSON files are retained byte-for-byte, including entity-free negative examples and all 14 candidate labels. original/canonical/documents.json contains the full SysML text, character spans and translated SJS. Character offsets there are half-open: text[start:end]. Its confidence: 1.0 is a fixed rule marker, not calibrated model confidence.

Collection and annotation

The supplied corpus entered the project in contributor eandujar09 (Eladio)'s source commit. The original contributor commit was e708b60dea0148615e7b7b3fc0583e4f5b8f394e; the linked commit is its cleaned-history equivalent after removing an upstream browser key from patent HTML. SysML source texts and GLiNER split bytes are unchanged. The original sibling SysML-files directory was not committed, but all 25 accepted source texts are preserved in canonical documents. Original upstream authorship beyond this contribution was not recorded; no manual collection or manual span-review count is established.

The preparation pipeline:

  1. Reads SysML files and deduplicates identical normalized text by SHA-256.
  2. Runs the supplied translator; translator-rejected documents are quarantined. The supplied build records zero errors. Translator acceptance does not guarantee semantic correctness; the corpus includes an explicitly named semantic-mistake example.
  3. Masks embedded @sjs JSON payloads when applying labeling rules, preserving character offsets. This prevents labeling those payload contents; the surrounding source text remains in the context.
  4. Applies syntax patterns for names and references, then verifies every labeled character slice matches its recorded text.
  5. Assigns documents to splits before dividing them into non-overlapping chunks; shifts spans to chunk-relative inclusive token offsets. The single default project group forced document-level splitting.
  6. Retains entity-free chunks and exports fixed train/validation/test JSON.

The labeling pipeline and Hub packaging script are in GitHub. Packaging regenerates every original chunk from the canonical documents and verifies equality before uploading. No padding, new annotations, augmentation, synthetic expansion or re-splitting was performed for this publication.

Label vocabulary

package, part definition, port definition, interface definition, requirement, constraint, attribute, action, state, item flow, port, part usage, port definition reference, part definition reference.

These rules identify syntax-associated names; they do not provide relationship supervision, patent-claim ground truth, or a complete semantic model of SysML.

Model connection and evaluation limits

The fine-tuned model starts from knowledgator/gliner-relex-large-v1.0, revision 4aedc9226a5ac9e2f6b5ea3e91c1ee577c88a290. Training used entity supervision only; relation-specific layers were frozen. The best validation-loss checkpoint was step 450.

At threshold 0.5, exact token-span-and-label matching on the retained test split produced micro F1 8.06% for the base and 100% for the fine-tuned checkpoint (38 correct entities, no false positives or misses). The test covers only actions, item flows, packages and states; ten labels have no support. Two related SysML documents with rule-generated labels are a pilot test, not evidence of broad accuracy. These results do not measure patent extraction or relation accuracy. See the model card for full training/evaluation details.

Intended use, ethics and rights

Suitable for teaching, reproducible pilot fine-tuning, label inspection and development of independently reviewed SysML extraction experiments. English code examples, rule-based labels, narrow domain coverage, related variants and class imbalance limit generalization. Human review and an independent manually labeled patent/relationship benchmark remain necessary for scientific quality claims.

The corpus is engineering example text; original source text has been retained. No private patent upload, account credential, textbook content, model weight, or agent conversation was added to this release. A verified manual annotation count and comprehensive upstream rights audit are not available. No blanket dataset license is asserted: see RIGHTS.md. The base model's Apache-2.0 license does not license this source dataset.

Citation

cmuchancel and eandujar09. (2026). SysML GLiNER Training Data: 1,898 rule-labeled entity spans in 25 documents. Hugging Face. https://huggingface.co/datasets/cmuchancel/gliner-sysml-training-data.

Dataset-card structure follows the Hugging Face dataset-card guide. Contact the repository owner through the dataset discussion page for corrections or provenance updates.

Downloads last month
736

Models trained or fine-tuned on cmuchancel/gliner-sysml-training-data

Space using cmuchancel/gliner-sysml-training-data 1