Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Paper • 1908.10084 • Published • 15
How to use petkopetkov/e5-large-v2-patent with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("petkopetkov/e5-large-v2-patent")
sentences = [
"query: OPTIMIZED ALLOCATION OF FUNCTIONS IN HYBRID MOTOR CONTROLLER IMPLEMENTATIONS A system for controlling a motor (14) with a plurality of motor control functions including at least a current control loop and a velocity control loop. The system includes one of a hybrid Digital Signal Processor (DSP)-Field Programmable Gate Array (FPGA) architecture having an integral DSP and an integral FPGA or a System on a Chip (SoC) architecture having a Microcontroller Sub-System (MSS) and an FPGA fabric. The current control loop function is assigned to the integral FPGA for the hybrid DSP-FPGA architecture, and at least the velocity control loop function is assigned to the DSP the hybrid DSP-FPGA architecture. Alternatively, the current control loop function is assigned the FPGA fabric of the SoC architecture, and at least the velocity control loop function is assigned to the MSS of the SoC architecture. A method of allocating motor control functions for a hybrid Digital Signal Processor (DSP)-Field Programmable Gate Array (FPGA) architecture having an integral DSP and an integral FPGA or a System on a Chip (SoC) architecture having a Microcontroller Sub-System (MSS) and an FPGA fabric, the method comprising: identifying a plurality of motor control functions to be allocated the plurality of motor control functions including at least a current control loop and a velocity control loop; selecting at least one functional requirement for each motor control function of the plurality of motor control functions; determining how the at least one functional requirement would be performed most efficiently by either the integral DSP or integral FPGA of the hybrid DSP-FPGA architecture or the MSS and an FPGA fabric of the SoC architecture; and assigning the motor control function to only one of the integral DSP or integral FPGA of the hybrid DSP-FPGA architecture or the MSS and an FPGA fabric of the SoC architecture, wherein at least the current control loop function is assigned to the integral FPGA for the hybrid DSP-FPGA architecture, and at least the velocity control loop function is assigned to the DSP the hybrid DSP-FPGA architecture; or wherein at least the current control loop function is assigned the FPGA fabric of the SoC architecture, and at least the velocity control loop function is assigned to the MSS of the SoC architecture. The method of claim 1, further including identifying another of the motor control functions of the plurality of motor control functions as motor position sensing and allocating the position sensing to the FPGA the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture. --> The method of claim 1 or 2, further including identifying another of the motor control functions of the plurality of motor control functions as motor position control loop and allocating the motor position control loop to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture. The method of any preceding claim, further including identifying another of the motor control functions of the plurality of motor control functions as Continuous Built in Test (CBIT) and allocating a portion of the CBIT to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture; and optionally further including identifying another of the motor control functions of the plurality of motor control functions as Continuous Built in Test function (CBIT) and allocating a portion of the CBIT function to the FPGA of the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture; and optionally wherein the portion of the CBIT to the FPGA of the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture is based on a processing rate of the CBIT function. The method of any preceding claim, further including identifying another of the motor control functions of the plurality of motor control functions as current sensor processing and allocating the current sensor processing to the FPGA of the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture. The method of any preceding claim, further including identifying another of the motor control functions of the plurality of motor control functions as PWM processing and allocating the PWM processing to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture. The method of any preceding claim, further including identifying another of the motor control functions of the plurality of motor control functions as DC Bus processing and allocating the DC bus processing to the FPGA of the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture. The method of any preceding claim, further including identifying another of the motor control functions of the plurality of motor control functions all --> communications processing and allocating the communications processing to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture. The method of any preceding claim, further including identifying another of the motor control functions of the plurality of motor control functions as the system state machine and allocating the system state machine functionality processing to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture. A system for controlling a motor with a plurality of motor control functions including at least a current control loop and a velocity control loop, the system comprising:one of: a hybrid Digital Signal Processor (DSP)-Field Programmable Gate Array (FPGA) architecture having an integral DSP and an integral FPGA; or a System on a Chip (SoC) architecture having a Microcontroller Sub-System (MSS) and an FPGA fabric; wherein at least the current control loop function is assigned to the integral FPGA for the hybrid DSP-FPGA architecture, and at least the velocity control loop function is assigned to the DSP the hybrid DSP-FPGA architecture; or wherein at least the current control loop function is assigned the FPGA fabric of the SoC architecture, and at least the velocity control loop function is assigned to the MSS of the SoC architecture. The system for controlling a motor of claim 10, further including motor position sensing as another motor control function of the plurality of motor control functions and allocating the motor position sensing to the FPGA the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture; and/or further including a motor position control loop function as another motor control functions of the plurality of motor control functions and allocating the motor position control loop function to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture; and/or further --> including a Continuous Built in Test (CBIT) function as another motor control functions of the plurality of motor control functions and allocating a at least a portion of the CBIT to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture; and/or further including allocating at least portion of the CBIT function to the FPGA of the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture, wherein the portion of the CBIT to the FPGA of the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture is based on a processing rate of the CBIT function; and/or further including a current sensor processing function as another motor control functions of the plurality of motor control functions and allocating the current sensor processing to the FPGA of the hybrid DSP-FPGA architecture or the FPGA fabric of the SoC architecture; and/or further including a PWM processing function as another motor control functions of the plurality of motor control functions and allocating the PWM processing to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture; and/or further including a system state machine function as another motor control functions of the plurality of motor control functions and allocating the system state machine function processing to the DSP of the hybrid DSP-FPGA architecture or the MSS of the SoC architecture. A motor drive system, the motor drive system comprising: a power source (12); a drive (20) operably connected to the power source, the drive including a controller; a motor (14) operably connected to the drive, the motor having a plurality of motor control functions including at least a current control loop and a velocity control loop, the system comprising:wherein the controller includes one of: a hybrid Digital Signal Processor (DSP)-Field Programmable Gate Array (FPGA) architecture having an integral DSP and an integral FPGA --> a System on a Chip (SoC) architecture having a Microcontroller Sub-System (MSS) and an FPGA fabric; wherein at least the current control loop function is assigned to the integral FPGA for the hybrid DSP-FPGA architecture, and at least the velocity control loop function is assigned to the DSP the hybrid DSP-FPGA architecture; or wherein at least the current control loop function is assigned the FPGA fabric of the SoC architecture, and at least the velocity control loop function is assigned to the MSS fabric of the SoC architecture.",
"passage: TELEHANDLER According to one embodiment, the application relates to a telehandler (100), which comprises a chassis section (110) and a boom assembly (120) supported on the chassis section and capable of being fitted with a liftable attachment (130). The telehandler further comprises a control unit (112), including chassis control means (114) for controlling the chassis section and/or boom assembly control means (116) for controlling the boom assembly. The control unit is adapted to be operated from outside the unmanned telehandler. A telehandler (100), comprisinga chassis section (110),a boom assembly (120) supported on the chassis section and capable of being fitted with a liftable attachment (130), anda control unit (112), including chassis control means (114) for controlling the chassis section and/or boom assembly control means (116) for controlling the boom assembly,characterized in thatthe control unit is adapted to be operated from outside the unmanned telehandler. A telehandler according to claim 1, wherein the control unit comprises a portable control device (118), which is in telecommunication (119) with the control unit and enables the chassis section and/or the boom assembly to be controlled from a certain distance outside the chassis section. A telehandler according to any of the preceding claims, wherein the boom assembly includes a telescopic boom (122) and a linkage (124), which is supported on a boom assembly slewing mechanism and which is adapted to operate the boom. A telehandler according to claim 3, wherein the boom assembly further includes a jib (125), which is connected to the boom and which is adapted to operate a liftable attachment in such a way that the liftable attachment rotates with respect to the vertical axis of its connection point (126). A telehandler according to claim 4, wherein the liftable attachment is connected to the jib and electrically coupled with the control unit by means of the boom assembly for controlling the liftable attachment with the boom assembly control means. A telehandler according to any of the preceding claims, wherein the liftable attachment is a lifting fork (130). A telehandler according to claim 6, which is further provided with a man basket (150) which is releasably attachable to the lifting fork and electrically --> connectible to the control unit by way of the boom assembly and by means of a connection unit (127) of the jib. A telehandler according to any of the preceding claims, wherein the basket comprises fastening elements (151 a, 151b) capable of having the lifting fork attached thereto, and locking elements (132) by means of which the lifting fork is capable being locked securely to the fastening elements and the locking status of which are electrically observed with monitoring elements. A telehandler according to any of the preceding claims, wherein the basket is provided with a basket control unit (152), including chassis control means (154) for controlling the chassis section and boom assembly control means (156) for controlling the boom assembly and the lifting fork connected thereto, said basket control unit being electrically connected to the control unit. A man basket (150) for attachment to a telehandler (100) according to any of claims 1-7, said basket comprisingfastening elements (151 a, 151 b) capable of having a lifting fork (130) attached thereto,locking elements (132) for locking the lifting fork securely to the fastening elements, andobservation elements for electrically monitoring the locking status of the locking elements.",
"passage: TRANSMISSION DEVICE, TRANSMISSION METHOD, RECEPTION DEVICE, AND RECEPTION METHOD A normal frame rate of image data and a high frame rate of image data are favorably transported.A base stream including, as an access unit, encoded image data per picture in a base frame rate of image data acquired by performing blending processing in units of temporally successive two pictures in the high frame rate of image data, is acquired and additionally an enhanced stream including, as an access unit, encoded image data per picture in the high frame rate of image data, is acquired. A container in a predetermined format is transmitted, the container including the base stream and the enhanced stream. A transmission device comprising: an image encoding unit configured to acquire a base stream including, as an access unit, encoded image data per picture in a base frame rate of image data acquired by performing blending processing in units of temporally successive two pictures in a high frame rate of image data, the image encoding unit being configured to acquire an enhanced stream including, as an access unit, encoded image data per picture in the high frame rate of image data; and a transmission unit configured to transmit a container in a predetermined format, the container including the base stream and the enhanced stream. The transmission device according to claim 1, further comprising:an information inserting unit configured to insert blending ratio information in the blending processing, into a layer of the enhanced stream. The transmission device according to claim 2,wherein the base stream and the enhanced stream each have a NAL unit structure, andthe information inserting unit inserts a SEI NAL unit having the blending ratio information, into the enhanced stream. The transmission device according to claim 2,wherein the base stream and the enhanced stream each have a NAL unit structure, and -->the information inserting unit inserts the blending ratio information into a PPS NAL unit of the enhanced stream. The transmission device according to claim 1, further comprising:an information inserting unit configured to insert, into each access unit of the enhanced stream, phase information indicating to which of the temporally successive two pictures the access unit corresponds. The transmission device according to claim 1, further comprising:an information inserting unit configured to insert, into a layer of the container, identification information indicating that the image data included in the base stream includes the image data acquired by the performance of the blending processing. The transmission device according to claim 1, wherein the image encoding unit performs prediction encoding processing for the base frame rate of image data, to the base frame rate of image data, so as to acquire the base stream, the image encoding unit being configured to perform, with the high frame rate of image data, processing inverse to the blending processing, to the base frame rate of image data, so as to acquire image data as after-blend-compensation image data, the image data including, when the high frame rate of image data includes image data of one-side pictures in the units of temporally successive two pictures, image data of the other-side pictures, the image encoding unit being configured to perform prediction encoding processing with the --> after-blend-compensation image data, to the high frame rate of image data, so as to acquire the enhanced stream. The transmission device according to claim 7, wherein the image encoding unit acquires, per predicted block in the high frame rate of image data, image data over a range of more than the predicted block, as the after-blend-compensation image data. A transmission method comprising: an image encoding step of acquiring a base stream including, as an access unit, encoded image data per picture in a base frame rate of image data acquired by performing blending processing in units of temporally successive two pictures in a high frame rate of image data, and acquiring an enhanced stream including, as an access unit, encoded image data per picture in the high frame rate of image data; and a transmission step of transmitting a container in a predetermined format by a transmission unit, the container including the base stream and the enhanced stream. A reception device comprising: a reception unit configured to receive a container in a predetermined format, the container including a base stream and an enhanced stream, the base stream being acquired by performing prediction encoding processing for a base frame rate of image data, to the base frame rate of image data acquired by performing blending processing in units of temporally successive two pictures in a high frame rate of image, the enhanced stream being acquired by performing prediction encoding processing with --> after-blend-compensation image data, to the high frame rate of image data, the after-blend-compensation image data being acquired by performing, with the high frame rate of image data, processing inverse to the blending processing, to the base frame rate of image data, the after-blend-compensation image data including, when the high frame rate of image data includes image data of one-side pictures in the units of temporally successive two pictures, image data of the other-side pictures; and a processing unit configured to process only the base stream so as to acquire the base frame rate of image data or both of the base stream and the enhanced stream so as to acquire the high frame rate of image data, wherein, when performing decoding processing to the enhanced stream, the processing unit performs, with the high frame rate of image data acquired by the processing of the enhanced stream, the processing inverse to the blending processing, to the base frame rate of image data acquired by the processing of the base stream, so as to acquire the after-blend-compensation image data including, when the high frame rate of image data includes the image data of the one-side pictures in the units of temporally successive two pictures, the image data of the other-side pictures, the processing unit being configured to use the after-blend-compensation image data as reference image data. The reception device according to claim 10,wherein a layer of the enhanced stream includes blending ratio information in the blending processing, inserted, andthe processing unit uses the blending ratio information --> in performing the processing inverse to the blending processing. The reception device according to claim 10,wherein each access unit in the enhanced stream includes phase information indicating to which of the temporally successive two pictures the access unit corresponds, inserted, andthe processing unit uses the phase information in performing the processing inverse to the blending processing. A reception method comprising: a reception step of receiving a container in a predetermined format by a reception unit, the container including a base stream and an enhanced stream, the base stream being acquired by performing prediction encoding processing for a base frame rate of image data, to the base frame rate of image data acquired by performing blending processing in units of temporally successive two pictures in a high frame rate of image, the enhanced stream being acquired by performing prediction encoding processing with after-blend-compensation image data, to the high frame rate of image data, the after-blend-compensation image data being acquired by performing, with the high frame rate of image data, processing inverse to the blending processing, to the base frame rate of image data, the after-blend-compensation image data including, when the high frame rate of image data includes image data of one-side pictures in the units of temporally successive two pictures, image data of the other-side pictures; and a processing step of processing only the base stream --> so as to acquire the base frame rate of image data or both of the base stream and the enhanced stream so as to acquire the high frame rate of image data, wherein, in the processing step, when decoding processing is performed to the enhanced stream, with the high frame rate of image data acquired by the processing of the enhanced stream, the processing inverse to the blending processing is performed to the base frame rate of image data acquired by the processing of the base stream, so as to acquire the after-blend-compensation image data including, when the high frame rate of image data includes the image data of the one-side pictures in the units of temporally successive two pictures, the image data of the other-side pictures, and the after-blend-compensation image data is used as reference image data. A reception device comprising: a reception unit configured to receive a container in a predetermined format, the container including a base stream and an enhanced stream, the base stream being acquired by performing encoding processing to a base frame rate of image data acquired by performing blending processing in units of temporally successive two pictures in a high frame rate of image data, the enhanced stream being acquired by performing encoding processing to the high frame rate of image data; and a processing unit configured to process only the base stream so as to acquire the base frame rate of image data or both of the base stream and the enhanced stream so as to acquire the high frame rate of image data.",
"passage: RESOURCE CONFIGURATION SYSTEM, RESOURCE CONFIGURATION METHOD AND RESOURCE CONFIGURATION PROGRAM The present invention provides a cloud service achieving high processing performance specialized in particular processing, image processing, or parallel processing. A resource selection apparatus 1 selects a computational resource from a plurality of computational resources including at least an FPGA or a GPU and a provisioning method from a plurality of provisioning methods, based on whether a performance requirement and a functional requirement from a user require that particular computational processing, image processing, or parallel processing be performed with processing performance of a certain level or higher. A resource configuration system comprising: a resource selection apparatus that selects a resource on a cloud; and a resource reconfiguration apparatus that configures a resource or reconfigures a configuration of the resource, wherein the resource selection apparatus includes a reception unit that receives a requirement for the resource from a user, and a selection unit that selects a computational resource from a plurality of computational resources including at least an FPGA or a GPU and a provisioning method from a plurality of provisioning methods, based on whether the requirement requires that any of particular processing, image processing, and parallel processing be performed with processing performance of a certain level or higher. The resource configuration system according to claim 1, whereinwhen the requirement requires that the particular processing be performed with the processing performance of the certain level or higher, the selection unit selects the FPGA as the computational resource and selects bare-metal provisioning as the provisioning method for the computational resource. --> The resource configuration system according to claim 1, whereinwhen the requirement requires that the image processing or the parallel processing be performed with the processing performance of the certain level or higher, the selection unit selects the GPU as the computational resource and selects bare-metal provisioning or container provisioning as the provisioning method for the computational resource, based on the level of the processing performance to be achieved by the computational resource or whether OS customization is necessary. The resource configuration system according to claim 1, whereinthe selection unit selects a block-based provisioning method or an object-based provisioning method based on the requirement, and selects a storage resource according to a characteristic of an application program to run. The resource configuration system according to claim 1, whereinthe resource reconfiguration apparatus includes a configuration unit that sets, in a computational resource with an FPGA, a computation logic suitable for the requirement from the user, and causes the computational resource to use the computation logic. --> The resource configuration system according to claim 1, whereinthe resource reconfiguration apparatus includes a collection unit that collects usage frequency for each of various kinds of computation processing that the user is using on an already-configured computational resource, and a reconfiguration unit that changes the configuration of the already-configured computational resource as suited for particular computation processing the usage frequency of which has increased. A resource configuration method performed by a resource selection apparatus that selects a resource on a cloud and a resource reconfiguration apparatus that configures a resource or reconfigures a configuration of the resource, the method comprising, by the resource selection apparatus: receiving a requirement for the resource from a user; and selecting a computational resource from a plurality of computational resources including at least an FPGA or a GPU and a provisioning method from a plurality of provisioning methods, based on whether the requirement requires that any of particular processing, image processing, and parallel processing be performed with processing performance of a certain level or higher. The resource configuration method according to claim 7, comprising, by the resource reconfiguration apparatus: --> collecting usage frequency for each of various kinds of computation processing that the user is using on an already-configured computational resource; and changing the configuration of the already-configured computational resource as suited for particular computation processing the usage frequency of which has increased. A resource configuration program that causes a computer to function as the resource configuration system according to claim 1."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]This is a sentence-transformers model finetuned from intfloat/e5-large-v2. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("petkopetkov/e5-large-v2-patent")
# Run inference
sentences = [
'query: LOCAL DECISION MAKING The present disclosure relates to the use of cryptographic techniques to facilitate local decision making at a gateway device interfacing between an operator device and edge devices, for example as can be found in Internet of Things infrastructures. Local decision making is facilitated in the context of end to end encryption of data between the edge device and operator device by enabling a function of the data to be computed without decrypting the data, for example using Functional Encryption (FE). Examples of edge devices are video surveillance cameras or utility consumption meters but the present disclosure is applicable to any other kind of edge device that produces data to be transmitted with end to end encryption. The disclosure is also not limited to IoT infrastructures. A method of local decision making in a communications system comprising an operator device in communication with a plurality of gateway devices and a plurality of edge devices in communication with each gateway device, the method comprising: receiving encrypted data at a gateway device from an edge device for transmission to the operator device, wherein the encrypted data is encrypted with a public key such that it can be decrypted with a corresponding private key and a function of the data can be computed without the private key, wherein the gateway device does not have access to the private key; applying, at the gateway device, an operator to the encrypted data to compute a value of a function of the input data without decrypting the encrypted data; determining, at the gateway device, an action to be taken based on the value; and taking the determined action. A method according to claim 1, wherein determining the action comprises deciding whether or how to transmit the encrypted input data to the operator and taking the determined action comprises transmitting or not transmitting the encrypted input data to the operator device based on the determination. A method according to claim 1 or 2 comprising receiving instances of encrypted data from respective edge devices and computing a respective value of the function for each instance of encrypted data, wherein determining the action comprises selecting which instances of the encrypted data to transmit and, or how to transmit them based on the computed values and the action comprises transmitting selected none, one or more of the received instances of encrypted data based on the computed values. A method according to claim 1, wherein the action comprises sending a control signal to the edge device and/or sending an alarm signal to the operator device. A method according to claim 1 or 4, comprising receiving instances of encrypted data from respective edge devices and computing a respective value of the function for each instance of encrypted data and determining the action to be taken based on the computed values, wherein the action comprises sending a control signal to the edge device and/or sending an alarm signal to the operator device. --> A method according to claim 1, 2 or 3, wherein the edge device or devices comprise a video camera, the encrypted input data comprises encrypted video data and encrypted motion data indicative of motion in frames of the video data and the function comprises a function of the motion data indicative of the amount of motion in frames of the video. A method according to claim 6, wherein the action comprises selecting a quality of video data to be transmitted to the operator based on the value. A method according to claim 1, 4 or 5, wherein the edge device or devices comprise a utility consumption meter and the encrypted input data comprises utility consumption data. A method according to any preceding claim, wherein the function comprises a sum. A method according to any preceding claim, wherein the function returns a value indicating whether a sum of magnitudes of the data exceed a threshold value. A method according any preceding claim, wherein the input data is encrypted using functional encryption. A gateway device for use in a communications system comprising an operator device in communication with a plurality of gateway devices and a plurality of edge devices in communication with each gateway device, wherein the gateway device is configured to implement a method according to any preceding claim and comprisesa memory storing computer instructions that, when run on a processor implement the method;a communications interface for receiving the encrypted input data from an edge device and for transmitting the encrypted data to an operator device; anda processor configured to execute the computer instructions to implement the method. A communications system comprising an operator device in communication with a plurality of gateway devices according to claim 11 and a plurality of edge devices in communication with each gateway device. A communications system according to claim 12, wherein connections between the gateway and edge devices have higher bandwidth and/or shorter latency than connections between the edge devices and the operator device.',
'passage: INFORMATION AND COMMUNICATION PROCESSING SYSTEM, METHOD, AND NETWORK NODE In a distributed information communication processing system in which a plurality of information communication devices provides a service through a network, response speed, electric power consumption, and further reliability are improved. The distributed information communication processing system which provides various services is configured by associating an entrance node (EN) which executes filtering near sensors, actuators, and terminals being information sources, an intelligent node (IN) which changes an information processing position and executes information processing and communication processing instead of a data center (DC), and a management node (MN) which manages these nodes. Thereby, real time type information processing can be realized. An information communication processing system in which an information processing device which can execute an application and a plurality of terminals requesting services are located, the system comprising: a first network node connected to the terminals; a second network node connected to the first network node though a first network and connected to the information processing device through a second network; and a management node for managing the first network node and the second network node, wherein the first network node sends a packet which has a destination to the information processing device through the second network node; the second network note analyzes the packet when the packet is received, outputs the packet to a processor when the second network node has the processor which can perform processes associated with the analyzed result, the packet, and the application, and sends a packet including the processed result by the processor to the first network node; and the information processing device executes the application when the packet is received through the second network node. The information communication processing system according to claim 1,wherein the first network node comprises: an interface which sends and receives a packet; and a processing unit which processes the packet which the interface receives, and --> wherein the processing unit performs calculation processing, filtering, or aggregation processing to the packet received from the terminals, further selects the processed result, and sends the selected result. The information communication processing system according to claim 2,wherein the processing unit generates a processing command based on the packet received from the second network node, and sends the processing command to the terminals. The information communication processing system according to claim 2,wherein, the processing unit sends stored data stored in the first network node through the interface when the received packet is a stored data request. The information communication processing system according to claim 2,wherein the management node comprises a management table which stores contents of the calculation processing, the filtering, or the aggregation processing of the first node, and sends the contents of the management table to the first network node. The information communication processing system according to claim 1,wherein the second network node comprises: a plurality of processors, the processors executing any application; and --> a communication control unit which can transfer the received packet to at least any one of destinations among the processors and external nodes other than the second network node. The information communication processing system according to claim 6,wherein the communication control unit associates the packets which correspond with at least a part of a header and a payload of the packets with the same flow according to a predetermined rule, comprises a table which indicates a destination of the flow, and changes a destination of the packets to the destination of the associated flow according to the table. The information communication processing system according to claim 7,wherein the communication control unit rewrites the destination in the table based on load information of the processors. The information communication processing system according to claim 7,wherein the management node generates a request for replicating the application which is performed in the information processing device or a request for rewriting the destination in the table to the second network node, and sends to the second network node; andwherein the second network node replicates the application or processing associated with the application in --> the processor or rewrite the destination in the table based on the rewriting request according to the request from the management node. The information communication processing system according to claim 6,wherein the management node comprises a management table which stores nominated information for changing an execution target of the application or the processing associated with the application which is executed by the processors of the second network node, and sends contents of the management table to the second network table. The information communication processing system according to claim 1,wherein processing associated with the application executed on the second network node is processing in which a processing result is notified to the first network node early, compared with an application executed on the information processing device. An information communication processing method for providing a service to a plurality of terminals, the method comprising the steps of: connecting a first network node connected to the terminal to a second network node through a first network; connecting the second network node to an information processing device through a second network; and for providing the service to the terminals, sending a packet which has a destination to the --> information processing device to the first network by using information obtained from the terminal in the first network node; outputting the packet to an information processing function unit which the second network node has or a node other than the second network node based on a destination and information included in the packet by the second network node when second network node receives the packet from the first network; sending a packet including a processing result to the packet processed by the information processing function unit to the first network node by the second network node; and receiving the packets including the processed result by the first network node to provide the service to the terminal. A second network node sending and receiving a packet through a first network connected to a first network node to which a plurality of terminals are connected and a second network connected to an information processing, the second network node comprising: a network interface unit connected to the first network and the second network; a communication control unit analyzing the packet received through the network interface unit and transferring the packet to any destination; and an information processing function unit to which the packet received through the network interface unit are transferred by the communication control unit and which executes a predetermined application for the packets. The second network node according to claim 13,wherein, by using a table which records a connection status and a destination made of the packet, the communication control unit changes a destination of the packets based on the destinations in the table. The second network node according to claim 14,wherein the communication control unit rewrites the destination of the flow based on load information of the information processing function unit. The second network node according to claim 14,wherein the communication control unit rewrites the destination of the flow in which the connection status is an unconnected status based on a request from the management node. The second network node according to claim 14,wherein the communication control unit rewrites the destination of the flow to the information processing function unit. The second network node according to claim 14,wherein the information processing function unit comprises a plurality of processors, and the communication control unit changes a destination of the packet to any one of the processors. The information communication processing method according to claim 12,wherein the terminals comprise a monitoring camera and --> an automatic door;the first network node extracts a face by the monitoring camera and sends extracted face image data to the second network node; andthe second network node sends a control signal for opening the automatic door to the first network node when the face image data corresponds to a face image database. The information communication processing method according to claim 12,wherein the terminals comprise a sensor and a monitoring camera;the first network node sends output of the sensor and image data of the monitoring camera to the second network node when the sensor output of the sensor exceeds a set threshold value; andthe second network node sends the image data to a previously registered user when the second network node detects an abnormal value from the sensor output. The information communication processing method according to claim 12,wherein the terminals comprise an acceleration sensor or a vibration sensor;the first network node separates effective quake data and ineffective quake data based on an output of the acceleration sensor or the vibration sensor, and sends the separated effective quake data to the second network node;, andthe second network node generates an alarm notification based on the received effective quake data, and sends the --> generated alarm notification to a previously registered user. The information communication processing method according to claim 12,wherein the terminals comprise an sensor and a camera; the first network node stores a sensor output of the sensor and image data of the camera, generates corresponding event information when the output of the sensor exceeds a set threshold value, and sends the event information to the second network node; andthe second network node sends a transfer request of the necessary sensor output and the necessary image data to the first network node based on the event information.',
'passage: INTRODUCER SHEATH, PLACEMENT DEVICE FOR BLOOD VESSEL TREATMENT INSTRUMENT, AND METHOD FOR SHORTENING INTRODUCER SHEATH A placement device (10) for a blood vessel treatment instrument has an introducer sheath (14) functioning as an outer tube, and also has an inner tube (16). The introducer sheath (14) has a flexible tube-shaped sheath body (18) and a hub (20) into which the base end of the sheath body (18) is inserted. The hub (20) takes up the base end of the sheath body (18) into the hub (20) by means of take-up shafts (30, 32) while tearing the base end of the sheath body (18) by cutting blades (72, 74), and thus the length of extension of the sheath body (18) from the hub (20) can be shortened. An introducer sheath (14, 14a, 14b) into which a long shaft is inserted, comprising: a flexible tube-shaped sheath body (18); and a hub (20) into which a proximal portion of the sheath body (18) is inserted, wherein the hub (20) takes up a proximal portion of the sheath body (18) into the hub (20) while tearing the proximal portion of the sheath body (18), whereby the length of extension of the sheath body (18) from the hub (20) can be shortened. The introducer sheath (14, 14a, 14b) according to claim 1,wherein the hub (20) has: a cutting section (28, 120) by which slits along an axial direction are formed in the sheath body (18); and a plurality of take-up shafts (30, 32) for respectively taking up terminal pieces of the sheath body (18) torn by the slits. The introducer sheath (14, 14a, 14b) according to claim 2, -->wherein the cutting section (28, 120) forms the slits in portions of the sheath body (18) which are on opposite sides with respect to a circumferential direction, andthe plurality of take-up shafts (30, 32) are two take-up shafts (30, 32) disposed at positions spaced from each other along the direction of splitting of the sheath body (18) by the slits. The introducer sheath (14, 14a) according to claim 2,wherein the cutting section (28, 120) has a plurality of cutting blades (72, 74) by which the slits are formed in circumferential-directionally different portions of the sheath body (18). The introducer sheath (14, 14a, 14b) according to claim 2,wherein the hub (20) further has an interlocking mechanism (106) by which the plurality of take-up shafts (30, 32) are rotated in an interlocked manner. The introducer sheath (14a) according to claim 2,wherein the hub (20) has rotation restraining --> mechanisms (104, 105) for inhibiting the take-up shafts (30, 32) from rotating in an unwinding direction. The introducer sheath (14, 14a, 14b) according to claim 2,wherein the hub (20) has: a hub body (31) provided with a hollow section in which the take-up shafts (30, 32) and the proximal portion of the sheath body (18) are housed; and a rotational operating section (34) which is rotationally operated from outside of the hub body (31) to thereby rotate the take-up shafts (30, 32), the hub body (31) being configured to be liquid-tight so that a liquid flowing into the inside of the hub (20) through the sheath body (18) does not leak to the exterior. A blood vessel treatment instrument placement device (10) by which a blood vessel treatment instrument (12) having a self-expanding function is fed to and placed indwelling in a desired treatment site in a blood vessel,wherein the placement device (10) includes an introducer sheath (14, 14a, 14b) having a sheath --> body (18) for housing the blood vessel treatment instrument (12) on an inner circumference of a distal portion thereof, andan inner tube (16) slidably inserted inside the sheath body (18);the introducer sheath (14, 14a, 14b) hasthe sheath body (18) which is flexible and tube-like in shape, anda hub (20) in which a proximal portion of the sheath body (18) is inserted; andthe hub (20) takes up a proximal portion of the sheath body (18) into the hub (20) while tearing the proximal portion of the sheath body (18), whereby the length of extension of the sheath body (18) from the hub (20) can be shortened. A method for shortening an introducer sheath (14, 14a, 14b) in which a long shaft is inserted, the method comprising: tearing a proximal portion of a sheath body (18); drawing the sheath body (18) into the hub (20) in which the proximal portion of the sheath body (18) is inserted; and taking up terminal pieces of the sheath body (18) --> having been torn.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
patent_devInformationRetrievalEvaluator| Metric | Value |
|---|---|
| cos_sim_accuracy@1 | 0.4751 |
| cos_sim_accuracy@3 | 0.6754 |
| cos_sim_accuracy@5 | 0.7442 |
| cos_sim_accuracy@10 | 0.8406 |
| cos_sim_precision@1 | 0.4751 |
| cos_sim_precision@3 | 0.2554 |
| cos_sim_precision@5 | 0.1746 |
| cos_sim_precision@10 | 0.1018 |
| cos_sim_recall@1 | 0.4118 |
| cos_sim_recall@3 | 0.6289 |
| cos_sim_recall@5 | 0.7006 |
| cos_sim_recall@10 | 0.8075 |
| cos_sim_ndcg@10 | 0.6323 |
| cos_sim_mrr@10 | 0.5941 |
| cos_sim_map@100 | 0.5749 |
sentence_0 and sentence_1| sentence_0 | sentence_1 | |
|---|---|---|
| type | string | string |
| details |
|
|
| sentence_0 | sentence_1 |
|---|---|
query: TISSUE RESECTING INSTRUMENT INCLUDING AN OUTFLOW CONTROL SEAL A tissue resecting instrument (10) includes an end effector assembly (100) having a proximal hub housing (110), outer shaft (120) and inner shaft (130) extending therefrom, and an inner core drive assembly to rotate and reciprocate the inner shaft relative to the outer shaft. The inner core drive assembly includes a proximal receiver that receives a rotational input and rotates in response and includes a seal member disposed thereon. The rotation of the proximal receiver effects rotation of a connector and reciprocation of the connector between a proximal position and a distal position. The connector is operably coupled to the inner shaft such that the rotation and reciprocation of the connector effects the rotation and reciprocation of the inner shaft. In the proximal position, the connector and the seal member establish a seal that blocks outflow. In the distal position, the connector is displaced from the seal memb... |
passage: Reciprocating rotary arthroscopic surgical instrument A surgical instrument includes a cutting member with an implement for cutting tissue, and a drive coupled to the cutting member. The drive may include a drive member having a helical groove and being attached to the cutting member. Furthermore, the drive may include an inner drive hub coupled to the drive member such that the drive member rotates with the inner drive hub while being free to translate relative to the inner drive hub. The drive simultaneously rotates and translates the cutting member in response to a force applied to the drive. A surgical instrument (400, 600), comprising: a cutting member (185, 285) including an implement (182, 282) for cutting tissue; and a drive (110) coupled to the cutting member (185, 285) to simultaneously rotate and translate the cutting member (185, 285) in response to a force applied to the drive,wherein the drive (110) includes a drive member (450, 650) coupled to the cutting member... |
query: VEHICLE LAMP CONTROL SYSTEM A vehicle lamp system 1 includes a light source unit (10) capable of individually adjusting an illuminance of light to be radiated to each of a plurality of individual areas ahead of a host vehicle; an imaging unit (12) configured to take an image ahead of the host vehicle; a high-speed low-accuracy analysis unit (114) configured to detect luminance of each individual area based on information obtained from the imaging unit; a low-speed high-accuracy analysis unit (116) configured to detect target objects ahead of the host vehicle based on the information obtained from the imaging unit; a tracking unit (40) configured to determine a specific target object from the target objects detected by the low-speed high-accuracy analysis unit and to detect displacement of the specific target object based on a detection result of the high-speed low-accuracy analysis unit; an illuminance setting unit (42) configured to set, based on the detection result of the hig... |
passage: HEADLAMP CONTROLLER In a control system (14), an OF calculating means (58) calculates the OF of an object existing in front of a vehicle as a light emitter or a light reflector from the brightness information of an acquired pick-up image in front of the vehicle. An object attribute determining means (60) determines the attribute of the object according to the OF. A light distribution control ECU (34) controls the light distribution of headlamp units (12R, 12L) provided in the vehicle according the attribute of the object. An image analysis means (50) estimates the shape of the road in front of the vehicle. The object attribute determining means (60) determines the attribute of the object according to the OF of the object and the shape of the road. A headlamp controller comprising: an optical flow calculation means configured to calculate an optical flow of an object present in front of a vehicle as a light emitter or light reflector, based on the luminance information of an ac... |
query: PRE DIFFUSER FOR A GAS TURBINE ENGINE A pre-diffuser (100) for a gas turbine engine (20) includes an exit guide vane ring (104) having a multiple of exit guide vanes (108) defined around an engine longitudinal axis (A), a hot fairing structure (102) adjacent to the exit guide vane ring (10) to define a multiple of diffusion passages (120) around the engine longitudinal axis (A), an outer radial interface (190) between a radial outer surface of the hot fairing structure (102) and the exit guide vane ring (104), the outer radial interface (190) being a full hoop structure, and an anti-rotation feature (130) between the hot fairing structure (120) and the exit guide vane ring (104), the anti-rotation feature (130) inboard of the multiple of diffusion passages (120). A pre-diffuser (100) for a gas turbine engine (20), comprising: an exit guide vane ring (104) having a multiple of exit guide vanes (108); a hot fairing structure (102) adjacent to the exit guide vane ring (104) to form... |
passage: HIGH COMPRESSOR EXIT GUIDE VANE ASSEMBLY TO PRE-DIFFUSER JUNCTION A pre-diffuser and exit guide vane (EGV) system for a gas turbine engine (10) includes an annular EGV assembly (31) containing a number of guide vanes (33) and having an annular opening bounded by a radially inner annular sealing surface at a first radius and a radially outer annular sealing surface at a second radius. First and second seals (35) substantially matching the first and second radii respectively join the EGV assembly (31) to an annular pre-diffuser (30) having an annular opening bounded by radially inner and outer annular sealing surfaces at substantially the first and second radii. The seals (35) seal the inner sealing surface of the EGV assembly (31) to the inner sealing surface of the pre-diffuser (30) and the second seal (35) seals the outer sealing surface of the EGV assembly (31) to the outer sealing surface of the pre-diffuser (30), such that the EGV assembly annular opening is in fluid commu... |
MultipleNegativesRankingLoss with these parameters:{
"scale": 20.0,
"similarity_fct": "cos_sim"
}
eval_strategy: stepsfp16: Truemulti_dataset_batch_sampler: round_robinoverwrite_output_dir: Falsedo_predict: Falseeval_strategy: stepsprediction_loss_only: Trueper_device_train_batch_size: 8per_device_eval_batch_size: 8per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 1eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 5e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1num_train_epochs: 3max_steps: -1lr_scheduler_type: linearlr_scheduler_kwargs: {}warmup_ratio: 0.0warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_nan_inf_filter: Truesave_safetensors: Truesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseno_cuda: Falseuse_cpu: Falseuse_mps_device: Falseseed: 42data_seed: Nonejit_mode_eval: Falseuse_ipex: Falsebf16: Falsefp16: Truefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Falseignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}tp_size: 0fsdp_transformer_layer_cls_to_wrap: Noneaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}deepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torchoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Trueuse_legacy_prediction_loop: Falsepush_to_hub: Falseresume_from_checkpoint: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Nonehub_always_push: Falsegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseinclude_for_metrics: []eval_do_concat_batches: Truefp16_backend: autopush_to_hub_model_id: Nonepush_to_hub_organization: Nonemp_parameters: auto_find_batch_size: Falsefull_determinism: Falsetorchdynamo: Noneray_scope: lastddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: Nonebatch_sampler: batch_samplermulti_dataset_batch_sampler: round_robin| Epoch | Step | Training Loss |
|---|---|---|
| 0.5176 | 500 | 0.1257 |
| 1.0 | 966 | - |
| 1.0352 | 1000 | 0.0747 |
| 1.5528 | 1500 | 0.0405 |
| 2.0 | 1932 | - |
| 2.0704 | 2000 | 0.031 |
| 2.5880 | 2500 | 0.0198 |
@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",
}
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Base model
intfloat/e5-large-v2