CrossEncoder based on tomaarsen/reranker-ModernBERT-large-gooaq-bce

This is a Cross Encoder model finetuned from tomaarsen/reranker-ModernBERT-large-gooaq-bce using the sentence-transformers library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.

Model Details

Model Description

Model Sources

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import CrossEncoder

# Download from the ๐Ÿค— Hub
model = CrossEncoder("petkopetkov/reranker-ModernBERT-large-gooaq-bce-patent")
# Get scores for pairs of texts
pairs = [
    ['Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the physically connected dispenser monitor and which corresponds to a dispensing action of the attached dispenser; and to recognize subsequent data signatures received from the sensor which corresponds to the learned characteristics in order to determine a measure of dispenser use; and a transmitter configured to transmit data relating to the determined measure of dispenser use.', 'Dispenser tool, robot system with dispenser tool and method for dispensing viscous material onto wind turbine blade surface A dispenser tool is provided with multiple cartridges for dispensing viscous material onto the surface of a wind turbine blade . The dispenser tool is advantageously part of a robot system used to work the surface of the blade . The system is configured for bringing the nozzle of a selected cartridge into the vicinity of the surface and orienting the dispenser tool relatively to the surface such that the nozzle of the corresponding selected cartridge is at the surface for providing viscous material onto the surface from the selected cartridge while moving the nozzle along the surface . A method of operating a system at a wind turbine including a wind turbine blade with a surface, the method including the following steps: providing an unmanned robot including a base and an arm extending from the base, the arm having a remote end configured for movement of the remote end relative to the base; providing a dispenser tool attached to the remote end of the arm and configured for dispensing viscous material on the surface, and wherein the dispenser tool is configured and arranged to hold multiple cartridges containing viscous material, each cartridge having a respective nozzle; locating the robot at the surface; selecting at least one of the multiple cartridges in the dispenser tool for dispensing viscous material from the selected cartridge; via the arm, bringing the nozzle of the selected cartridge into the vicinity of the surface and orienting the dispenser tool relative to the surface such that the nozzle of the corresponding selected cartridge is at the surface; and activating the dispenser tool and providing viscous material onto the surface only from the selected cartridge.'],
    ['Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the physically connected dispenser monitor and which corresponds to a dispensing action of the attached dispenser; and to recognize subsequent data signatures received from the sensor which corresponds to the learned characteristics in order to determine a measure of dispenser use; and a transmitter configured to transmit data relating to the determined measure of dispenser use.', 'Fluid pump with whistle A fluid dispenser with a fluid pump for dispensing fluid on movement of an actuator, and an air pump for delivering a stream of air through at least one sound generator on movement of the actuator. The sound generator produces at least two sounds as the actuator is moved from a first position to a second position, with each sound produced in a different time period during a cycle of operation, or differing from the other sound in respect of one or more detectable sound characteristics, such as duration, frequency, temporal alignment, amplitude, and/or timbre. The time period of each sound is a function of the relative location of the actuator between the first and second positions. A fluid dispenser comprising: a fluid pump for dispensing fluid on movement of an actuator activated by a user; a first sound generator which generates a first sound when the fluid dispenser is activated by the user, the first sound generator being configured to produce the first sound from a first stream of air passing through the first sound generator; a second sound generator which generates a second sound when the fluid dispenser is activated by the user, the second sound generator being configured to produce the second sound from a second stream of air passing through the second sound generator; and at least one air pump for passing the first stream of air through the first sound generator and the second stream of air through the second sound generator on movement of the actuator; wherein in a cycle of operation to dispense a dose of the fluid, the actuator is moved between a first position and a second position; wherein the first sound generator produces the first sound as the actuator is moved from the first position to the second position, and the second sound generator produces the second sound as the actuator is moved from the first position to the second position; and wherein the first sound differs from the second sound in respect of at least one detectable sound characteristic.'],
    ['Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the physically connected dispenser monitor and which corresponds to a dispensing action of the attached dispenser; and to recognize subsequent data signatures received from the sensor which corresponds to the learned characteristics in order to determine a measure of dispenser use; and a transmitter configured to transmit data relating to the determined measure of dispenser use.', 'Apparatus and method for wirelessly powered dispensing A system includes a dispenser and a transmitter. The dispenser is configured to support and dispense product. The dispenser includes: a housing; an antenna disposed and configured to receive electromagnetic energy that originates from the transmitter; a power supply disposed within the housing and configured to convert the electromagnetic energy received at the antenna into DC power; a dispenser mechanism configured and disposed to dispense the product from the dispenser on command; a controller disposed in operable communication with the power supply and the dispenser mechanism; and, an actuator disposed in operable communication with the controller. Upon actuation of the actuator, and upon presence of the DC power, the controller is responsive to facilitate action by the dispenser mechanism to dispense the product. The transmitter is configured to transmit electromagnetic energy and is disposed in operable communication with the dispenser. A system comprising: a dispenser configured to support and dispense a product; and a transmitter configured to transmit electromagnetic energy, and disposed in operable communication with the dispenser; wherein the dispenser comprises: a main housing; a battery housing disposed within the main housing, the battery housing comprising electrical terminals; a plurality of battery cells disposed within the battery housing and electrically connected to the electrical terminals of the battery housing, the plurality of battery cells configured to provide DC power; an antenna disposed outside of the battery housing and configured to receive the electromagnetic energy that originates from the transmitter; a power supply disposed within the main housing and outside of the battery housing, the power supply configured to convert the electromagnetic energy received at the antenna into DC power; a dispenser mechanism configured and disposed to dispense the product from the dispenser on command; a controller disposed in operable communication with the power supply and the dispenser mechanism; a connection disposed between the controller, the battery housing, and the power supply, the connection configured to selectively provide DC power to the controller from the plurality of battery cells during a first operating mode and from the power supply during a second operating mode; and an actuator disposed in operable communication with the controller; wherein upon actuation of the actuator, and upon presence of DC power, the controller is responsive to facilitate action by the dispenser mechanism to dispense the product.'],
    ['Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the physically connected dispenser monitor and which corresponds to a dispensing action of the attached dispenser; and to recognize subsequent data signatures received from the sensor which corresponds to the learned characteristics in order to determine a measure of dispenser use; and a transmitter configured to transmit data relating to the determined measure of dispenser use.', 'Fluid dispensing system A manually operable fluid dispensing system having a fluid dispenser connected to a fluid source by flexible tubing. The dispensing system provides a supply fluid path from the source of fluid to the dispenser and a recirculation fluid path from the dispenser to the source of fluid. A dispenser mount is rigidly attached to a support surface for releasably holding the dispenser, and the dispenser mount supports the dispenser in a fixed position for dispensing fluid therefrom. In addition, the dispenser can be removed from the mount for dispensing fluid at a remote location. A manually operable trigger is pivotally connected to the dispensing valve and has a quiescent position which closes the dispensing valve. When in the quiescent position, a trigger handle extends over an exterior portion of the dispenser body in a generally forward direction toward the dispensing outlet and forms an included angle with the dispenser body. The trigger is movable toward the dispenser body to open the dispensing valve, thereby permitting fluid to flow through the dispensing outlet. A spring biases the trigger handle toward its quiescent position, thereby closing the dispensing valve and stopping the flow of fluid through the dispensing outlet. A manually operable fluid dispensing system comprising: a source of fluid; a dispenser having a manually operable dispensing valve; flexible tubing connected between the source of fluid and the dispenser for providing a supply fluid path from the source of fluid to the dispenser and a recirculation fluid path from the dispenser to the source of fluid; and a dispenser mount adapted to be attached to a support surface, the dispenser mount supporting the dispenser to facilitate the dispenser dispensing fluid while being supported by the dispenser mount, and the dispenser being removable from the dispenser mount for dispensing fluid at a location remote from the dispenser mount.'],
    ['Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the physically connected dispenser monitor and which corresponds to a dispensing action of the attached dispenser; and to recognize subsequent data signatures received from the sensor which corresponds to the learned characteristics in order to determine a measure of dispenser use; and a transmitter configured to transmit data relating to the determined measure of dispenser use.', 'Ticket dispenser A ticket dispenser for dispensing a ticket from a pack of tickets having first and last tickets at opposite ends of the pack and each ticket having opposed first and second edges, the ticket dispenser comprising: a ticket rack assembly having a rack with a support platform for receiving the pack of tickets with first edges against the support platform, and a ticket pack biasing mechanism configured to bias against a face of the last ticket of the C pack and to urge the last ticket towards the first ticket; a ticket housing for preventing unauthorised external access to the pack of tickets, the ticket housing comprising a ticket dispensing slot; and a ticket dispensing mechanism configured to dispense the first ticket from the pack of tickets, the ticket dispensing mechanism comprising a dispensing control member connected to a ticket ejector, the ticket ejector having a ticket edge engagement feature configured to engage with a first edge of the first ticket, the ticket ejector being operable by movement of the dispensing control member to slide the first ticket from the pack and away from the platform and to dispense the second edge of the first ticket through the ticket dispensing slot. 5 mm wide. 9 . The ticket dispenser according to claim 1 , wherein the ticket ejector and an adjacent edge of the support platform comprise an arrangement of engagement projections and corresponding recesses configured for slideable mutual engagement throughout the range of movement of the ticket ejector during dispensing. 10 - 11 . 12 . The ticket dispenser according to claim 1 , wherein the ticket housing is configured for a display face of the first ticket to be viewable by a customer prior to the first ticket being dispensed. 13 . The ticket dispenser according to claim 12 , wherein the housing is transparent or the customer-facing side of the housing comprises a viewing window for viewing a display face of the first ticket. 14 . 15 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing is configured to extend partially over a pack of tickets on the support platform. 16 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing comprises guiding ribs configured to contact and guide the second edge of the first ticket towards the dispensing slot, as the first ticket is dispensed. 17 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing is angled at an acute angle to the support platform. 18 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing is concavely curved. 19 - 21 . 22 . The ticket dispenser according to claim 1 , wherein the housing has an operator-facing side opposed to the customer-facing side, and wherein the dispensing control member projects from the operator-facing side, and either the ticket dispensing slot is provided adjacent the customer-facing side in a top face of the housing, or the ticket dispensing slot is provided in the customer-facing side of the housing. 23 . The ticket dispenser according to claim 1 , wherein the ticket dispensing slot has a plurality of slot projections extending into the ticket dispensing slot from an edge of the ticket dispensing slot and being configured to reduce the maximum dispensing width of the ticket dispensing slot below the width of the ticket dispensing slot in regions of the ticket dispensing slot from which projections are absent. 24 . The ticket dispenser according to claim 23 , wherein the slot projections extend into the ticket dispensing slot from an edge of the ticket dispensing slot adjacent the top face of the housing. 25 . The ticket dispenser according to claim 24 , wherein the slot projections are in end regions of the ticket dispensing slot. 26 . The ticket dispenser according to claim 23 , wherein the projections are configured to limit a maximum dispensing thickness of the ticket dispensing slot to less than 1.2 mm. 27 . The ticket dispenser according to claim 1 , wherein the width of the ticket edge engagement feature is 40 to 60% of a maximum dispensing thickness of the ticket dispensing slot. 28 . 29 . The ticket dispenser according to claim 1 , wherein the ticket edge engagement feature is less than half the minimum width of the ticket dispensing slot. 30 .'],
]
scores = model.predict(pairs)
print(scores.shape)
# (5,)

# Or rank different texts based on similarity to a single text
ranks = model.rank(
    'Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the physically connected dispenser monitor and which corresponds to a dispensing action of the attached dispenser; and to recognize subsequent data signatures received from the sensor which corresponds to the learned characteristics in order to determine a measure of dispenser use; and a transmitter configured to transmit data relating to the determined measure of dispenser use.',
    [
        'Dispenser tool, robot system with dispenser tool and method for dispensing viscous material onto wind turbine blade surface A dispenser tool is provided with multiple cartridges for dispensing viscous material onto the surface of a wind turbine blade . The dispenser tool is advantageously part of a robot system used to work the surface of the blade . The system is configured for bringing the nozzle of a selected cartridge into the vicinity of the surface and orienting the dispenser tool relatively to the surface such that the nozzle of the corresponding selected cartridge is at the surface for providing viscous material onto the surface from the selected cartridge while moving the nozzle along the surface . A method of operating a system at a wind turbine including a wind turbine blade with a surface, the method including the following steps: providing an unmanned robot including a base and an arm extending from the base, the arm having a remote end configured for movement of the remote end relative to the base; providing a dispenser tool attached to the remote end of the arm and configured for dispensing viscous material on the surface, and wherein the dispenser tool is configured and arranged to hold multiple cartridges containing viscous material, each cartridge having a respective nozzle; locating the robot at the surface; selecting at least one of the multiple cartridges in the dispenser tool for dispensing viscous material from the selected cartridge; via the arm, bringing the nozzle of the selected cartridge into the vicinity of the surface and orienting the dispenser tool relative to the surface such that the nozzle of the corresponding selected cartridge is at the surface; and activating the dispenser tool and providing viscous material onto the surface only from the selected cartridge.',
        'Fluid pump with whistle A fluid dispenser with a fluid pump for dispensing fluid on movement of an actuator, and an air pump for delivering a stream of air through at least one sound generator on movement of the actuator. The sound generator produces at least two sounds as the actuator is moved from a first position to a second position, with each sound produced in a different time period during a cycle of operation, or differing from the other sound in respect of one or more detectable sound characteristics, such as duration, frequency, temporal alignment, amplitude, and/or timbre. The time period of each sound is a function of the relative location of the actuator between the first and second positions. A fluid dispenser comprising: a fluid pump for dispensing fluid on movement of an actuator activated by a user; a first sound generator which generates a first sound when the fluid dispenser is activated by the user, the first sound generator being configured to produce the first sound from a first stream of air passing through the first sound generator; a second sound generator which generates a second sound when the fluid dispenser is activated by the user, the second sound generator being configured to produce the second sound from a second stream of air passing through the second sound generator; and at least one air pump for passing the first stream of air through the first sound generator and the second stream of air through the second sound generator on movement of the actuator; wherein in a cycle of operation to dispense a dose of the fluid, the actuator is moved between a first position and a second position; wherein the first sound generator produces the first sound as the actuator is moved from the first position to the second position, and the second sound generator produces the second sound as the actuator is moved from the first position to the second position; and wherein the first sound differs from the second sound in respect of at least one detectable sound characteristic.',
        'Apparatus and method for wirelessly powered dispensing A system includes a dispenser and a transmitter. The dispenser is configured to support and dispense product. The dispenser includes: a housing; an antenna disposed and configured to receive electromagnetic energy that originates from the transmitter; a power supply disposed within the housing and configured to convert the electromagnetic energy received at the antenna into DC power; a dispenser mechanism configured and disposed to dispense the product from the dispenser on command; a controller disposed in operable communication with the power supply and the dispenser mechanism; and, an actuator disposed in operable communication with the controller. Upon actuation of the actuator, and upon presence of the DC power, the controller is responsive to facilitate action by the dispenser mechanism to dispense the product. The transmitter is configured to transmit electromagnetic energy and is disposed in operable communication with the dispenser. A system comprising: a dispenser configured to support and dispense a product; and a transmitter configured to transmit electromagnetic energy, and disposed in operable communication with the dispenser; wherein the dispenser comprises: a main housing; a battery housing disposed within the main housing, the battery housing comprising electrical terminals; a plurality of battery cells disposed within the battery housing and electrically connected to the electrical terminals of the battery housing, the plurality of battery cells configured to provide DC power; an antenna disposed outside of the battery housing and configured to receive the electromagnetic energy that originates from the transmitter; a power supply disposed within the main housing and outside of the battery housing, the power supply configured to convert the electromagnetic energy received at the antenna into DC power; a dispenser mechanism configured and disposed to dispense the product from the dispenser on command; a controller disposed in operable communication with the power supply and the dispenser mechanism; a connection disposed between the controller, the battery housing, and the power supply, the connection configured to selectively provide DC power to the controller from the plurality of battery cells during a first operating mode and from the power supply during a second operating mode; and an actuator disposed in operable communication with the controller; wherein upon actuation of the actuator, and upon presence of DC power, the controller is responsive to facilitate action by the dispenser mechanism to dispense the product.',
        'Fluid dispensing system A manually operable fluid dispensing system having a fluid dispenser connected to a fluid source by flexible tubing. The dispensing system provides a supply fluid path from the source of fluid to the dispenser and a recirculation fluid path from the dispenser to the source of fluid. A dispenser mount is rigidly attached to a support surface for releasably holding the dispenser, and the dispenser mount supports the dispenser in a fixed position for dispensing fluid therefrom. In addition, the dispenser can be removed from the mount for dispensing fluid at a remote location. A manually operable trigger is pivotally connected to the dispensing valve and has a quiescent position which closes the dispensing valve. When in the quiescent position, a trigger handle extends over an exterior portion of the dispenser body in a generally forward direction toward the dispensing outlet and forms an included angle with the dispenser body. The trigger is movable toward the dispenser body to open the dispensing valve, thereby permitting fluid to flow through the dispensing outlet. A spring biases the trigger handle toward its quiescent position, thereby closing the dispensing valve and stopping the flow of fluid through the dispensing outlet. A manually operable fluid dispensing system comprising: a source of fluid; a dispenser having a manually operable dispensing valve; flexible tubing connected between the source of fluid and the dispenser for providing a supply fluid path from the source of fluid to the dispenser and a recirculation fluid path from the dispenser to the source of fluid; and a dispenser mount adapted to be attached to a support surface, the dispenser mount supporting the dispenser to facilitate the dispenser dispensing fluid while being supported by the dispenser mount, and the dispenser being removable from the dispenser mount for dispensing fluid at a location remote from the dispenser mount.',
        'Ticket dispenser A ticket dispenser for dispensing a ticket from a pack of tickets having first and last tickets at opposite ends of the pack and each ticket having opposed first and second edges, the ticket dispenser comprising: a ticket rack assembly having a rack with a support platform for receiving the pack of tickets with first edges against the support platform, and a ticket pack biasing mechanism configured to bias against a face of the last ticket of the C pack and to urge the last ticket towards the first ticket; a ticket housing for preventing unauthorised external access to the pack of tickets, the ticket housing comprising a ticket dispensing slot; and a ticket dispensing mechanism configured to dispense the first ticket from the pack of tickets, the ticket dispensing mechanism comprising a dispensing control member connected to a ticket ejector, the ticket ejector having a ticket edge engagement feature configured to engage with a first edge of the first ticket, the ticket ejector being operable by movement of the dispensing control member to slide the first ticket from the pack and away from the platform and to dispense the second edge of the first ticket through the ticket dispensing slot. 5 mm wide. 9 . The ticket dispenser according to claim 1 , wherein the ticket ejector and an adjacent edge of the support platform comprise an arrangement of engagement projections and corresponding recesses configured for slideable mutual engagement throughout the range of movement of the ticket ejector during dispensing. 10 - 11 . 12 . The ticket dispenser according to claim 1 , wherein the ticket housing is configured for a display face of the first ticket to be viewable by a customer prior to the first ticket being dispensed. 13 . The ticket dispenser according to claim 12 , wherein the housing is transparent or the customer-facing side of the housing comprises a viewing window for viewing a display face of the first ticket. 14 . 15 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing is configured to extend partially over a pack of tickets on the support platform. 16 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing comprises guiding ribs configured to contact and guide the second edge of the first ticket towards the dispensing slot, as the first ticket is dispensed. 17 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing is angled at an acute angle to the support platform. 18 . The ticket dispenser according to claim 1 , wherein the inner surface of the customer-facing side of the housing is concavely curved. 19 - 21 . 22 . The ticket dispenser according to claim 1 , wherein the housing has an operator-facing side opposed to the customer-facing side, and wherein the dispensing control member projects from the operator-facing side, and either the ticket dispensing slot is provided adjacent the customer-facing side in a top face of the housing, or the ticket dispensing slot is provided in the customer-facing side of the housing. 23 . The ticket dispenser according to claim 1 , wherein the ticket dispensing slot has a plurality of slot projections extending into the ticket dispensing slot from an edge of the ticket dispensing slot and being configured to reduce the maximum dispensing width of the ticket dispensing slot below the width of the ticket dispensing slot in regions of the ticket dispensing slot from which projections are absent. 24 . The ticket dispenser according to claim 23 , wherein the slot projections extend into the ticket dispensing slot from an edge of the ticket dispensing slot adjacent the top face of the housing. 25 . The ticket dispenser according to claim 24 , wherein the slot projections are in end regions of the ticket dispensing slot. 26 . The ticket dispenser according to claim 23 , wherein the projections are configured to limit a maximum dispensing thickness of the ticket dispensing slot to less than 1.2 mm. 27 . The ticket dispenser according to claim 1 , wherein the width of the ticket edge engagement feature is 40 to 60% of a maximum dispensing thickness of the ticket dispensing slot. 28 . 29 . The ticket dispenser according to claim 1 , wherein the ticket edge engagement feature is less than half the minimum width of the ticket dispensing slot. 30 .',
    ]
)
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]

Evaluation

Metrics

Cross Encoder Reranking

Metric Value
map 0.7695 (+0.5555)
mrr@10 0.9083 (+0.6135)
ndcg@10 0.8534 (+0.5970)

Training Details

Training Dataset

Unnamed Dataset

  • Size: 600 training samples
  • Columns: query, document, and label
  • Approximate statistics based on the first 600 samples:
    query document label
    type string string float
    details
    • min: 1378 characters
    • mean: 2397.8 characters
    • max: 5420 characters
    • min: 684 characters
    • mean: 2587.39 characters
    • max: 14288 characters
    • min: 0.0
    • mean: 0.12
    • max: 1.0
  • Samples:
    query document label
    Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the... Dispenser tool, robot system with dispenser tool and method for dispensing viscous material onto wind turbine blade surface A dispenser tool is provided with multiple cartridges for dispensing viscous material onto the surface of a wind turbine blade . The dispenser tool is advantageously part of a robot system used to work the surface of the blade . The system is configured for bringing the nozzle of a selected cartridge into the vicinity of the surface and orienting the dispenser tool relatively to the surface such that the nozzle of the corresponding selected cartridge is at the surface for providing viscous material onto the surface from the selected cartridge while moving the nozzle along the surface . A method of operating a system at a wind turbine including a wind turbine blade with a surface, the method including the following steps: providing an unmanned robot including a base and an arm extending from the base, the arm having a remote end configured for movement of the remot... 0.0
    Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the... Fluid pump with whistle A fluid dispenser with a fluid pump for dispensing fluid on movement of an actuator, and an air pump for delivering a stream of air through at least one sound generator on movement of the actuator. The sound generator produces at least two sounds as the actuator is moved from a first position to a second position, with each sound produced in a different time period during a cycle of operation, or differing from the other sound in respect of one or more detectable sound characteristics, such as duration, frequency, temporal alignment, amplitude, and/or timbre. The time period of each sound is a function of the relative location of the actuator between the first and second positions. A fluid dispenser comprising: a fluid pump for dispensing fluid on movement of an actuator activated by a user; a first sound generator which generates a first sound when the fluid dispenser is activated by the user, the first sound generator being configured to produce the first soun... 0.0
    Universal dispenser monitor A retrofit dispenser monitor is disclosed. The dispenser monitor has a connector allowing it to be connected directly to one of a number of dispensers. The dispenser monitor also comprises a sensor configured to detect the dispensing action of the attached dispenser by learning the characteristics of the dispensing action. Information corresponding to the dispensing action is then transmitted to a remote location which allows the use of the dispenser to be monitored. A retrofit dispenser monitor comprising: a connector configured to connect the dispenser monitor directly to a dispenser body of a dispenser such that there is physical contact between the dispenser monitor and the dispenser; a sensor configured to detect the attached dispensing action of the attached dispenser; a controller connected to the sensor, the controller being configured: to learn characteristics of a data signature which is transmitted through the body of the dispenser directly to the... Apparatus and method for wirelessly powered dispensing A system includes a dispenser and a transmitter. The dispenser is configured to support and dispense product. The dispenser includes: a housing; an antenna disposed and configured to receive electromagnetic energy that originates from the transmitter; a power supply disposed within the housing and configured to convert the electromagnetic energy received at the antenna into DC power; a dispenser mechanism configured and disposed to dispense the product from the dispenser on command; a controller disposed in operable communication with the power supply and the dispenser mechanism; and, an actuator disposed in operable communication with the controller. Upon actuation of the actuator, and upon presence of the DC power, the controller is responsive to facilitate action by the dispenser mechanism to dispense the product. The transmitter is configured to transmit electromagnetic energy and is disposed in operable communication with the ... 0.0
  • Loss: BinaryCrossEntropyLoss with these parameters:
    {
        "activation_fn": "torch.nn.modules.linear.Identity",
        "pos_weight": 7.695652008056641
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_eval_batch_size: 16
  • gradient_accumulation_steps: 4
  • learning_rate: 2e-05
  • warmup_ratio: 0.1
  • seed: 2027
  • fp16: True
  • dataloader_num_workers: 2
  • load_best_model_at_end: True

All Hyperparameters

Click to expand
  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 8
  • per_device_eval_batch_size: 16
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 4
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 2e-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 3
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.1
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: True
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • no_cuda: False
  • use_cpu: False
  • use_mps_device: False
  • seed: 2027
  • data_seed: None
  • jit_mode_eval: False
  • use_ipex: False
  • bf16: False
  • fp16: True
  • fp16_opt_level: O1
  • half_precision_backend: auto
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: 0
  • ddp_backend: None
  • tpu_num_cores: None
  • tpu_metrics_debug: False
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 2
  • dataloader_prefetch_factor: None
  • past_index: -1
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: True
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • tp_size: 0
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch
  • optim_args: None
  • adafactor: False
  • group_by_length: False
  • length_column_name: length
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • skip_memory_metrics: True
  • use_legacy_prediction_loop: False
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: None
  • hub_always_push: False
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • include_for_metrics: []
  • eval_do_concat_batches: True
  • fp16_backend: auto
  • push_to_hub_model_id: None
  • push_to_hub_organization: None
  • mp_parameters:
  • auto_find_batch_size: False
  • full_determinism: False
  • torchdynamo: None
  • ray_scope: last
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: False
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • eval_use_gather_object: False
  • average_tokens_across_devices: False
  • prompts: None
  • batch_sampler: batch_sampler
  • multi_dataset_batch_sampler: proportional

Training Logs

Epoch Step Training Loss train-eval_ndcg@10
0.0533 1 10.2113 -
0.2667 5 10.7786 -
0.5333 10 6.3469 -
0.8 15 5.1183 -
1.0533 20 4.1696 -
1.32 25 5.2308 0.5562 (+0.2998)
1.5867 30 5.1021 -
1.8533 35 4.3161 -
2.1067 40 4.4333 -
2.3733 45 3.7216 -
2.64 50 4.2869 0.8534 (+0.5970)
  • The bold row denotes the saved checkpoint.

Framework Versions

  • Python: 3.12.3
  • Sentence Transformers: 4.0.2
  • Transformers: 4.51.2
  • PyTorch: 2.6.0+cu124
  • Accelerate: 1.6.0
  • Datasets: 3.5.0
  • Tokenizers: 0.21.1

Citation

BibTeX

Sentence Transformers

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}
Downloads last month
9
Safetensors
Model size
396M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for petkopetkov/reranker-ModernBERT-large-gooaq-bce-patent

Evaluation results