Skip to main content

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 a tutorial notebook: Tutorial

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

Metadata

Release files for gensimllms 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gensimllms 0.0.9
File Size Uploaded
gensimllms-0.0.9.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gensimllms 0.0.9
File Interpreter ABI Platform
gensimllms-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / gensimllms-0.0.9.tar.gz

Download URL gensimllms-0.0.9.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0d675e96cb38ab1bf6c298dee0f4cc7c3fac03eabc3bf0a2e61dcec1f12c5c52
BLAKE2b-256 checksum
How to use checksums
dedd33c22f0a814d286887bed3379d016cae5acebc2cbdffa68d6de5e3e5f1a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / gensimllms-0.0.9-py3-none-any.whl

Download URL gensimllms-0.0.9-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe603f6aba0c76ad2bbaaa672a48169c1a4ad93cde60f1c90010f9185d256256
BLAKE2b-256 checksum
How to use checksums
e64799f2d3291cc2c28f2d5cfefa5c431f2e319049dc7775be69d46e6fc7cc3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page