Instructions to use prometheus04/qwen3-4b-thinking-microagent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use prometheus04/qwen3-4b-thinking-microagent with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
| """Pull 5 samples from prometheus04/nemotron-terminal-microagent | |
| and dump full conversation text so we can see exactly how they handled | |
| multi-command turns from the upstream Nemotron-Terminal-Corpus. | |
| """ | |
| from __future__ import annotations | |
| import os | |
| os.environ.setdefault("HF_HUB_DISABLE_SYMLINKS_WARNING", "1") | |
| from datasets import load_dataset | |
| REPO = "prometheus04/nemotron-terminal-microagent" | |
| def main(): | |
| print(f"Loading {REPO} in streaming mode...") | |
| # Try the processed_single_command subset first | |
| try: | |
| ds = load_dataset(REPO, "processed_single_command", streaming=True) | |
| print(f"Got config 'processed_single_command'. Splits: {list(ds.keys())}") | |
| except Exception: | |
| ds = load_dataset(REPO, streaming=True) | |
| print(f"No config arg needed. Splits: {list(ds.keys())}") | |
| split = list(ds.keys())[0] | |
| stream = ds[split] | |
| print(f"Features:\n{stream.features}\n") | |
| for i, row in enumerate(stream): | |
| if i >= 3: | |
| break | |
| print(f"\n{'='*80}\n[ROW {i}]\n{'='*80}") | |
| for k, v in row.items(): | |
| if k == "conversations": | |
| continue | |
| print(f" {k}: {v}") | |
| print() | |
| for j, turn in enumerate(row["conversations"]): | |
| print(f"\n--- Turn {j} role={turn['role']} len={len(turn['content'])} ---") | |
| print(turn["content"][:2000]) | |
| if len(turn["content"]) > 2000: | |
| print(f"...[{len(turn['content']) - 2000} more chars]...") | |
| if __name__ == "__main__": | |
| main() | |