EADST

Check the Index and Token from Tiktoken

Check the Index and Token from Tiktoken

import base64
path = "/home/your_dict_path.tiktoken"
f = open(path, "rb").read()
index = 0
for line in f.splitlines():
    l = line.split()
    print("index: ", l[1])
    print("encode: ", l[0])
    print("decode: ", base64.b64decode(l[0]))
    index += 1
    if index > 20:
        break

Reference Code

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
第一性原理 PDB Plotly 域名 v2ray CAM Ptyhon DeepSeek BTC SAM Video LeetCode News GoogLeNet Zip Streamlit PyTorch Paper CEIR CLAP 多线程 Conda diffusers Color C++ HaggingFace 证件照 Clash MD5 TensorFlow ModelScope Markdown Review Miniforge v0.dev 多进程 Git LLAMA Paddle Shortcut Bipartite Translation BeautifulSoup scipy Augmentation Input Qwen2.5 logger 财报 Python RL Knowledge Jupyter Baidu Anaconda Pillow Agent Datetime FP8 Algorithm Magnet RAR Pickle hf 腾讯云 Numpy PyCharm Tensor NameSilo Quantize Crawler transformers NLTK VGG-16 Safetensors ONNX UNIX Nginx CV GPT4 Hotel FastAPI Disk Qwen2 Quantization OpenAI Mixtral Excel Distillation Food tar TSV 签证 Michelin SQLite Pytorch GIT Pandas Docker AI Tracking VSCode 搞笑 Password printf 图标 Tiktoken COCO SQL WAN Cloudreve Jetson Plate Logo 论文 Permission WebCrawler Transformers Qwen Heatmap 版权 Linux Windows torchinfo UI QWEN Use Proxy Vmess uWSGI Django Base64 FP16 Google mmap 云服务器 Ubuntu Sklearn Rebuttal CC EXCEL CTC SVR 音频 OpenCV BF16 YOLO 递归学习法 Math Web Firewall git llama.cpp Interview 强化学习 CSV tqdm FlashAttention GGML Statistics 顶会 Vim JSON uwsgi 公式 Land FP32 PDF 报税 图形思考法 XGBoost icon ms-swift Image2Text IndexTTS2 Website Random Attention Claude 净利润 算法题 DeepStream 阿里云 Hilton Domain CUDA Hungarian 论文速读 LaTeX Llama git-lfs Search Breakpoint Dataset Github Gemma GPTQ PIP Template 关于博主 Card FP64 Data InvalidArgumentError XML Freesound OCR NLP SPIE 继承 Animate RGB VPN 飞书 Bitcoin Bert Bin TensorRT TTS ChatGPT ResNet-50 Diagram HuggingFace API LLM LoRA
站点统计

本站现有博文333篇,共被浏览918642

本站已经建立2624天!

热门文章
文章归档
回到顶部