This release is a pre-release and may not be stable for production use.
SocialJev
SocialJev is a Jev-like classification foundation model for the social sciences, inspired by TypeSafe Jev. It is trained to combine the flexibility of modern language models pretrained on trillions of tokens of text with the speed of traditional lightweight NLP methods. Define your task through a simple typed interface and SocialJev returns typed outputs.
Note SocialJev is under active development. The API and model interfaces may change, including breaking changes between releases.
Getting started
uv pip install social-jev
Load a model from Hugging Face and classify a batch of documents:
from social_jev import Query, Request, SocialJev
model = SocialJev.from_pretrained("social-jev/social-jev-0.6B-v1")
query = Query(
text="Which policy area does this document concern?",
options=["Transport", "Education", "Healthcare"],
)
results = model.query(
[
Request(state="The council expanded the bus network.", queries=[query]),
Request(state="The government recruited more teachers.", queries=[query]),
],
batch_size=16,
)
print(results[0][0].model_dump())
Example result:
{
"choice": "Transport",
"probabilities": {
"Transport": 0.91,
"Education": 0.03,
"Healthcare": 0.06,
},
}
Results follow document order, with one result per query. The probabilities above are illustrative.
Metadata
Release files for social-jev 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| social_jev-0.1.0a1.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| social_jev-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.0 kB
Release files / social_jev-0.1.0a1.tar.gz
How to use checksums
d54b4041e56528c1acff2cdd152aea4a8658eb8f51c1cbd5b7ca511a3b26bd0eHow to use checksums
8165940cfe8b7a6bf772fa0ef8c2b697b86715f6e61a413e8ed2a3481efc6583What is trusted publishing?
twine/7.0.0 CPython/3.13.14Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logIdentity
Workflow
Artifact
social_jev-0.1.0a1.tar.gzd54b4041e56528c1acff2cdd152aea4a8658eb8f51c1cbd5b7ca511a3b26bd0eVerifying attestations