Experiment Maker:
Experiment Maker is a software developed to reduce the effort and the time spent when designing prompts for in-context learning and/or combining multiple prompts in an experimental pipeline. This package allows you to create custom prompts and pipelines to perform in-context learning with GPT-3.
Our system is composed of two complementary components:
- Prompt Designer: supports users to design promptss.
Research project adopted in “Leveraging pre-trained language models for conversational information seeking from text”
- Pipeline Maker: helps users in creating a pipeline by combining multiple prompts.
Pipeline Maker. This tool is part of the Experiment Maker project. It allows to create custom GPT-3 pipeline. Adopted in “Assisted Knowledge Graph Building Using Pre-Trained Language Models” This tool also allows to integrate custom python scripts to manipulate results.
Demo video:
See our tool in action https://youtu.be/5e_XAdI2bPQ
Installation:
You can choose to install the entire program from pypi
- Experiment Maker
pip install experimentmaker
Or, install one of the two components:
- Prompt Designer
pip install promptdesigner
- Pipeline Maker
pip install pipelinemaker
Execute programs:
Experiment Maker:
from experimentmaker.experimentmaker import LunchEM LunchEM()
To lunch one of the components - Prompt Designer:
from promptdesigner.PromptDesigner import LunchPromptDesigner LunchPromptDesigner()
- Pipeline Maker:
from pipelinemaker.experimentmaker import LunchExperiment LunchExperiment()
Custom Modules (filters)
You can test our custom modules (written in python) contained in the folder filters-scripts. To create your own custom filter, you simply need to write a python class with a method, or a python function, called ‘Parse’ that accept a single argument. The results of a step, or the results of the pipeline are passed as dictionary to the method/function.
For example, consider the following example function. This function receives the results (data variable) and clean the answers by removing unused characters from the text.
def Parse(self, data): def parseitem(item): item = item.replace('-', '', 1) item = item.replace("'", '', 1) item = item.replace("'", '', 1) item = item.strip() return item if type(data) == str: return parseitem(data) return [parseitem(item) for item in data]
Metadata
Release files for experimentmaker 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| experimentmaker-0.1.1.tar.gz | 3.2 kB | Without provenance | Details for experimentmaker-0.1.1.tar.gz |
Release files / experimentmaker-0.1.1.tar.gz
| Download URL | experimentmaker-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
367df6bdb0f5a6b62384951f13b95ff264c8f16b5bff1d8f78477a8c6fe682d5
|
|
BLAKE2b-256 checksum How to use checksums |
d7a18508e53ce64a44d1917e8829207db9276aa3c3a86503e4be7effbe3728b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for experimentmaker 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.