Skip to main content

Python library to support LLM testing.

Project description

gensimllms

gensimllms Python library for testing LLMs.

Status: Experimental research and teaching tool.

Installation

pip install gensimllms

Running within Python code.

import gensimllms

Using the template

First install

pip install gensimllms

Next

gensimllms init my_simulation

Then to run

python my_simulation/user_simulation.py
File Use
simulator.py Contains the main GeneralSimulator class
models.py Contains the api calls for the LLMs, currently only contains GPT
user_template.py Contains the UserTemplate class which tells user what needs to be included for the main GeneralSimulator class to work
user_example.py A very basic example of how you would implement and fill in the UserTemplate class

This is a link to the Github repo where the files and code can be viewed: gensimllms

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gensimllms-0.0.8.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gensimllms-0.0.8-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file gensimllms-0.0.8.tar.gz.

File metadata

  • Download URL: gensimllms-0.0.8.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gensimllms-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6e851795935b8cee4ae2687dff8fb3e375cf7c0e726c22395d862791e0724029
MD5 5880dc429759c37cd68f62e0c7585aac
BLAKE2b-256 94e630022145baee48233184d47b32f58229929650b5ab2c00757ca2c43f0cfd

See more details on using hashes here.

File details

Details for the file gensimllms-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: gensimllms-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gensimllms-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 875e634acf1187632916dfb463ee0e26d0b134c9922ec104e453e7ae139e435e
MD5 3e6eecc570e8863dc13e1edd11ef7060
BLAKE2b-256 19d18c822fe25e2d9d473e199e64c49809d5a2b17680b714bc0ff55a5674a5c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page