Instructions to use Multilingual-Multimodal-NLP/LoopCoder-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Multilingual-Multimodal-NLP/LoopCoder-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Multilingual-Multimodal-NLP/LoopCoder-V2", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Multilingual-Multimodal-NLP/LoopCoder-V2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Multilingual-Multimodal-NLP/LoopCoder-V2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Multilingual-Multimodal-NLP/LoopCoder-V2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Multilingual-Multimodal-NLP/LoopCoder-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Multilingual-Multimodal-NLP/LoopCoder-V2
- SGLang
How to use Multilingual-Multimodal-NLP/LoopCoder-V2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Multilingual-Multimodal-NLP/LoopCoder-V2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Multilingual-Multimodal-NLP/LoopCoder-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Multilingual-Multimodal-NLP/LoopCoder-V2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Multilingual-Multimodal-NLP/LoopCoder-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Multilingual-Multimodal-NLP/LoopCoder-V2 with Docker Model Runner:
docker model run hf.co/Multilingual-Multimodal-NLP/LoopCoder-V2
复现技术报告benchmark求助🙏🙏🙏
各位作者好,
我们是一个做 looped / parallel-loop Transformer 代码模型复现的小组。
你们关于 PLT loop-count selection 的 gain–cost 分析是我们读过的对这个现象
讲得最清楚的一篇,非单调的 loop 曲线也正是我们想接着往下做的地方。所以我们
拿发布的 two-loop checkpoint 试着把 Table 2 复现了一遍。
能复现的部分我们是真复现出来了。用自己的 harness 跑出 BigCodeBench-Full
45.00(论文 46.1)、LiveCodeBench 35.64(35.4)、Mind2Web K=5 33.40(34.5)、
BFCL v3 38.31(40.1),都在 2 分以内;HumanEval+ 是 80.5,对应你们的 84.1。
另外我们还用同一条流水线跑了 Qwen2.5-Coder-7B-Instruct 做对照,它的 MultiPL-E
公开成绩我们也基本跑出来了(C++ 73.9 对 75.4,Java 64.8,JavaScript 74.3),
所以问题应该不在我们的生成和打分链路上。
复现不出来的部分,差距很大,我们不想靠猜:
- MultiPL-E:18 语言口径 29.6、全 24 语言 23.8,你们是 73.9。我们的
pass@20 oracle 上界只有 51.6,还低于你们的 pass@1,说明我们大概率
评的不是同一个东西。 - SWE-bench Verified:500 例分母 14.0%,有补丁的 305 例分母 23.0%,
你们是 64.4。 - SWE-bench Multilingual:整体 5.67%,agentic lane 13.1%,你们是 31.0。
- Terminal-Bench:v1 官方 80 题子集 + 官方 terminus-1 得 28.2%,v2 得
6.74%,你们是 34.2 和 21.0。
我们完全接受这些差距多半出在我们这边:scaffold、步数上限、分母口径都是我们
自己选的,不是你们写的。正因为如此才来请教——论文正文和参考文献里我们没找到
benchmark 的引用、版本号或子集定义,很可能我们猜错了协议。如果能指点下面几点,
可以省掉我们大量盲试:
- MultiPL-E 的 "multilingual avg." 具体是哪几个语言,聚合方式是不是各语言
pass@1 的未加权平均? - SWE-bench Verified 用的哪种 agent scaffold、步数上限和 patch 编辑契约?
是否方便分享 harness 或 prompt 模板? - SWE-M 这一列,Table 2 脚注写 SWE-bench Multilingual、摘要和 README 写
Multi-SWE、§4.1 又写 SWE-bench-CC——31.0 这个数来自哪一个?
SWE-bench-CC 是不是第四个独立测量? - TB-v1 / TB-v2 分别对应哪个官方发布、哪个任务子集、多少步上限?
- Table 2 的数字取自 instruction-tuned 还是 Table 4 的 thinking 变体?
采样参数(temperature、top-p、max tokens)是怎么设的?
如果能分享评测 harness 或配置文件——哪怕只是 prompt、分母和语言列表——我们会
非常感激。作为回报我们也乐意提供逐实例日志、复现产物和一份简短的书面小结,
并在所有报告中正确引用你们的工作。我们不是质疑结果,只是希望在往下做之前,
先把你们的配置忠实复现出来。
感谢你们开源 checkpoint,也感谢那部分逐 loop 的机制分析——正是它让我们觉得
这件事值得认真复现。
顺祝研安
如果能提供具体测评的代码库甚至是镜像就更好了🫰