Downloads · 30 days
23
4% of all-time downloads
xTRam1/plan-and-act-planner-70b
plan-and-act-planner-70b is a text generation model from xTRam1. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This is the Planner model used in the Plan-and-Act framework from the paper: Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks Code: https://github.com/SqueezeAILab/plan-and-act
Downloads · 30 days
23
4% of all-time downloads
All-time downloads
537
Public
Parameters
70.6B
141 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors141 GB · 100%
From the Hugging Face model README
This is the Planner model used in the Plan-and-Act framework from the paper:
Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks
Code: https://github.com/SqueezeAILab/plan-and-act
The Planner generates structured, high-level plans for long-horizon tasks.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "xTRam1/plan-and-act-planner-70b"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
prompt = "Goal: Find the cheapest flight from SFO to JFK next Monday."
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=512)
print(tok.decode(out[0], skip_special_tokens=True))
@inproceedings{
erdogan2025planandact,
title={Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks},
author={Lutfi Eren Erdogan and Hiroki Furuta and Sehoon Kim and Nicholas Lee and Suhong Moon and Gopala Anumanchipalli and Kurt Keutzer and Amir Gholami},
booktitle={Forty-second International Conference on Machine Learning},
year={2025},
url={https://openreview.net/forum?id=ybA4EcMmUZ}
}