Small fix with corrected logging of train vectors
{'login': 'TezRomacH', 'id': 7549587, 'node_id': 'MDQ6VXNlcjc1NDk1ODc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7549587?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/TezRomacH', 'html_url': 'https://github.com/TezRomacH', 'followers_url': 'https://api.github.com/users/TezRomacH/followers', 'following_url': 'https://api.github.com/users/TezRomacH/following{/other_user}', 'gists_url': 'https://api.github.com/users/TezRomacH/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/TezRomacH/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/TezRomacH/subscriptions', 'organizations_url': 'https://api.github.com/users/TezRomacH/orgs', 'repos_url': 'https://api.github.com/users/TezRomacH/repos', 'events_url': 'https://api.github.com/users/TezRomacH/events{/privacy}', 'received_events_url': 'https://api.github.com/users/TezRomacH/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Now you can set `train_size` to the whole dataset size via `train_size = -1` and login writes not `Training the index with the first -1 vectors` but (for example) `Training the index with the first 16123 vectors`. And maybe more than dataset length. Logging will be correct
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1791/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/1791', 'html_url': 'https://github.com/huggingface/datasets/pull/1791', 'diff_url': 'https://github.com/huggingface/datasets/pull/1791.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/1791.patch', 'merged_at': '2021-01-29T17:05:07Z'}