Albert Zhao
Albert Zhao
Every thing is fine when ```go Calc("aaa.csv")``` called the first time. But the fatal error emits the second time when ```go Calc("aaa.csv")``` is called.
Same issure on MacOS by using ```go get -u github.com/DataDog/go-python3```. Python3 already installed by pkg.
> merge_llama_with_chinese_lora 通样的情况,没有报错,没有pth,用的merge_llama_with_chinese_lora_to_hf.py,生成的是bin, ``` python scripts/merge_llama_with_chinese_lora_to_hf.py --base_model /Users/zh/Desktop/my_ai_lab/meta-llama/hf_13B --lora_model /Users/zh/Desktop/my_ai_lab/chinese_alpaca_lora_13b --output_dir /Users/zh/Desktop/my_ai_lab/chinese-llama-alpaca-model ``` 输出是: ``` Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:04
Maybe you need this [link](https://huggingface.co/docs/huggingface_hub/v0.13.4/guides/download) to download the whole model by installing huggingface_hub, then replace the input param in ```from_pretrained``` with your local model directory.