About augmentation with Change specific numbers.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- ai, machine-learning
调研方向
首先,使用提供的 Python 脚本以及带有 "Change specific numbers:" 提示词的 model.chat 调用来复现该行为。检查模型的 augmentation 行为,并确定 augmentation 与回答之间的区别;当该提示词改变问题中的数字,而不是返回一个已解出的回答时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
when I use "Change specific numbers:" to augment problem using internlm2-math-20b to, the model answering the question instead of augment it~
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("internLLMATH", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("internLLMATH", trust_remote_code=True, torch_dtype=torch.float16).cuda()
model = model.eval()
response, history = model.chat(tokenizer, "Change specific numbers: Find the center of the circle with equation $x^2 - 6x + y^2 + 2y = 9$", history=[], meta_instruction="")
print(response)
We complete the square for both $x$ and $y$ terms. For the $x$ terms, we add $(6/2)^2 = 9$ to both sides. For the $y$ terms, we add $(2/2)^2 = 1$ to both sides. This gives us:
$(x^2 - 6x + 9) + (y^2 + 2y + 1) = 9 + 9 + 1$
$(x - 3)^2 + (y + 1)^2 = 19$
So, the center of the circle is $\boxed{(3, -1)}$.
The answer is: (3,-1).
- 主要语言
- Python
- 星标
- 554
- 派生
- 40
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
InternLM/InternLM-Math 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
InternLM/InternLM-Math#49 ·
-
opencompass版本未关闭
难度 4/5 3-5 天 新手友好度 25/100
InternLM/InternLM-Math#47 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
InternLM/InternLM-Math#46 · 2 条评论 ·
-
Release of REPL未关闭
难度 5/5 一周以上 新手友好度 20/100
InternLM/InternLM-Math#45 ·
-
难度 3/5 1-2 天 新手友好度 25/100
InternLM/InternLM-Math#44 ·
查看 InternLM/InternLM-Math 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
Techiebutler/freeframe#687 ·
维护者通常 1 天内回复
-
Parse truncated verbose GC logs up to the first XML error可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug verbose GC
难度 2/5 1-3 小时 新手友好度 74/100
IBM/javacore-analyser#677 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 2 天内回复
-
area/config comp/plugins P1 platform/qqbot tool/file type/bug
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#163932 · 1 条评论 ·
维护者通常 1 天内回复
-
plugins/dsh: todayStr() computes UTC but is documented as local — journal entries written 00:00–08:00 local land in the previous day's file可能已有人在做 @Beehtrix 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
zilliztech/memsearch#907 · 1 条评论 ·
维护者通常 1 天内回复