You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python get_semantic_embed.py --model_path ./Llama-2-7b-hf --dataset BookCrossing --pooling average --gpu_id 1
miniconda3/envs/rella/lib/python3.10/site-packages/transformers/configuration_utils.py:902 in dict_torch_dtype_to_str │
│ │
│ 899 │ │ string, which can then be stored in the json format. │
│ 900 │ │ """ │
│ 901 │ │ if d.get("torch_dtype", None) is not None and not isinstance(d["torch_dtype"], s │
│ ❱ 902 │ │ │ d["torch_dtype"] = str(d["torch_dtype"]).split(".")[1] │
│ 903 │ │ for value in d.values(): │
│ 904 │ │ │ if isinstance(value, dict): │
│ 905 │ │ │ │ self.dict_torch_dtype_to_str(value)
有两个问题
1、用哪个embedding model
2、模型载入就出错了,看起来像是版本问题
The text was updated successfully, but these errors were encountered:
python get_semantic_embed.py --model_path ./Llama-2-7b-hf --dataset BookCrossing --pooling average --gpu_id 1
miniconda3/envs/rella/lib/python3.10/site-packages/transformers/configuration_utils.py:902 in dict_torch_dtype_to_str │
│ │
│ 899 │ │ string, which can then be stored in the json format. │
│ 900 │ │ """ │
│ 901 │ │ if d.get("torch_dtype", None) is not None and not isinstance(d["torch_dtype"], s │
│ ❱ 902 │ │ │ d["torch_dtype"] = str(d["torch_dtype"]).split(".")[1] │
│ 903 │ │ for value in d.values(): │
│ 904 │ │ │ if isinstance(value, dict): │
│ 905 │ │ │ │ self.dict_torch_dtype_to_str(value)
有两个问题
1、用哪个embedding model
2、模型载入就出错了,看起来像是版本问题
The text was updated successfully, but these errors were encountered: