nielsr HF Staff commited on
Commit
f6a039a
·
verified ·
1 Parent(s): fa89c80

Add pipeline tag, library name, and sample usage

Browse files

Hi! I'm Niels, part of the community science team at Hugging Face.

This PR improves the model card by adding relevant metadata:
- `library_name: transformers`: Since the model architecture is compatible with the Transformers library.
- `pipeline_tag: text-generation`: Ensuring the model is correctly categorized and discoverable.

I've also added a usage section with a code snippet from the GitHub README to help users get started with the RecursiveMAS framework and this specific agent role.

Files changed (1) hide show
  1. README.md +20 -0
README.md CHANGED
@@ -2,6 +2,8 @@
2
  base_model:
3
  - Qwen/Qwen2.5-Math-1.5B
4
  license: mit
 
 
5
  ---
6
 
7
  # Sequential-Light-Solver-Qwen2.5-Math-1.5B
@@ -23,6 +25,24 @@ 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 |
 
2
  base_model:
3
  - Qwen/Qwen2.5-Math-1.5B
4
  license: mit
5
+ library_name: transformers
6
+ pipeline_tag: text-generation
7
  ---
8
 
9
  # Sequential-Light-Solver-Qwen2.5-Math-1.5B
 
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
+ To use this agent as part of the RecursiveMAS framework, you can load the entire system using the following code from the official repository:
31
+
32
+ ```python
33
+ from system_loader import load_mas_system
34
+
35
+ mas = load_mas_system(
36
+ style="sequential_light",
37
+ device="cuda",
38
+ trust_remote_code=True,
39
+ )
40
+
41
+ planner = mas.agents["planner"].model
42
+ critic = mas.agents["critic"].model
43
+ solver = mas.agents["solver"].model
44
+ ```
45
+
46
  ## Model Collections for RecursiveMAS
47
 
48
  | Style | Model Collection |