Views
No views yet
configs/sensor_config.yaml.
Signal normalization and windowing parameters are defined in preprocessor/preprocessor_config.json.1.
2├── README.md
3├── config.json
4├── tokenizer_config.json
5├── tokenizer.json
6├── model/
7│ ├── model.safetensors
8│ └── model.safetensors.index.json
9├── preprocessor/
10│ ├── preprocessor_config.json
11│ └── feature_extractor.py
12├── configs/
13│ ├── training_config.yaml
14│ └── sensor_config.yaml
15├── examples/
16│ ├── inference.py
17│ ├── embedding_search.py
18│ └── cross_modal.py
19└── .gitattributes| File | Purpose |
|---|---|
config.json | Encoder architecture: layers, heads, hidden size, projection dimensions |
configs/sensor_config.yaml | Sensor input specs: axes, sequence length, sampling rate |
preprocessor/preprocessor_config.json | Signal normalization, windowing, padding behavior |
preprocessor/feature_extractor.py | Converts raw haptic arrays into encoder-ready tensors |
examples/embedding_search.py | Vector similarity search over haptic embeddings |
examples/cross_modal.py | Aligns haptic embeddings with vision or language vectors |
1from preprocessor.feature_extractor import HapticFeatureExtractor
2
3extractor = HapticFeatureExtractor.from_pretrained(".")1import numpy as np
2
3from preprocessor.feature_extractor import HapticFeatureExtractor
4
5extractor = HapticFeatureExtractor.from_pretrained(".")
6sample = np.random.randn(1024, 12).astype("float32")
7features = extractor(sample)
8
9print(features["input_values"].shape)
10print(features["attention_mask"].shape)examples/inference.py for a complete example.configs/training_config.yaml.
These values are intended as a starting point for pretraining or continued domain adaptation, not as a claim of the exact recipe used for a released checkpoint.1@misc{motoko_embedding_1b,
2 title = {Motoko Embedding 1B},
3 author = {Motoko},
4 year = {2026},
5 howpublished = {\url{https://huggingface.co/}}
6}