mirror of
https://github.com/microsoft/LLMLingua.git
synced 2024-01-23 02:05:46 +03:00
Feature(LLMLingua): update pypi information
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -396,4 +396,8 @@ FodyWeavers.xsd
|
||||
|
||||
# JetBrains Rider
|
||||
*.sln.iml
|
||||
*.egg-info
|
||||
*.egg-info
|
||||
|
||||
# build
|
||||
build/*
|
||||
dist/*
|
||||
@@ -66,7 +66,7 @@ If you find this repo helpful, please cite the following paper:
|
||||
Install LLMLingua,
|
||||
|
||||
```bash
|
||||
pip install -e .
|
||||
pip install llmlingua
|
||||
```
|
||||
|
||||
Then, you can use LLMLingua to compress your prompt,
|
||||
|
||||
@@ -2,7 +2,7 @@ _MAJOR = "0"
|
||||
_MINOR = "1"
|
||||
# On master and in a nightly release the patch should be one ahead of the last
|
||||
# released build.
|
||||
_PATCH = "0"
|
||||
_PATCH = "1"
|
||||
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
||||
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
||||
_SUFFIX = ""
|
||||
|
||||
9
setup.py
9
setup.py
@@ -36,9 +36,14 @@ DEV_REQUIRES = INSTALL_REQUIRES + QUANLITY_REQUIRES
|
||||
setup(
|
||||
name="llmlingua",
|
||||
version=VERSION["VERSION"],
|
||||
description="An open-source prompt compression library for black-box LLMs like ChatGPT.",
|
||||
author="The LLMLingua team",
|
||||
author_email="hjiang@microsoft.com",
|
||||
description="To speed up LLMs' inference and enhance LLM's perceive of key information, compress the prompt and KV-Cache, which achieves up to 20x compression with minimal performance loss.",
|
||||
long_description=open("README.md").read(),
|
||||
long_description_content_type="text/markdown",
|
||||
keywords="Prompt Compression, LLMs, Inference Acceleration, Black-box LLMs, Efficient LLMs",
|
||||
license="MIT License",
|
||||
url="https://github.com/microsoft/LLMLingua",
|
||||
classifiers=[
|
||||
"Intended Audience :: Science/Research",
|
||||
"Development Status :: 3 - Alpha",
|
||||
@@ -53,6 +58,6 @@ setup(
|
||||
},
|
||||
install_requires=INSTALL_REQUIRES,
|
||||
include_package_data=True,
|
||||
python_requires=">=3.7.0",
|
||||
python_requires=">=3.8.0",
|
||||
zip_safe=False,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user