Arcee
🌷 The open source toolkit for finetuning and deploying LLMs 🌷
Finetune LLMS
from arcee.models import LM
from arcee.data import Instuctions
lm = LM("falcon30b")
instructions = Instructions("./datasets/stripe-api.json")
lm.train(instructions)
lm.predict("Place an order for the LLM-9000 product for 100 USD to the card 3007200039992000")
Deploy LLMS
Authenticate
import arcee
arcee.login()
Deploy to the Arcee cloud
project = arcee.create_project("stripe-api-operator")
#project = arcee.load_project(...)
#regulated under 7b params for free
#only PEFT uploadable for free
hosted_lm = project.deploy(llm)
hosted_lm.url
hosted_lm.predict("Place an order for the LLM-9000 product for 100 USD to the card 3007200039992000")
#view a streaming web app of the llm
project.demo()
LangChain Integration
from langchain import Arcee
#goes in llms/arcee.py
prompt_template = "Write a stripe API request for the following: {order}."
llm = Arcee(temperature=0)
llm_chain = LLMChain(
llm=llm,
prompt=PromptTemplate.from_template(prompt_template)
)
llm_chain("Place an order for the LLM-9000 product for 100 USD to the card 3007200039992000")
Metadata
Release files for arcee-align 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arcee-align-0.0.6.tar.gz | 6.3 kB | Without provenance | Details for arcee-align-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arcee_align-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for arcee_align-0.0.6-py3-none-any.whl |
Total release size: 12.9 kB
Release files / arcee-align-0.0.6.tar.gz
| Download URL | arcee-align-0.0.6.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91678b89b3e448aa310e826d4d949ad97111df87e39f55c45641f6af171eec3b
|
|
BLAKE2b-256 checksum How to use checksums |
58f849c5c07a1fb4693bd3fde4f364d1e5b2bcac9da4a61c046df04d74a98790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / arcee_align-0.0.6-py3-none-any.whl
| Download URL | arcee_align-0.0.6-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db22742a183d57412a6fe5c112e3982597ceffa3fa1c7963bd95f8439a3a5db6
|
|
BLAKE2b-256 checksum How to use checksums |
bff4b56c1a848a7b24ccadd33d6878ce27833df01e4522b8b6a5a6d93fcbacab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for arcee-align 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.