Downloads · 30 days
2.3K
42% of all-time downloads
lc2004/kronos_tokenizer_base_BTCUSDT_1h_finetune
kronos_tokenizer_base_BTCUSDT_1h_finetune is a machine learning model from lc2004. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a specialized tokenizer designed for time-series cryptocurrency data encoding, specifically fine-tuned for BTCUSDT (Bitcoin/USDT) 1-hour candlestick data. It converts numerical trading data (OHLCV - Open, High…
Downloads · 30 days
2.3K
42% of all-time downloads
All-time downloads
5.4K
Public
Parameters
4M
16.2 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.8 MB · 97%
How the weights are stored.
F324M · 100%
From the Hugging Face model README
This is a specialized tokenizer designed for time-series cryptocurrency data encoding, specifically fine-tuned for BTCUSDT (Bitcoin/USDT) 1-hour candlestick data. It converts numerical trading data (OHLCV - Open, High, Low, Close, Volume) into token representations suitable for transformer-based models.
This tokenizer is used to preprocess historical BTCUSDT 1-hour trading data before feeding it into the fine-tuned prediction model. It handles:
pip install transformers torch
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("your-huggingface-username/BTCUSDT-1h-tokenizer")
# Example: Tokenize BTCUSDT candlestick data
candlestick_data = "BTCUSDT 1h: Open=45230.5, High=45600.2, Low=45100.3, Close=45450.8, Volume=2345.67"
tokens = tokenizer.encode(candlestick_data, return_tensors="pt")
print(tokens)
# Decode tokens back to readable format
decoded = tokenizer.decode(tokens[0])
print(decoded)
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("your-huggingface-username/BTCUSDT-1h-tokenizer")
model = AutoModelForCausalLM.from_pretrained("your-huggingface-username/BTCUSDT-1h-finetuned")
# Prepare data
historical_data = "OHLCV data here..."
tokens = tokenizer.encode(historical_data, return_tensors="pt")
# Get predictions
outputs = model.generate(tokens, max_length=50)
predictions = tokenizer.decode(outputs[0])
⚠️ Important:
This tokenizer is released under the MIT License.
If you use this tokenizer, please cite:
@misc{btcusdt_tokenizer_2025,
title={BTCUSDT 1-Hour Tokenizer},
author={Your Name},
year={2025},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/your-username/BTCUSDT-1h-tokenizer}}
}
For questions:
Last Updated: October 20, 2025