Invention Grant
- Patent Title: Systems and methods near negative distinction for evaluating NLP models
-
Application No.: US17837546Application Date: 2022-06-10
-
Publication No.: US12223270B2Publication Date: 2025-02-11
- Inventor: Philippe Laban , Chien-Sheng Wu , Wenhao Liu , Caiming Xiong
- Applicant: Salesforce, Inc.
- Applicant Address: US CA San Francisco
- Assignee: Salesforce, Inc.
- Current Assignee: Salesforce, Inc.
- Current Assignee Address: US CA San Francisco
- Agency: Haynes and Boone, LLP
- Main IPC: G06F40/284
- IPC: G06F40/284

Abstract:
Embodiments described herein provide a method of evaluating a natural language processing model. The method includes receiving an evaluation dataset that may include a plurality of unit tests, the unit tests having: an input context, and a first candidate and a second candidate that are generated in response to the input context, where the first test candidate is associated with a first quality notation, and the second candidate is associated with a second quality notation. The method includes determining, via a model, a first likelihood of generating the first candidate and a second likelihood of generating the second candidate in response to the input context. The method also includes determining whether the first likelihood being greater than the second likelihood. The method also includes determining whether the first model passed the unit test, where the first quality notation indicates a higher quality candidate and the second quality notation indicate a lower quality candidate.
Public/Granted literature
- US20230229861A1 SYSTEMS AND METHODS NEAR NEGATIVE DISTINCTION FOR EVALUATING NLP MODELS Public/Granted day:2023-07-20
Information query