GithubHelp home page GithubHelp logo

tagomaru / fiddler-auditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fiddler-labs/fiddler-auditor

0.0 1.0 0.0 1.4 MB

Fiddler Auditor is a tool to evaluate the robustness of language models.

License: Other

Python 90.15% Makefile 0.77% HTML 9.08%

fiddler-auditor's Introduction

Fiddler Auditor

Auditing Large Language Models made easy!

What is Fiddler Auditor?

Fiddler Auditor Capabilities

Language models enable companies to build and launch innovative applications to improve productivity and increase customer satisfaction. However, it’s been known that LLMs can hallucinate, generate adversarial responses that can harm users, and even expose private information that they were trained on when prompted or unprompted. It's more critical than ever for ML and software application teams to minimize these risks and weaknesses before launching LLMs and NLP models. As a result, it’s important for you to include a process to audit language models thoroughly before production. The Fiddler Auditor enables you to test LLMs and NLP models, identify weaknesses in the models, and mitigate potential adversarial outcomes before deploying them to production.

Features and Capabilities

Fiddler Auditor Flow

Fiddler Auditor supports

  • Red-teaming LLMs for your use-case with prompt perturbation
  • Integration with LangChain
  • Custom evaluation metrics
  • Generative and Discriminative NLP models
  • Comparison of LLMs

Example Report An example report generated by the Fiddler Auditor for text-davinci-003.

Installation

From PyPI

Auditor is available on PyPI and we test on Python 3.8 and above. We recommend creating a virtual python environment and installing using the following command

pip install fiddler-auditor

From source

You can install from source after cloning this repo using the following command

pip install .

Quick-start guides

Contribution

We are continuously updating this library to support language models as they evolve.

  • Contributions in the form of suggestions and PRs to Fiddler Auditor are welcome!
  • If you encounter a bug, please feel free to raise issues in this repository.

Community

fiddler-auditor's People

Contributors

iterix avatar tspthomas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.