Run prompts against LLMs hosted by https://lambdalabs.com/
Project description
llm-lambda-labs
Run prompts against LLMs hosted by https://lambdalabs.com/
Installation
Install this plugin in the same environment as LLM.
llm install llm-lambda-labs
Usage
First, obtain an API key for Lambda Labs and set it like this:
llm keys set lambdalabs
# Paste key here
To see a list of available models, run this:
llm models
Run prompts like this:
llm -m lambdalabs/hermes3-405b 'short poem about a pelican with a twist'
The list of available models is fetched the first time the plugin is run. You can refresh that cached list by running:
llm lambdalabs refresh
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-lambda-labs
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
python -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llm_lambda_labs-0.1a0.tar.gz
.
File metadata
- Download URL: llm_lambda_labs-0.1a0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe570c5a24a92782bbbf65081a656295d53af5bebbda4c8a22c3152ef34605f |
|
MD5 | 63779f128ee4f5f2d578eca7978f4528 |
|
BLAKE2b-256 | 2c07f060de1a388d53b220ab17b6137d1417ff75f4e372f28919e5d83231b8f5 |
Provenance
The following attestation bundles were made for llm_lambda_labs-0.1a0.tar.gz
:
Publisher:
publish.yml
on simonw/llm-lambda-labs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
llm_lambda_labs-0.1a0.tar.gz
- Subject digest:
efe570c5a24a92782bbbf65081a656295d53af5bebbda4c8a22c3152ef34605f
- Sigstore transparency entry: 146500260
- Sigstore integration time:
- Predicate type:
File details
Details for the file llm_lambda_labs-0.1a0-py3-none-any.whl
.
File metadata
- Download URL: llm_lambda_labs-0.1a0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b8be4f60e05c41093c6301d360499ceb2fb33a4d34df2732996eb1b8b073ec |
|
MD5 | c444389b072c7679fb5ebd48a63f6fe4 |
|
BLAKE2b-256 | 1f3d142b80780249aaaa67e76ecbfc88058f61cd608022b262f171b5423b17f4 |
Provenance
The following attestation bundles were made for llm_lambda_labs-0.1a0-py3-none-any.whl
:
Publisher:
publish.yml
on simonw/llm-lambda-labs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
llm_lambda_labs-0.1a0-py3-none-any.whl
- Subject digest:
68b8be4f60e05c41093c6301d360499ceb2fb33a4d34df2732996eb1b8b073ec
- Sigstore transparency entry: 146500262
- Sigstore integration time:
- Predicate type: