zjunlp/KnowAgent

The model `llama-2-13b` does not exist

im-renpei opened this issue · 2 comments

Hi there,

Thanks for your release of the excellent work!

I have successfully install the requirements, but I found that the example cannot be executed. The terminal log is shown below.

Look forward to your reply!

(knowagent-env) ➜  Path_Generation git:(main) ✗ python alfworld_run/run_alfworld.py --llm_name llama-2-13b --mode test --output_path output/  


/home/pren/anaconda3/envs/knowagent-env/lib/python3.9/site-packages/transformers/utils/generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  _torch_pytree._register_pytree_node(
LLM's name: llama-2-13b

Initializing AlfredTWEnv...
Checking for solvable games...
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 341/341 [00:00<00:00, 1526.29it/s]
Overall we have 134 games in split=eval_out_of_distribution
Evaluating with 134 games
pick_two_obj_and_place-SoapBar-None-GarbageCan-424/trial_T20190909_064221_368939
pick_two_obj puttwo
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: put two soapbar in garbagecan.
The model `llama-2-13b` does not exist
Error: 'NoneType' object has no attribute 'strip'
1 r 0 rs [0, 0, 0, 0, 0, 0] cnts [0, 0, 0, 0, 0, 1] sum(rs)/sum(cnts) 0.0
------------

Hello,
Thank you for your interest!
It appears you've encountered an issue while attempting to use LangChain with open models.
To address this, you could follow the instructions at langchain_integration to use the RESTful API for local LangChain model integration.

Have you solved your issue?