AliOsm/simplerepresentations

Easy-to-use text representations extraction library based on the Transformers library.

39
/ 100
Emerging

Supports configurable multi-layer aggregation (summing or concatenating the last N hidden states) and token-level representation extraction alongside sentence embeddings. Built on HuggingFace's Transformers with PyTorch backend, it handles batch processing with optional CUDA acceleration and multi-process feature conversion for efficient large-scale extraction. Compatible with any pretrained Transformer model from the HuggingFace model hub through simple type/name specification.

No commits in the last 6 months. Available on PyPI.

Stale 6m No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 18 / 25
Community 11 / 25

How are scores calculated?

Stars

32

Forks

4

Language

Python

License

Apache-2.0

Last pushed

Oct 21, 2022

Monthly downloads

17

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/AliOsm/simplerepresentations"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.