Plan-and-Act Actor 70B
This is the Actor (Executor) 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 Actor maps observations and plan steps into low-level actions for task execution.
Usage
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "xTRam1/plan-and-act-actor-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 = "Obs: 'Flight search page loaded'. Plan step: 'Enter departure city: SFO'. Predict the next action."
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=256)
print(tok.decode(out[0], skip_special_tokens=True))
Citation
@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}
}
- Downloads last month
- 9
Model tree for xTRam1/plan-and-act-actor-70b
Base model
meta-llama/Llama-3.1-70B
Finetuned
meta-llama/Llama-3.3-70B-Instruct