nielsr HF Staff commited on
Commit
32d4e6f
verified
1 Parent(s): eff4db3

Add pipeline tag, library name and sample usage

Browse files

This PR improves the model card for the Deliberation-Toolcaller-Qwen3.5-4B model.

Key changes:
- Added `pipeline_tag: text-generation` to the YAML metadata for better discoverability.
- Added `library_name: transformers` to the YAML metadata as the model configuration indicates compatibility.
- Included a "Usage" section with a code snippet derived from the official GitHub repository to demonstrate how to load the model within the RecursiveMAS framework.
- Maintained existing links to the project page, code, and paper.

Files changed (1) hide show
  1. README.md +27 -1
README.md CHANGED
@@ -2,6 +2,8 @@
2
  base_model:
3
  - Qwen/Qwen3.5-4B
4
  license: mit
 
 
5
  ---
6
 
7
  # Deliberation-Toolcaller-Qwen3.5-4B
@@ -23,6 +25,30 @@ RecursiveMAS treats a multi-agent system as a unified recursive computation, whe
23
  鈿狅笍 **Note:** This checkpoint is a **role-specific agent** in [**RecursiveMAS**](https://arxiv.org/abs/2604.25917), rather than a standalone model intended for plain-text generation.
24
  For detailed usage instructions, please refer to our [GitHub repository](https://github.com/RecursiveMAS/RecursiveMAS).
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  ## Model Collections for RecursiveMAS
27
 
28
  | Style | Model Collection |
@@ -50,4 +76,4 @@ For detailed usage instructions, please refer to our [GitHub repository](https:/
50
  primaryClass={cs.AI},
51
  url={https://arxiv.org/abs/2604.25917},
52
  }
53
- 路路路
 
2
  base_model:
3
  - Qwen/Qwen3.5-4B
4
  license: mit
5
+ library_name: transformers
6
+ pipeline_tag: text-generation
7
  ---
8
 
9
  # Deliberation-Toolcaller-Qwen3.5-4B
 
25
  鈿狅笍 **Note:** This checkpoint is a **role-specific agent** in [**RecursiveMAS**](https://arxiv.org/abs/2604.25917), rather than a standalone model intended for plain-text generation.
26
  For detailed usage instructions, please refer to our [GitHub repository](https://github.com/RecursiveMAS/RecursiveMAS).
27
 
28
+ ## Usage
29
+
30
+ This model is intended to be used as part of the RecursiveMAS framework. You can load the deliberation system as follows:
31
+
32
+ ```python
33
+ from system_loader import load_mas_system
34
+
35
+ mas = load_mas_system(
36
+ style="deliberation",
37
+ device="cuda",
38
+ trust_remote_code=True,
39
+ )
40
+
41
+ # Access the specific agents
42
+ reflector = mas.agents["reflector"].model
43
+ toolcaller = mas.agents["toolcaller"].model
44
+ ```
45
+
46
+ Alternatively, you can run inference using the provided script from the repository:
47
+
48
+ ```bash
49
+ python run.py --style deliberation --batch_size 16 --temperature 0.6 --top_p 0.95 --dataset math500 --seed 42 --trust_remote_code 1 --device cuda
50
+ ```
51
+
52
  ## Model Collections for RecursiveMAS
53
 
54
  | Style | Model Collection |
 
76
  primaryClass={cs.AI},
77
  url={https://arxiv.org/abs/2604.25917},
78
  }
79
+ ```