/ Модель

Характеристики

Контекст
262 144 токена
Параметры
1,7 млрд
Лицензия
CC BY-NC-SA 4.0
Архитектура
qwen3_5_text · dense
Базовая модель
Qwen3.5-2B
Библиотека
transformers
Опубликована
17 окт 2026

qwen3.5-2b-physics

Генерация текстаТекст → текст3 профессии

Адаптер Qwen3.5-2B для краткого пошагового решения задач по физике университетского уровня на английском языке.

84скачиваний за 30 дней1лайквеса обновлены20 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Qwen3.5-2B Physics — англоязычный адаптер для Qwen3.5-2B, созданный Eswaroy для решения задач по физике университетского уровня. Модель дообучена на 29 500 пошаговых решениях, собранных преимущественно из MegaScience и обучающей части PhysicsEval. Это плотная причинная языковая модель семейства Qwen3.5 с 1,7 млрд параметров; адаптер подключается к базовой модели через PEFT и может быть объединён с её весами. В метаданных указаны контекст до 262 144 токенов и лицензия CC BY-NC-SA 4.0.

Модель предназначена для ответов на англоязычные задачи по физике с кратким пошаговым рассуждением и итоговым ответом. В тесте на 1 142 отложенных задачах UGPhysics она набрала 18,9% точности; ответы в среднем были короче, чем у базовой модели. Однако около четырёх из пяти задач она решает неверно, а на сложной математике показывает результат ниже базовой модели. Рекомендуются формат non-thinking и жадное декодирование; ответы требуют проверки. По заявлению автора, модель рассчитана только на английский язык.

Сценарии применения

  • получение решения задачи по университетской физике с краткими шагами
  • проверка ответа на задачу по физике
  • генерация итогового ответа с формулами для учебного вопроса по физике

Ограничения

На тесте UGPhysics модель правильно решила 18,9% задач, поэтому ответы нужно проверять. На сложных задачах MATH-500 она уступила базовой Qwen3.5-2B; автор заявляет поддержку только английского языка.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen3.5-2B Physics (non-thinking)

A physics fine-tune of Qwen3.5-2B, trained on a free Google Colab T4. It solves undergraduate physics problems with short step-by-step reasoning and a boxed final answer.

On 1,142 held-out UGPhysics questions it scores 18.9%, the best of the five open 1.5–2B models tested in the same harness: ahead of base Qwen3.5-2B (15.9%), MegaScience's Qwen3-1.7B (12.6%), DeepSeek-R1-Distill-Qwen-1.5B (9.8%) and OpenReasoning-Nemotron-1.5B (5.0%), each by a statistically significant margin. Its answers are 2.7× shorter than the base model's. It is weaker at hard competition maths (see Limitations).

Bar charts. UGPhysics held-out test: this model 18.9%, Qwen3.5-2B 15.9%, MegaScience Qwen3-1.7B 12.6%, DeepSeek-R1-Distill-Qwen-1.5B 9.8%, OpenReasoning-Nemotron-1.5B 5.0%. MATH-500: 63.5%, 73.0%, 63.0%, 78.2%, 54.7%.

Code, every generated answer and the full reports: GitHub.

Results

All numbers come from one harness: UGPhysics (English) with its official prompt and rule-based judge, greedy decoding, at most 4,096 new tokens, float16 on a Tesla T4. UGPhysics accuracy is weighted by subject size. Only the rule judge is used, not the official two-stage protocol with an LLM judge (MARJ), so these numbers are not directly comparable with the UGPhysics leaderboard.

Final test: questions never used for any decision

UGPhysics English, the questions ranked 100 to 199 in each subject: 12 subjects, 1,142 questions (GeometricalOptics has none left).

modelaccuracy [95% CI]mean answer lengthhit the 4,096-token limit
Qwen3.5-2B, non-thinking15.9% [13.6, 18.5]2,720 tokens48.9%
this model18.9% [16.3, 21.7]1,006 tokens6.9%

Paired difference: +3.0 points [+0.3, +5.7] (paired bootstrap 95% interval). This model is right on 102 questions the base model gets wrong and wrong on 75 that the base model gets right (exact McNemar p = 0.050).

Comparison with other small open models

The same 1,142 held-out questions and 210 MATH-500 problems, the same prompts and the same rule judge for every model. Each model used its developer's recommended decoding; the two reasoning models were sampled (temperature 0.6, top-p 0.95) and got 8,192 new tokens, twice this model's budget.

#modeldecodingUGPhysics held-out [95% CI]this model ahead by [95% CI]wins / lossesMATH-500
1this modelgreedy, 4,096 tokens18.9% [16.3, 21.7]––63.5%
2Qwen/Qwen3.5-2B, non-thinkinggreedy, 4,096 tokens15.9% [13.6, 18.5]+3.0 [+0.3, +5.7]102 / 7573.0%
3MegaScience/Qwen3-1.7B-MegaSciencegreedy, 4,096 tokens12.6% [10.5, 15.0]+6.3 [+3.7, +8.9]118 / 4663.0%
4deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5Bsampled, 8,192 tokens9.8% [7.8, 11.9]+9.1 [+6.4, +11.8]143 / 3978.2%
5nvidia/OpenReasoning-Nemotron-1.5Bsampled, 8,192 tokens5.0% [3.5, 6.5]+13.9 [+11.3, +16.6]174 / 1954.7%

"Wins / losses": questions only this model got right vs questions only the other model got right (exact McNemar p = 0.050 against the base model and p < 0.001 against the other three). Against the three outside models, this model is ahead in 10 of 12 physics subjects and level in one.

The reasoning models think at great length on undergraduate physics: even with 8,192 tokens, R1-Distill never reached a final answer on 50% of the questions and Nemotron on 83%, while this model used 1,006 tokens on average and finished 92% of its answers. They may score higher with much longer budgets, which was not tested. On MATH-500 the order changes: R1-Distill leads, and this model is level with MegaScience's model. Qwen3-1.7B (thinking mode) was planned but not finished, so no claim is made about it. The results of this model and the base model come from transformers, the others from vLLM, with identical prompts and grading.

Development questions (used to choose the checkpoint and the adapter strength)

UGPhysics English, the questions ranked 0 to 99 in each subject.

modelquestionsaccuracy
LiquidAI/LFM2.5-1.2B-Thinking1,25811.3%
Qwen3.5-2B, thinking mode6720.0%*
Qwen3.5-2B, non-thinking1,00814.5%
this model1,25818.3%

On the 1,008 questions both answered, this model leads the non-thinking base model by +3.3 points (17.9% vs 14.5%, McNemar p = 0.0035).

* With 4,096 tokens and greedy decoding, Qwen3.5-2B in thinking mode never finished thinking (74% of answers hit the limit, 26% were stopped as repetition loops), so it never gave a final answer. It may do much better with a far larger token budget and sampling, which was not tested.

MATH-500 (regression check)

210 questions (30 per subject), same grader.

modelaccuracy [95% CI]
Qwen3.5-2B, non-thinking73.0% [67.3, 78.7]
this model63.5% [56.6, 69.9]

The drop (−9.4 points, McNemar p = 0.044) is mostly on the hardest problems (Level 5: 49% → 26%).

Full reports: eval/summary_final_test.md, eval/summary_dev_all.md, and for the comparison eval/compare_leaderboard.md, eval/summary_compare_ugphysics.md and eval/summary_compare_math500.md.

How to use

Use the non-thinking chat format and greedy decoding, as in the evaluation.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "eswaroy/qwen3.5-2b-physics"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.float16, device_map="auto")

messages = [
    {"role": "system", "content": "Please reason step by step, and put your final answer within \\boxed{}."},
    {"role": "user", "content": "A 2.0 kg block slides from rest down a frictionless incline of height 1.5 m. "
                                "What is its speed at the bottom? Take g = 9.8 m/s^2."},
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=4096, do_sample=False)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

The weights are stored in float16, the precision used for every evaluation. Loading them as bfloat16 also works but rounds part of the fine-tune's small weight changes away, so answers can differ slightly from the reported results. Qwen3.5 needs a recent transformers (pip install -U transformers).

Adapter only: the half-strength LoRA adapter is in adapter/. To apply it to the original model with PEFT:

from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-2B", dtype=torch.float16, device_map="auto")
model = PeftModel.from_pretrained(base, "eswaroy/qwen3.5-2b-physics", subfolder="adapter").merge_and_unload()

Training

  • Data: 29,500 step-by-step solutions built mainly from MegaScience (textbook physics, physics questions from NaturalReasoning, Nemotron-Science physics multiple choice, and some maths), plus the PhysicsEval training split. Every question that overlapped a UGPhysics, PhysicsEval-test or MATH-500 question was removed (same text, a shared 13-word run, TF-IDF similarity of 0.4 or more, or a reworded copy with the same numbers). A random 12,000 of them were used.
  • Format: Qwen's non-thinking chat format. The reasoning is plain text, followed by So the final answer is \boxed{...}. The loss covers the answer only.
  • Method: LoRA, rank 32, alpha 64, on the attention (q_proj, k_proj, v_proj, o_proj), Gated DeltaNet (in_proj_qkv, in_proj_z, out_proj) and MLP (gate_proj, up_proj, down_proj) layers: 31M trainable parameters. Learning rate 1e-4 with 5% warm-up and cosine decay, about 18 examples per step, 647 steps (1 epoch), fp16 with loss scaling. About 4.5 hours on one T4.
  • Half strength: the adapter is applied at 0.5× (alpha 32) before merging. At full strength the answers became too short for hard problems (MATH-500 fell to 51.7% on 70 questions); half strength kept the physics gain.
  • Text only: Qwen3.5-2B's vision encoder is not included.

Limitations

  • About 4 of every 5 undergraduate physics problems are still answered wrongly. Always check the answers.
  • Worse than the base model on hard maths (see MATH-500 above), and well behind DeepSeek-R1-Distill-Qwen-1.5B there (63.5% vs 78.2%). Use a reasoning model for competition maths.
  • Compared with five open models only; Qwen3-1.7B in thinking mode and other families (Gemma, SmolLM, Phi) were not tested.
  • About 7% of answers still run past 4,096 tokens.
  • English only. Evaluated only with greedy decoding.

License

Released under CC BY-NC-SA 4.0 (non-commercial, share-alike), the most restrictive licence among its sources: the base model Qwen3.5-2B is Apache-2.0, most of the training data comes from MegaScience (CC BY-NC-SA 4.0), and the PhysicsEval training split is CC BY-SA 4.0.

Acknowledgements

The Qwen team (Qwen3.5-2B), the UGPhysics authors (benchmark and grader), and the creators of MegaScience and PhysicsEval.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3_5ForCausalLM
Ревизия весов
ea17da2

0 моделей