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.11

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.11
File Size Uploaded
gensimllms-0.0.11.tar.gz 9.7 kB Details

Built distribution (wheel)

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

Total release size: 16.6 kB

Release files / gensimllms-0.0.11.tar.gz

Download URL gensimllms-0.0.11.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
abbbcba8f43f30b337526f368e1e18eb253012f97a7a5ff1107e3cde22137ae6
BLAKE2b-256 checksum
How to use checksums
50e94c87c57f981ef13e7269f9f8ee07d8081711e669348b68fa289065fda7d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

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

Download URL gensimllms-0.0.11-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b70d3d80372fac73c54e7eec64d79400ccb418c2338b712338c51fc599d48de
BLAKE2b-256 checksum
How to use checksums
e61fc5ad1b7408b189749d23f98dc4353064a276e3bd5c59a81e880253ba16fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

0.0.12

2 release files

This release

0.0.11 This release

2 release files

0.0.10

2 release files

0.0.9

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