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

本站现有博文339篇,共被浏览1000918次

本站已经建立2711天!

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