Improve language tag
#5
by
lbourdois
- opened
README.md
CHANGED
|
@@ -1,104 +1,118 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: transformers
|
| 3 |
-
license: apache-2.0
|
| 4 |
-
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 5 |
-
tags:
|
| 6 |
-
- llama-factory
|
| 7 |
-
- full
|
| 8 |
-
- generated_from_trainer
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
|
| 46 |
-
|
|
| 47 |
-
|
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
-
|
| 79 |
-
-
|
| 80 |
-
-
|
| 81 |
-
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- full
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
datasets:
|
| 10 |
+
- open-thoughts/open-thoughts-114k
|
| 11 |
+
language:
|
| 12 |
+
- zho
|
| 13 |
+
- eng
|
| 14 |
+
- fra
|
| 15 |
+
- spa
|
| 16 |
+
- por
|
| 17 |
+
- deu
|
| 18 |
+
- ita
|
| 19 |
+
- rus
|
| 20 |
+
- jpn
|
| 21 |
+
- kor
|
| 22 |
+
- vie
|
| 23 |
+
- tha
|
| 24 |
+
- ara
|
| 25 |
+
model-index:
|
| 26 |
+
- name: OpenThinker-7B
|
| 27 |
+
results: []
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
<p align="center">
|
| 31 |
+
<img src="https://huggingface.co/datasets/open-thoughts/open-thoughts-114k/resolve/main/open_thoughts.png" width="50%">
|
| 32 |
+
</p>
|
| 33 |
+
|
| 34 |
+
# OpenThinker-7B
|
| 35 |
+
|
| 36 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) on the
|
| 37 |
+
[OpenThoughts-114k dataset](https://huggingface.co/datasets/open-thoughts/OpenThoughts-114k) dataset.
|
| 38 |
+
|
| 39 |
+
The dataset is derived by distilling DeepSeek-R1 using the [data pipeline available on github](https://github.com/open-thoughts/open-thoughts).
|
| 40 |
+
More info about the dataset can be found on the dataset card at [OpenThoughts-114k dataset](https://huggingface.co/datasets/open-thoughts/open-thoughts-114k).
|
| 41 |
+
|
| 42 |
+
This model improves upon the [Bespoke-Stratos-7B model](https://huggingface.co/bespokelabs/Bespoke-Stratos-7B), which used 17k examples ([Bespoke-Stratos-17k dataset](https://huggingface.co/datasets/bespokelabs/Bespoke-Stratos-17k)).
|
| 43 |
+
The numbers reported in the table below are evaluated with our open-source tool [Evalchemy](https://github.com/mlfoundations/Evalchemy).
|
| 44 |
+
|
| 45 |
+
| | AIME24 | MATH500 | GPQA-Diamond | LCBv2 Easy | LCBv2 Medium | LCBv2 Hard | LCBv2 All |
|
| 46 |
+
| --------------------------- | -------- | ------- | ------------ | ----------- | ------------- | ----------- | ---------- |
|
| 47 |
+
| OpenThinker-7B | 31.3 | 83.0 | 42.4 | 75.3 | 28.6 | 6.5 | 39.9 |
|
| 48 |
+
| Bespoke-Stratos-7B | 22.7 | 79.6 | 38.9 | 71.4 | 25.2 | 0.8 | 35.8 |
|
| 49 |
+
| DeepSeek-R1-Distill-Qwen-7B | 60 | 88.2 | 46.9 | 79.7 | 45.1 | 14.6 | 50.1 |
|
| 50 |
+
| gpt-4o-0513 | 8.7 | 75.8 | 46.5 | 87.4 | 42.7 | 8.9 | 50.5 |
|
| 51 |
+
| o1-mini | 64 | 85.6 | 60 | 92.8 | 74.7 | 39.8 | 72.8 |
|
| 52 |
+
|
| 53 |
+
We are fully open-source. Our [model weights](https://huggingface.co/open-thoughts), [datasets](https://huggingface.co/open-thoughts), [data generation code](https://github.com/open-thoughts/open-thoughts), [evaluation code](https://github.com/mlfoundations/Evalchemy), and [training code](https://github.com/hiyouga/LLaMA-Factory) are all publicly available.
|
| 54 |
+
|
| 55 |
+
| | Open Weights | Open Data | Open Code |
|
| 56 |
+
|--|--------------|-----------| --------- |
|
| 57 |
+
|OpenThinker-7B|β
|[β
](https://huggingface.co/datasets/open-thoughts/OpenThoughts-114k)|[β
](https://github.com/open-thoughts/open-thoughts) |
|
| 58 |
+
|Bespoke-Stratos-7B|β
|[β
](https://huggingface.co/datasets/bespokelabs/Bespoke-Stratos-17k)|[β
](https://github.com/bespokelabsai/curator/tree/main/examples/bespoke-stratos-data-generation)|
|
| 59 |
+
|DeepSeek-R1-Distill-Qwen-7B|β
|β|β|
|
| 60 |
+
|gpt-4o-0513|β|β|β|β|
|
| 61 |
+
|o1-mini|β|β|β|β|
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
## Intended uses & limitations
|
| 65 |
+
|
| 66 |
+
Apache 2.0 License
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
## Training procedure
|
| 70 |
+
|
| 71 |
+
We used four 8xH100 nodes to train the model for 20 hours.
|
| 72 |
+
|
| 73 |
+
### Training hyperparameters
|
| 74 |
+
|
| 75 |
+
The following hyperparameters were used during training:
|
| 76 |
+
- learning_rate: 1e-05
|
| 77 |
+
- train_batch_size: 1
|
| 78 |
+
- eval_batch_size: 8
|
| 79 |
+
- seed: 42
|
| 80 |
+
- distributed_type: multi-GPU
|
| 81 |
+
- num_devices: 32
|
| 82 |
+
- gradient_accumulation_steps: 3
|
| 83 |
+
- total_train_batch_size: 96
|
| 84 |
+
- total_eval_batch_size: 256
|
| 85 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 86 |
+
- lr_scheduler_type: cosine
|
| 87 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 88 |
+
- num_epochs: 3.0
|
| 89 |
+
|
| 90 |
+
### Framework versions
|
| 91 |
+
|
| 92 |
+
- Transformers 4.46.1
|
| 93 |
+
- Pytorch 2.3.0
|
| 94 |
+
- Datasets 3.1.0
|
| 95 |
+
- Tokenizers 0.20.3
|
| 96 |
+
|
| 97 |
+
More info can be found in our repository: [https://github.com/open-thoughts/open-thoughts](https://github.com/open-thoughts/open-thoughts).
|
| 98 |
+
|
| 99 |
+
# Citation
|
| 100 |
+
```
|
| 101 |
+
@misc{openthoughts,
|
| 102 |
+
author = {Team, OpenThoughts},
|
| 103 |
+
month = jan,
|
| 104 |
+
title = {{Open Thoughts}},
|
| 105 |
+
howpublished = {https://open-thoughts.ai},
|
| 106 |
+
year = {2025}
|
| 107 |
+
}
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
# Links
|
| 111 |
+
- π [Open Thoughts Launch Blog Post](https://www.open-thoughts.ai/blog/launch)
|
| 112 |
+
- π» [Open Thoughts GitHub Repository](https://github.com/open-thoughts/open-thoughts)
|
| 113 |
+
- π§ [OpenThoughts-114k dataset](https://huggingface.co/datasets/open-thoughts/OpenThoughts-114k)
|
| 114 |
+
- π€ [OpenThinker-7B model](https://huggingface.co/open-thoughts/OpenThinker-7B) - this model.
|
| 115 |
+
- π [Bespoke-Stratos Blog Post](https://www.bespokelabs.ai/blog/bespoke-stratos-the-unreasonable-effectiveness-of-reasoning-distillation)
|
| 116 |
+
- π§ [Bespoke-Stratos-17k dataset](https://huggingface.co/datasets/bespokelabs/Bespoke-Stratos-17k)
|
| 117 |
+
- π€ [Bespoke-Stratos-32B model](https://huggingface.co/bespokelabs/Bespoke-Stratos-32B)
|
| 118 |
+
- π€ [Bespoke-Stratos-7B model](https://huggingface.co/bespokelabs/Bespoke-Stratos-7B)
|