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

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.10
File Size Uploaded
gensimllms-0.0.10.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size: 14.6 kB

Release files / gensimllms-0.0.10.tar.gz

Download URL gensimllms-0.0.10.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a7b0ddc0c220c2111b70f717cfd238475584ed9c94275523906300ffc1724787
BLAKE2b-256 checksum
How to use checksums
76502f078acb609d3dcbffd493262cf289939b2d97bbc451481ba65652222c1a
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.10-py3-none-any.whl

Download URL gensimllms-0.0.10-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e013fc60b14232ff08e067865558045345c86938840f1a764c3f40a969e849bf
BLAKE2b-256 checksum
How to use checksums
296ea820b54c5e6bc4b170483a95d52b6eddbcd1874caafc5cf078798baa76ac
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

This release

0.0.10 This release

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