RoboTokAnonymous commited on
Commit
e896604
·
0 Parent(s):

Initial release

Browse files
.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ hero.jpg filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 The RoboTok Authors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ Note: this license covers only the configuration file in this repository
24
+ (models/best_abs_retrieval_model.yaml) and the accompanying source release.
25
+ The trained checkpoints (models/*.pt) and the evaluation keypoints
26
+ (eval_data/torso_relative_clip_keypoints.pt) are derivative works of
27
+ Action100M and are governed by the FAIR Noncommercial Research License v1
28
+ (see LICENSE-Action100M).
LICENSE-Action100M ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FAIR Noncommercial Research License
2
+ v1 Last Updated: October 16, 2024
3
+
4
+ “Acceptable Use Policy” means the FAIR Acceptable Use Policy, applicable to Research Materials, that is incorporated into this Agreement.
5
+
6
+ “Agreement” means the terms and conditions for use, reproduction, distribution and modification of the Research Materials set forth herein.
7
+
8
+
9
+ “Documentation” means the specifications, manuals and documentation accompanying
10
+ Research Materials distributed by Meta.
11
+
12
+
13
+ “Licensee” or “you” means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering in this Agreement on their behalf.
14
+
15
+ “Meta” or “we” means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your principal place of business is in the EEA or Switzerland) and Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland).
16
+ “Noncommercial Research Uses” means noncommercial research use cases related to research, development, education, processing, or analysis and in each case, is not primarily intended for commercial advantage or monetary compensation to you or others.
17
+
18
+ “Research Materials” means, collectively, Documentation and the models, software and algorithms, including machine-learning model code, trained model weights, inference-enabling code, training-enabling code, fine-tuning enabling code, demonstration materials and other elements of the foregoing distributed by Meta and made available under this Agreement.
19
+
20
+ By clicking “I Accept” below or by using or distributing any portion or element of the Research Materials, you agree to be bound by this Agreement.
21
+
22
+
23
+ 1. License Rights and Redistribution.
24
+
25
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Meta’s intellectual property or other rights owned by Meta embodied in the Research Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the Research Materials.
26
+
27
+ b. Redistribution and Use.
28
+ i. You will not use the Research Materials or any outputs or results of the Research Materials in connection with any commercial uses or for any uses other than Noncommercial Research Uses;
29
+
30
+ ii. Distribution of Research Materials, and any derivative works thereof, are subject to the terms of this Agreement. If you distribute or make the Research Materials, or any derivative works thereof, available to a third party, you may only do so under the terms of this Agreement. You shall also provide a copy of this Agreement to such third party.
31
+
32
+ iii. If you submit for publication the results of research you perform on, using, or otherwise in connection with Research Materials, you must acknowledge the use of Research Materials in your publication.
33
+
34
+ iv. Your use of the Research Materials must comply with applicable laws and regulations (including Trade Control Laws) and adhere to the FAIR Acceptable Use Policy, which is hereby incorporated by reference into this Agreement.
35
+
36
+ 2. User Support. Your Noncommercial Research Use of the Research Materials is done at your own discretion; Meta does not process any information nor provide any service in relation to such use. Meta is under no obligation to provide any support services for the Research Materials. Any support provided is “as is”, “with all faults”, and without warranty of any kind.
37
+
38
+ 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE RESEARCH MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE RESEARCH MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE RESEARCH MATERIALS AND ANY OUTPUT AND RESULTS.
39
+
40
+ 4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY DIRECT OR INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
41
+
42
+ 5. Intellectual Property.
43
+
44
+ a. Subject to Meta’s ownership of Research Materials and derivatives made by or for Meta, with respect to any derivative works and modifications of the Research Materials that are made by you, as between you and Meta, you are and will be the owner of such derivative works and modifications.
45
+
46
+ b. If you institute litigation or other proceedings against Meta or any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Research Materials, outputs or results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Meta from and against any claim by any third party arising out of or related to your use or distribution of the Research Materials.
47
+
48
+ 6. Term and Termination. The term of this Agreement will commence upon your acceptance of this Agreement or access to the Research Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete and cease use of the Research Materials. Sections 5, 6 and 9 shall survive the termination of this Agreement.
49
+
50
+ 7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The courts of California shall have exclusive jurisdiction of any dispute arising out of this Agreement.
51
+
52
+ 8. Modifications and Amendments. Meta may modify this Agreement from time to time; provided that they are similar in spirit to the current version of the Agreement, but may differ in detail to address new problems or concerns. All such changes will be effective immediately. Your continued use of the Research Materials after any modification to this Agreement constitutes your agreement to such modification. Except as provided in this Agreement, no modification or addition to any provision of this Agreement will be binding unless it is in writing and signed by an authorized representative of both you and Meta.
53
+
54
+
55
+ FAIR Acceptable Use Policy
56
+
57
+ The Fundamental AI Research (FAIR) team at Meta seeks to further understanding of new and existing research domains with the mission of advancing the state-of-the-art in artificial intelligence through open research for the benefit of all.
58
+
59
+ As part of this mission, Meta makes certain research materials available for noncommercial research use. Meta is committed to promoting the safe and responsible use of such research materials.
60
+
61
+ Prohibited Uses
62
+
63
+ You agree you will not use, or allow others to use, Research Materials to:
64
+
65
+ 1. Violate the law or others’ rights, including to:
66
+ a. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
67
+ i. Violence or terrorism
68
+
69
+ ii. Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material
70
+
71
+ iii. Human trafficking, exploitation, and sexual violence
72
+
73
+ iv. The illegal distribution of information or materials to minors, including obscene materials, or failure to employ legally required age-gating in connection with such information or materials.
74
+
75
+ v. Sexual solicitation
76
+
77
+ vi.Any other criminal activity
78
+
79
+ b. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals
80
+
81
+ c. Engage in, promote, incite, or facilitate discrimination or other unlawful or harmful conduct in the provision of employment, employment benefits, credit, housing, other economic benefits, or other essential goods and services
82
+
83
+ d. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices
84
+
85
+ e. Collect, process, disclose, generate, or infer health, demographic, or other sensitive personal or private information about individuals without rights and consents required by applicable laws
86
+
87
+ f. Engage in or facilitate any action or generate any content that infringes, misappropriates, or otherwise violates any third-party rights, including the outputs or results of any technology using FAIR research materials
88
+
89
+ g. Create, generate, or facilitate the creation of malicious code, malware, computer viruses or do anything else that could disable, overburden, interfere with or impair the proper working, integrity, operation or appearance of a website or computer system
90
+
91
+ 2. Engage in, promote, incite, facilitate, or assist in the planning or development of activities that present a risk of death or bodily harm to individuals, including use of research artifacts related to the following:
92
+
93
+ a. Military, warfare, nuclear industries or applications, espionage, use for materials or activities that are subject to the International Traffic Arms Regulations (ITAR) maintained by the United States Department of State
94
+
95
+ b. Guns and illegal weapons (including weapon development)
96
+
97
+ c. Illegal drugs and regulated/controlled substances
98
+ d. Operation of critical infrastructure, transportation technologies, or heavy machinery
99
+
100
+ e. Self-harm or harm to others, including suicide, cutting, and eating disorders
101
+ f. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual
102
+
103
+ 3. Intentionally deceive or mislead others, including use of FAIR Research Materials related to the following:
104
+
105
+ a. Generating, promoting, or furthering fraud or the creation or promotion of disinformation
106
+ b. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content
107
+
108
+ c. Generating, promoting, or further distributing spam
109
+
110
+ d. Impersonating another individual without consent, authorization, or legal right
111
+
112
+ e. Representing that outputs of FAIR research materials or outputs from technology using FAIR research materials are human-generated
113
+
114
+ f. Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement
115
+
116
+ 4. Fail to appropriately disclose to end users any known dangers of your Research Materials.
117
+
118
+ Please report any violation of this Policy or other problems that could lead to a violation of this Policy by submitting a report here [https://docs.google.com/forms/d/e/1FAIpQLSeb11cryAopJ7LNrC4nxEUXrHY26hfkXQMf_uH-oFgA3WlYZQ/viewform].
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: fair-noncommercial-research-license-v1
4
+ license_link: https://huggingface.co/RoboTokAnonymous/data_and_models/blob/main/LICENSE-Action100M
5
+ library_name: pytorch
6
+ tags:
7
+ - robotics
8
+ - video-retrieval
9
+ - hand-pose
10
+ - trajectory
11
+ - dynamic-time-warping
12
+ - computer-vision
13
+ - action100m
14
+ ---
15
+
16
+ # RoboTok — A Scalable Data Engine for Internet Demonstration Video Retrieval and Dexterous Manipulation Learning
17
+
18
+ 🌐 **Project website:** [robotokanonymous.github.io](https://robotokanonymous.github.io/)
19
+
20
+ ![RoboTok hand-motion embedding space](hero.jpg)
21
+
22
+ Released checkpoints and evaluation keypoints for **RoboTok**, a model that
23
+ retrieves web video clips by 3D hand-motion similarity. Similarity is defined by
24
+ DTW over torso-relative 3D hand keypoints; the encoder is trained to reproduce
25
+ that DTW ranking in a fast embedding space.
26
+
27
+ Training and evaluation code is in the accompanying source release.
28
+
29
+ ## Files
30
+
31
+ | File | Size | Description |
32
+ | --- | --- | --- |
33
+ | `models/best_abs_retrieval_model.pt` | 3.8 MB | Retrieval encoder. Cross-attention head over `[T, 126]` hand-trajectory features (21 joints x 3 coords x 2 hands, `T_max = 42`): 1 learned query token, 256-d input projection, 1 cross-attention layer (4 heads, sinusoidal PE), 2-layer MLP to a 256-d embedding. DTW design `abs_21j_coords`. |
34
+ | `models/best_abs_retrieval_model.yaml` | 2 KB | Minimal config to reload the encoder for inference. |
35
+ | `models/body_pose_est.pt` | 9.9 MB | Vector-neuron torso/body-frame estimator: 4-layer rotation-equivariant transformer mapping two-hand trajectories to a torso frame, with separate rotation and translation heads. |
36
+ | `eval_data/torso_relative_clip_keypoints.pt` | 6.5 GB | Torso-relative 3D hand keypoints per clip. Each entry has `video_number`, `node_number`, `node_uid`, `keypoints_per_frame` (`kpts_2d`, `kpts_3d`), and `infilled` / `depth_grounded` flags. |
37
+
38
+ ## Loading
39
+
40
+ ```python
41
+ import torch
42
+
43
+ ckpt = torch.load("models/best_abs_retrieval_model.pt", map_location="cpu", weights_only=True)
44
+ ckpt["head_state_dict"] # encoder weights
45
+ ckpt["config"] # full training configuration
46
+
47
+ vn = torch.load("models/body_pose_est.pt", map_location="cpu", weights_only=True)
48
+ vn["model"] # torso estimator weights
49
+ ```
50
+
51
+ ## Citation
52
+
53
+ ```bibtex
54
+ @article{anonymous2026robotok,
55
+ title = {RoboTok: A Scalable Data Engine for Internet
56
+ Demonstration Video Retrieval and Dexterous Manipulation
57
+ Learning},
58
+ author = {Anonymous},
59
+ note = {Under review},
60
+ year = {2026}
61
+ }
62
+ ```
63
+
64
+ ## License
65
+
66
+ **FAIR Noncommercial Research License v1** (see
67
+ [LICENSE-Action100M](LICENSE-Action100M)). Noncommercial research only.
68
+
69
+ The released checkpoints (`models/*.pt`) and evaluation keypoints
70
+ (`eval_data/torso_relative_clip_keypoints.pt`) are derivative works of
71
+ Action100M (Meta FAIR) clips and are governed by that license. It covers
72
+ trained model weights as "Research Materials", and restricts both those
73
+ materials and any outputs or results obtained from them to noncommercial
74
+ research use. If you publish results obtained using these materials, the
75
+ license requires you to acknowledge that use.
76
+
77
+ MIT ([LICENSE](LICENSE)) covers only `models/best_abs_retrieval_model.yaml`
78
+ and the accompanying source release.
79
+
80
+ The MANO / SMPL-H body models required by parts of the pipeline are **not**
81
+ included and remain under their own MPI-IS license terms — register at
82
+ https://mano.is.tue.mpg.de to obtain them.
eval_data/torso_relative_clip_keypoints.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f64fb2641c5ca7cc75eedf1c6c3db01b32d96cb5eebb67f3908aa7d48dcf63c
3
+ size 6492815625
hero.jpg ADDED

Git LFS Details

  • SHA256: 2ad4a6948276344a600445a57ac8f876a7f2ec66bc9ede45ca247b2172cf81f8
  • Pointer size: 131 Bytes
  • Size of remote file: 887 kB
models/best_abs_retrieval_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:325b3060d4a60e900ffb2f882bd890b85c9f3579c31689911a85b497ac85f692
3
+ size 3826195
models/best_abs_retrieval_model.yaml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Minimal config for computing embeddings with this checkpoint
2
+ # (see retrieval_training/post_training/get_embeddings.py).
3
+ # Only the fields the builder reads for THIS checkpoint (trajectory-mode,
4
+ # cross-attention head) are kept; everything else falls back to Config defaults
5
+ # and does not affect the exported embeddings. Verified against best_model.pt's
6
+ # head_state_dict (query[1,256], input_projection[256,126], 1 cross-attn layer,
7
+ # 2-layer mlp -> retrieval_dim 256).
8
+
9
+ # --- correctness (must match the checkpoint / GT) ---
10
+ dtw_design: abs_21j_coords # validated against the GT design
11
+ input_mode: trajectory # dataclass default is "jepa" -> must set (silent if wrong)
12
+ retrieval_dim: 256 # model output dim
13
+ dtw_nn_layer: False # selects the cross-attention head (not DTW-NN)
14
+
15
+ # --- cross-attention head architecture (must match the checkpoint) ---
16
+ trajectory_model_dim: 256 # attention_dim in trajectory mode
17
+ num_cross_attn_heads: 4 # no param-shape effect -> silent if wrong
18
+ num_cross_attn_layers: 1
19
+ num_projection_layers: 2
20
+ num_queries: 1
21
+ use_trajectory_positional_encoding: True # sinusoidal PE, no params -> silent if wrong
22
+
23
+ # --- data ---
24
+ # Only used to BUILD trajectories_abs_21j_coords.pt if it isn't already present
25
+ # (in trajectory mode no per-clip jepa features are read). If you pass
26
+ # --trajectories <artifact.pt> to the builder, this path is never touched.
27
+ # Relative to the repository root; set it to a valid local training_data, or
28
+ # supply the trajectories artifact directly.
29
+ data_dir: outputs/training_data
models/body_pose_est.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3392cc8930fed045d891f761a4e01c509c26f89512f817b5a7a589d9e36bbb4b
3
+ size 9906434