Skip to main content
Pre-release

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-preview")

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]),
    ],
)

print(results[0][0].choice)
print(results[0][0].probabilities)

Example result:

Transport
{'Transport': 0.91, 'Education': 0.03, 'Healthcare': 0.06}

Results are ordered first by document, then by query for that document. The probabilities above are illustrative.

Metadata

Release files for social-jev 0.1.0a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for social-jev 0.1.0a4
File Size Uploaded
social_jev-0.1.0a4.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for social-jev 0.1.0a4
File Interpreter ABI Platform
social_jev-0.1.0a4-py3-none-any.whl Python 3 none any Details

Total release size: 34.8 kB

Release files / social_jev-0.1.0a4.tar.gz

Download URL social_jev-0.1.0a4.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ff27bdc4858d73b3e9d92996e3f1ad1bcbac223618d55658d3fc2462dfcb3916
BLAKE2b-256 checksum
How to use checksums
51f92a09ee33031b68e94cc932611aa1d602570cc11849d1e2aa9e02ff1947d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

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 19, 2026.

Transparency log

Release files / social_jev-0.1.0a4-py3-none-any.whl

Download URL social_jev-0.1.0a4-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57db6ce9f1620775896b67b51a6717d501f60cfdec90ade54e955907da2162d7
BLAKE2b-256 checksum
How to use checksums
5d4651ee4c792c3bd8cfcc7f66726073cb2f9be8e7af3f47807dec5fc24496af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

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 19, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page