linear-probe
ruff check --select I --fix . && ruff format .
Expected input is embeddings and labels columns. labels are raw values are encoding automatically.
| task | labels | example |
|---|---|---|
binary |
scalar | 1, "spam" |
multiclass |
scalar | 2, "sports" |
multilabel |
list of labels present | ["politics", "eu"], [0, 2] |
# binary
{"embeddings": [0.12, -0.53, 0.88, ...], "labels": "spam"}
# multiclass
{"embeddings": [0.12, -0.53, 0.88, ...], "labels": "sports"}
# multilabel
{"embeddings": [0.12, -0.53, 0.88, ...], "labels": ["politics", "eu"]}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
linear_probe-0.1.1.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linear_probe-0.1.1.tar.gz.
File metadata
- Download URL: linear_probe-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fb693f8872dda92070013139729a2a1be5218674b3b59fb69adab13acba6033
|
|
| MD5 |
df900fea56af2c54e886dfcafd6dba9d
|
|
| BLAKE2b-256 |
b5006fd5bb97198a826ff014beba70e67931400c6252659fe5f3c4b31feda625
|
File details
Details for the file linear_probe-0.1.1-py3-none-any.whl.
File metadata
- Download URL: linear_probe-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10f9d8ed684abec1b48534bf364823f5932c89da147df8a6eefa82b9cf435a53
|
|
| MD5 |
a1be51a945d4ef8d3db52575cb5365e2
|
|
| BLAKE2b-256 |
d66eadb7dbee859a8082c9235faa303a37ccb5054318f5bb2101dd7015727ad3
|