Downloads · 30 days
30
7% of all-time downloads
toksuite/meta-llama-Llama-3.2-7B
meta-llama-Llama-3.2-7B is a text generation model from toksuite. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
<p align="left" <img src="./toksuite-logo.png" alt="TokSuite Logo" width="260"/ </p
Downloads · 30 days
30
7% of all-time downloads
All-time downloads
449
Public
Parameters
7.5B
22.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.1 GB · 100%
From the Hugging Face model README
TokSuite–Llama-3.2-7B is part of TokSuite, a suite of language models designed to study the impact of tokenizer choice on language model behavior under controlled conditions.
This model uses the Llama-3.2 tokenizer and is otherwise identical to the other TokSuite-Llama models (toksuite/meta-llama-Llama-3.2-1B and toksuite/meta-llama-Llama-3.2-300M) training data, training budget, embedding parameters, data order and only differ in architecture (non-embedding parameters).
Processing details:
Llama-3.2 was included in TokSuite to represent a multilingual BPE tokenizer with modern GPT-4–style pretokenization and a medium-to-large vocabulary size. As described in the tokenizer selection rationale of the TokSuite paper, Llama-3.2 exemplifies a contemporary tokenizer design that combines subword segmentation with preprocessing conventions used in recent large language models.
Including Llama-3.2 enables TokSuite to study tokenizer behavior in settings where:
This makes Llama-3.2 a representative example of modern multilingual BPE tokenization.
The architecture and training setup are identical across all TokSuite models; only the tokenizer differs.
The model was trained on a multilingual corpus totaling approximately 100B tokens, composed of:
You can find the pretraining dataset here: toksuite/toksuite_pretraining_data
All TokSuite models are trained using a fixed token budget, following common practice in large-scale language model training.
TokSuite–Llama-3.2 variants are evaluated on the TokSuite robustness benchmark, which measures sensitivity to real-world text perturbations, including:
Tokenization Robustness under Multilingual Text Perturbations
Values represent relative performance drop, computed as (Acc_clean − Acc_perturbed) / Acc_clean, where lower values indicate greater robustness.
Perturbation types include:
NEN denotes non-English inputs and EN denotes English inputs. The Avg column reports the average relative performance drop across all perturbation categories.
| Model | Input (NEN) | Diacr. (NEN) | Orth. & Gram. (EN) | Orth. & Gram. (NEN) | Morph (EN) | Morph (NEN) | Noise (EN) | Noise (NEN) | LaTeX (EN) | STEM (EN) | Unic. (EN) | Avg ↓ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| toksuite/meta-llama-Llama-3.2-7B | 0.27 | 0.49 | 0.05 | 0.10 | 0.24 | 0.04 | 0.07 | 0.18 | 0.16 | 0.26 | 0.65 | 0.23 |
| toksuite/meta-llama-Llama-3.2-1B | 0.31 | 0.56 | 0.11 | 0.11 | 0.25 | 0.10 | 0.09 | 0.26 | 0.13 | 0.29 | 0.60 | 0.26 |
| toksuite/meta-llama-Llama-3.2-300M | 0.31 | 0.48 | 0.13 | 0.16 | 0.27 | 0.16 | 0.17 | 0.28 | 0.26 | 0.24 | 0.56 | 0.27 |
| Avg | 0.30 | 0.51 | 0.10 | 0.12 | 0.25 | 0.10 | 0.11 | 0.24 | 0.18 | 0.26 | 0.61 | 0.25 |
This model is intended for:
It is not instruction-tuned, aligned, or optimized for deployment.
TokSuite models are released to support scientific investigation of tokenization effects.
They may reflect biases present in large-scale web data and should not be used in high-stakes or user-facing applications without additional safeguards.
If you use this model, please cite:
@article{toksuite2025,
title={TokSuite: Measuring the Impact of Tokenizer Choice on Language Model Behavior},
author={Alt{\i}nta\c{s}, G\"ul Sena and Ehghaghi, Malikeh and Lester, Brian and Liu, Fengyuan and Zhao, Wanru and Ciccone, Marco and Raffel, Colin},
year={2025},
arxiv={https://arxiv.org/abs/2512.20757},
}