Text Generation
Transformers
Safetensors
English
cohere2
actionproof
tool-use
agents
grpo
lora-merged
procuresim
verification
research-only
conversational
Instructions to use atharvgaur18/actionproof-agent-d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use atharvgaur18/actionproof-agent-d with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="atharvgaur18/actionproof-agent-d") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("atharvgaur18/actionproof-agent-d") model = AutoModelForCausalLM.from_pretrained("atharvgaur18/actionproof-agent-d", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use atharvgaur18/actionproof-agent-d with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "atharvgaur18/actionproof-agent-d" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "atharvgaur18/actionproof-agent-d", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/atharvgaur18/actionproof-agent-d
- SGLang
How to use atharvgaur18/actionproof-agent-d with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "atharvgaur18/actionproof-agent-d" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "atharvgaur18/actionproof-agent-d", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "atharvgaur18/actionproof-agent-d" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "atharvgaur18/actionproof-agent-d", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use atharvgaur18/actionproof-agent-d with Docker Model Runner:
docker model run hf.co/atharvgaur18/actionproof-agent-d
ActionProof release: upload files
Browse files
README.md
CHANGED
|
@@ -136,11 +136,14 @@ four-step workflow (`wf4`) and two-fault episodes (`combo`) remain hard, and fal
|
|
| 136 |
- **Simulator, not production payments.** Every result is on ProcureSim, a SQLite procurement simulator with injected
|
| 137 |
write faults (phantom, partial, lost-acknowledgement, duplicate, never-commit). No real payment system, real money
|
| 138 |
or real supplier was involved, and nothing here shows the agent is safe to deploy.
|
| 139 |
-
- **
|
| 140 |
tool names (registered SR1, `results/s4/sr1_summary.json`) did not help on the renamed API (+0.000 [-0.040, +0.042]) and cost VSC on
|
| 141 |
the canonical tools (-0.248 [-0.296, -0.201]).
|
| 142 |
On the unseen four-step workflow (`wf4`, order, receive, pay, post) the models run the trained three-step sequence
|
| 143 |
and skip the new step; the table above shows the wf4 column far below the others.
|
|
|
|
|
|
|
|
|
|
| 144 |
- **Arms C and D are not nested.** C is the recovery-start agent A plus recovery SFT. D starts from its own
|
| 145 |
recovery-SFT warm start (Dw) and then runs GRPO. The C to D gap is therefore not GRPO's contribution; the
|
| 146 |
exploratory 2x2 (`results/audit/dwarm_2x2.json`) is the right reading of what GRPO adds on top of SFT.
|
|
|
|
| 136 |
- **Simulator, not production payments.** Every result is on ProcureSim, a SQLite procurement simulator with injected
|
| 137 |
write faults (phantom, partial, lost-acknowledgement, duplicate, never-commit). No real payment system, real money
|
| 138 |
or real supplier was involved, and nothing here shows the agent is safe to deploy.
|
| 139 |
+
- **The RL agents (A, D, Dn) fail on renamed tools and on the four-step workflow.** Recovery-start training with randomised
|
| 140 |
tool names (registered SR1, `results/s4/sr1_summary.json`) did not help on the renamed API (+0.000 [-0.040, +0.042]) and cost VSC on
|
| 141 |
the canonical tools (-0.248 [-0.296, -0.201]).
|
| 142 |
On the unseen four-step workflow (`wf4`, order, receive, pay, post) the models run the trained three-step sequence
|
| 143 |
and skip the new step; the table above shows the wf4 column far below the others.
|
| 144 |
+
Randomising the **demonstrations** instead (registered P4, `results/p4/p4_summary.json`; warm starts only, no GRPO
|
| 145 |
+
on top) does fix both at the SFT stage: renamed tools +0.604 [+0.540, +0.666], four-step workflow +0.574 [+0.536, +0.610], P1 test +0.048 [+0.026, +0.072]
|
| 146 |
+
(Dw_aug vs Dw, 3 seeds each; [`atharvgaur18/actionproof-warmstart-dwaug`](https://huggingface.co/atharvgaur18/actionproof-warmstart-dwaug)).
|
| 147 |
- **Arms C and D are not nested.** C is the recovery-start agent A plus recovery SFT. D starts from its own
|
| 148 |
recovery-SFT warm start (Dw) and then runs GRPO. The C to D gap is therefore not GRPO's contribution; the
|
| 149 |
exploratory 2x2 (`results/audit/dwarm_2x2.json`) is the right reading of what GRPO adds on top of SFT.
|