Add pipeline tag and sample usage
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
# Sequential-Light-Outerlinks
|
|
@@ -23,6 +24,26 @@ RecursiveMAS treats a multi-agent system as a unified recursive computation, whe
|
|
| 23 |
⚠️ **Note:** This checkpoint contains **Outer RecursiveLink modules** 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 |
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
---
|
| 5 |
|
| 6 |
# Sequential-Light-Outerlinks
|
|
|
|
| 24 |
⚠️ **Note:** This checkpoint contains **Outer RecursiveLink modules** in [**RecursiveMAS**](https://arxiv.org/abs/2604.25917), rather than a standalone model intended for plain-text generation.
|
| 25 |
For detailed usage instructions, please refer to our [GitHub repository](https://github.com/RecursiveMAS/RecursiveMAS).
|
| 26 |
|
| 27 |
+
## Sample Usage
|
| 28 |
+
|
| 29 |
+
You can load the entire MAS pipeline using the implementation provided in the official repository:
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from system_loader import load_mas_system
|
| 33 |
+
|
| 34 |
+
# Load the complete multi-agent system for the sequential-light style
|
| 35 |
+
mas = load_mas_system(
|
| 36 |
+
style="sequential_light",
|
| 37 |
+
device="cuda",
|
| 38 |
+
trust_remote_code=True,
|
| 39 |
+
)
|
| 40 |
+
|
| 41 |
+
# Access individual agents within the system
|
| 42 |
+
planner = mas.agents["planner"].model
|
| 43 |
+
critic = mas.agents["critic"].model
|
| 44 |
+
solver = mas.agents["solver"].model
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
## Model Collections for RecursiveMAS
|
| 48 |
|
| 49 |
| Style | Model Collection |
|