Skip to content

Commit d558aa9

Browse files
authored
Final release of hfppl before rename (#36)
1 parent 51f6177 commit d558aa9

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
[![Tests](https://github.com/genlm/hfppl/actions/workflows/tests.yml/badge.svg)](https://github.com/genlm/hfppl/actions/workflows/tests.yml)
55
[![codecov](https://codecov.io/gh/probcomp/hfppl/graph/badge.svg?token=414EHUC2P3)](https://codecov.io/gh/probcomp/hfppl)
66

7-
7+
⚠️ **DEPRECATION NOTICE** ⚠️
8+
This package has been renamed to [`llamppl`](https://pypi.org/project/llamppl/).
9+
You're looking at the final release of `hfppl`. No further updates will be published here.
810

911
LLaMPPL is a research prototype for language model probabilistic programming: specifying language generation tasks by writing probabilistic programs that combine calls to LLMs, symbolic program logic, and probabilistic conditioning. To solve these tasks, LLaMPPL uses a specialized sequential Monte Carlo inference algorithm. This technique, SMC steering, is described in [our recent workshop abstract](https://arxiv.org/abs/2306.03081).
1012

hfppl/__init__.py

+8
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@
66
from .llms import *
77
from .modeling import *
88
from .util import *
9+
10+
import warnings
11+
12+
warnings.warn(
13+
"The 'hfppl' library is deprecated and will be renamed to 'llamppl'. "
14+
"Please migrate to 'llamppl'. This is the final release of 'hfppl'.",
15+
DeprecationWarning,
16+
)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "hfppl"
33
version = "0.0.0"
4-
description = "Probabilistic programming with HuggingFace Transformer models."
4+
description = "Deprecated. Please use 'llamppl' instead."
55
authors = [
66
"Alex Lew <[email protected]>",
77
"Gabriel Grand <[email protected]>",

0 commit comments

Comments
 (0)