Download __init__.py from DiLi-Lab/Eyettention: direct link, hf CLI and curl.
- Browser
- Download file 642 Bytes
-
https://huggingface.co/DiLi-Lab/Eyettention/resolve/refs%2Fpr%2F1/__init__.py
- Command line
-
hf download hf://DiLi-Lab/Eyettention@refs/pr/1/__init__.py
-
curl -L -o __init__.py https://huggingface.co/DiLi-Lab/Eyettention/resolve/refs%2Fpr%2F1/__init__.py
642 Bytes
| # API implementation | |
| from Eyettention.model import Eyettention, Eyettention_readerID | |
| from Eyettention.raw_text_inference import EyettentionRawTextInference | |
| from Eyettention.utils import ( | |
| BSCdataset, | |
| calculate_mean_std, | |
| celerdataset, | |
| eval_log_llh, | |
| gradient_clipping, | |
| load_corpus, | |
| load_label, | |
| prepare_scanpath, | |
| ) | |
| __all__ = [ | |
| "Eyettention", | |
| "Eyettention_readerID", | |
| "EyettentionRawTextInference", | |
| "BSCdataset", | |
| "calculate_mean_std", | |
| "celerdataset", | |
| "eval_log_llh", | |
| "gradient_clipping", | |
| "load_corpus", | |
| "load_label", | |
| "prepare_scanpath", | |
| ] | |