-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
13,979 additions
and
865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## Build the Docs | ||
|
||
### Setup (do once) | ||
|
||
Install [sphinx](https://www.sphinx-doc.org/en/master/usage/installation.html) | ||
for example with `conda`: | ||
|
||
``` | ||
conda install sphinx | ||
pip install sphinx-book-theme | ||
``` | ||
|
||
### Build | ||
|
||
Build the docs from `mlx/docs/` | ||
|
||
``` | ||
make html | ||
``` | ||
|
||
View the docs by running a server in `mlx/docs/build/html/`: | ||
|
||
``` | ||
python -m http.server <port> | ||
``` | ||
|
||
and point your browser to `http://localhost:<port>`. | ||
|
||
### Push to Github Pages | ||
|
||
Check-out the `gh-pages` branch (`git switch gh-pages`) and build | ||
the docs. Then force add the `build/html` directory: | ||
|
||
`git add -f build/html` | ||
|
||
Commit and push the changes to the `gh-pages` branch. |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: bafbfe128a125bac792a64c580cef9ed | ||
config: 637347761558919500feb5e6b5efb236 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
.. plexiglass documentation master file, created by | ||
sphinx-quickstart on Sat Dec 9 22:48:04 2023. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Plexiglass | ||
========== | ||
|
||
Welcome to plexiglass's documentation! | ||
====================================== | ||
Plexiglass is an innovative toolbox designed to test vulnerabilities and safeguard Language Learning Models (LLMs), developed by Kortex Labs. This Python-based security toolbox operates with a focus on the rigorous testing and enhancement of security measures for LLMs. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
Key Features | ||
------------ | ||
|
||
- **Security-focused LLM Toolbox**: Plexiglass is crafted as a security toolbox specifically for testing and safeguarding LLMs, making it an essential tool for developers working with these models. | ||
|
||
- **Versatile Testing Modes**: It offers two primary modes of operation: `llm-chat` and `llm-scan`. The `llm-chat` mode enables interactive conversations with LLMs, allowing the assessment of predefined metrics like toxicity in responses. Meanwhile, the `llm-scan` mode is designed to run tests to identify and evaluate various vulnerabilities within LLMs. | ||
|
||
Indices and tables | ||
================== | ||
- **Ease of Use**: Users can begin using Plexiglass simply by installing it and running `plx --help` for guidance, emphasizing user-friendliness and accessibility. | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` | ||
- **Open-Source and Community-Driven**: Plexiglass is an open-source project, encouraging community contributions and feedback. This collaborative approach ensures continuous improvement and adaptation to emerging security needs in LLMs. | ||
|
||
- **First Release and Installation**: The first experimental release of Plexiglass is version `0.0.1`, available for download from PyPi. Users can easily install it using the command `pip install --upgrade plexiglass`. | ||
|
||
Inspiration and Compatibility | ||
------------------------------ | ||
|
||
- The development of Plexiglass is motivated by the increasing importance of security in machine learning and AI. It aligns with the current trend of creating robust and secure AI systems, especially in the realm of language learning models. | ||
|
||
- Plexiglass uses `litellm` under the hood, suggesting compatibility with a range of LLMs and providing a versatile tool for developers and researchers in the field. | ||
|
||
Community Involvement | ||
--------------------- | ||
|
||
- Kortex Labs emphasizes the importance of community involvement in Plexiglass's development. They are actively seeking contributors to further enrich the toolbox and extend its capabilities. | ||
|
||
Documentation and Further Information | ||
------------------------------------- | ||
|
||
- Comprehensive documentation for Plexiglass is available, providing users with detailed information on its features, installation, and usage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.