Experimental Reasoning Models
Collection
Experimental fine-tuned models that utilize reasoning to create specific structured forms of output.
•
10 items
•
Updated
•
1
Support our open-source dataset and model releases!
UML Generator: Qwen3-4B-Thinking-2507, Qwen3-14B, gpt-oss-20b, gpt-oss-120b
UML Generator is one of our Experimental Reasoning Models with custom output format; for standard chat, try Shining Valiant 3 or Esper 3.1!
UML Generator is a specialist code-reasoning assistant, performing situational analysis and reasoning to create Unified Modeling Language diagrams.
UML Generator uses the gpt-oss-120b prompt format to create an XMI 2.5.1 file using UML Generator Format.
UML Generator is an experimental reasoning finetune:
Example inference script to get started:
from transformers import pipeline
import torch
model_id = "sequelbox/gpt-oss-120b-UML-Generator"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype="auto",
device_map="auto",
)
prompt = "Generate a UML class diagram modeling a feature toggle framework. A FeatureToggleManager provides an isEnabled(featureName) method. The manager's implementation must be designed using the Strategy pattern, where it delegates the actual check to an IFeatureToggleStrategy interface. This allows the framework to support different backends (e.g., ConfigFileStrategy, DatabaseStrategy, CloudConfigStrategy) for storing the toggle states."
#prompt = "Generate a UML component diagram for a CAN bus interface, clearly separating the hardware and software. Show a Vehicle_Control_App component requiring an I_CAN_Message interface (e.g., sendMessage(id, data)). This interface is provided by a CAN_HAL component. The CAN_HAL component, in turn, requires an I_CAN_Registers interface, which is provided by the <<hardware>>CAN_Controller component. The <<hardware>>CAN_Controller is then connected to a <<device>>CAN_Transceiver."
#prompt = "Generate a UML composite structure diagram for a HospitalInformationSystem component. This system must show its internal parts (subsystems): PatientAdmissions, ElectronicHealthRecord (EHR), Billing, and Pharmacy. PatientAdmissions must be connected to EHR and Billing. EHR must be connected to Pharmacy and Billing. The EHR part must also expose an external port HL7_Interface for communicating with external lab systems."
#prompt = "Generate a UML State Machine Diagram for an avionics Flight Mode Annunciator. The FMA must have two orthogonal regions: Autothrottle (States: Off, ARM, N1, SPEED) and Autopilot (States: Off, FD (Flight Director), CMD). The Autopilot region must also be a composite state with nested orthogonal regions for LateralMode (States: LNAV, HDG_SEL) and VerticalMode (States: LVNAV, ALT_HOLD). A TakeoffGoAround (TOGA) event must force-transition all regions to their respective armed/takeoff states."
messages = [
{"role": "user", "content": prompt},
]
outputs = pipe(
messages,
max_new_tokens=16000,
)
print(outputs[0]["generated_text"][-1])
UML Generator is one of our experimental reasoning releases; we've got more to come soon!
Do as you will.