QRWKV in, QWERKY out (#3)
Browse files- QRWKV in, QWERKY out (63fe26113fb10b2163248be8e56eea0414ae790b)
README.md
CHANGED
@@ -7,12 +7,12 @@ pipeline_tag: text-generation
|
|
7 |
|
8 |

|
9 |
|
10 |
-
- Try out the model on [](https://substack.recursal.ai/p/qwerky-72b-and-32b-training-large)
|
12 |
|
13 |
-
Benchmarks is as follows for both
|
14 |
|
15 |
-
| Tasks | Metric |
|
16 |
|:---:|:---:|:---:|:---:|:---:|:---:|
|
17 |
| arc_challenge | acc_norm | **0.5640** | 0.5563 | **0.6382** | 0.6323 |
|
18 |
| arc_easy | acc_norm | 0.7837 | **0.7866** | **0.8443** | 0.8329 |
|
@@ -36,7 +36,7 @@ Since this model is not on transformers at the moment you will have to enable re
|
|
36 |
```py
|
37 |
# ...
|
38 |
|
39 |
-
model = AutoModelForCausalLM.from_pretrained("featherless-ai/
|
40 |
|
41 |
# ...
|
42 |
```
|
@@ -46,7 +46,7 @@ Other than enabling remote code, you may run the model like a regular model with
|
|
46 |
```py
|
47 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
48 |
|
49 |
-
model_name = "featherless-ai/
|
50 |
|
51 |
model = AutoModelForCausalLM.from_pretrained(
|
52 |
model_name,
|
@@ -82,7 +82,7 @@ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
|
82 |
|
83 |
Linear models offer a promising approach to significantly reduce computational costs at scale, particularly for large context lengths. Enabling a >1000x improvement in inference costs, enabling o1 inference time thinking and wider AI accessibility.
|
84 |
|
85 |
-
As demonstrated with our
|
86 |
|
87 |
As with our previous models, the model's inherent knowledge and dataset training are inherited from its "parent" model. Consequently, unlike previous RWKV models trained on over 100+ languages, the QRWKV model is limited to approximately 30 languages supported by the Qwen line of models.
|
88 |
|
|
|
7 |
|
8 |

|
9 |
|
10 |
+
- Try out the model on [](https://featherless.ai/models/featherless-ai/QRWKV-QwQ-32B)
|
11 |
- Model details from our blog post here! [](https://substack.recursal.ai/p/qwerky-72b-and-32b-training-large)
|
12 |
|
13 |
+
Benchmarks is as follows for both QRWKV-QwQ-32B and QRWKV-72B models:
|
14 |
|
15 |
+
| Tasks | Metric | QRWKV-QwQ-32B | Qwen/QwQ-32B | QRWKV-72B | Qwen2.5-72B-Instruct |
|
16 |
|:---:|:---:|:---:|:---:|:---:|:---:|
|
17 |
| arc_challenge | acc_norm | **0.5640** | 0.5563 | **0.6382** | 0.6323 |
|
18 |
| arc_easy | acc_norm | 0.7837 | **0.7866** | **0.8443** | 0.8329 |
|
|
|
36 |
```py
|
37 |
# ...
|
38 |
|
39 |
+
model = AutoModelForCausalLM.from_pretrained("featherless-ai/QRWKV-QwQ-32B", trust_remote_code=True)
|
40 |
|
41 |
# ...
|
42 |
```
|
|
|
46 |
```py
|
47 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
48 |
|
49 |
+
model_name = "featherless-ai/QRWKV-72B"
|
50 |
|
51 |
model = AutoModelForCausalLM.from_pretrained(
|
52 |
model_name,
|
|
|
82 |
|
83 |
Linear models offer a promising approach to significantly reduce computational costs at scale, particularly for large context lengths. Enabling a >1000x improvement in inference costs, enabling o1 inference time thinking and wider AI accessibility.
|
84 |
|
85 |
+
As demonstrated with our QRWKV-72B-Preview and prior models such as QRWKV6-32B Instruct Preview, we have successfully converted Qwen 2.5 QwQ 32B into a RWKV variant without requiring a pretrain on the base model or retraining the model from scratch. Enabling us to test and validate the more efficient RWKV Linear attention with a much smaller budget. Since our preview, we have continued to refine our technique and managed to improve the model over the preview model iteration.
|
86 |
|
87 |
As with our previous models, the model's inherent knowledge and dataset training are inherited from its "parent" model. Consequently, unlike previous RWKV models trained on over 100+ languages, the QRWKV model is limited to approximately 30 languages supported by the Qwen line of models.
|
88 |
|