HubCloneHubClone
jonasAdd model cardef12051
History2.37 kB
1# token-counter
2
3**token-counter** is a token classification model. It was released by **ada** with 110M parameters.
4
5## Model details
6
7### Model description
8
9- **Developed by:** ada
10- **Model type:** llama (Token Classification)
11- **Parameters:** 110M
12- **Language(s):** English (primary), multilingual
13- **License:** apache-2.0
14
15### Model sources
16
17- **Repository:** `ada/token-counter`
18- **Report:** coming soon
19
20## Uses
21
22### Direct use
23
24token-counter can be used out of the box for token classification. Typical uses include prototyping, research on generative media, and building applications on top of the released weights.
25
26### Out-of-scope use
27
28The model should not be used to generate content that violates the license, to impersonate real people, or for high-stakes decisions without human review.
29
30## How to use
31
32```python
33from transformers import AutoModelForCausalLM, AutoTokenizer
34
35model_id = "ada/token-counter"
36tokenizer = AutoTokenizer.from_pretrained(model_id)
37model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
38
39messages = [{"role": "user", "content": "Give me a short introduction to large language models."}]
40inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
41outputs = model.generate(inputs, max_new_tokens=512)
42print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
43```
44
45## Training data
46
47The model was trained on a mixture of 9T tokens of licensed, publicly available and synthetic data, followed by supervised fine-tuning and preference optimization. Data was filtered for quality, deduplicated and decontaminated against the evaluation sets listed below.
48
49## Evaluation
50
51| Benchmark | token-counter | Previous release |
52| --- | --- | --- |
53| MMLU-Pro | **83.1** | 76.9 |
54| GPQA Diamond | **79.3** | 76.5 |
55| LiveCodeBench v7 | **58.4** | 51.9 |
56| AIME 2026 | **51.4** | 42.5 |
57| IFEval | **77.5** | 76.3 |
58
59Scores are self-reported by the authors with greedy decoding unless stated otherwise.
60
61## Limitations and bias
62
63Like other models of its class, token-counter can produce inaccurate or biased outputs. Evaluate it on your own use case before deploying it.
64
65## Citation
66
67```bibtex
68@misc{ada2026tokencounter,
69 title = {token-counter},
70 author = {ada Team},
71 year = {2026},
72 note = {Model card}
73}
74```