xiaofei
xiaofei
Hello, everyone I get the 'model.ckpt' from yolo-voc.weights, using parse_darknet_yolo2.py. Then, I want to check the 'model.ckpt'. I get a trouble 'Tensor had NaN values' when I run detect.py with...
When I run a script `bash training_scripts/other_language/run_chinese.sh`, I encounter a problem. ``` Traceback (most recent call last): File "xxx/DeepSpeedExamples/applications/DeepSpeed-Chat/training/step1_supervised_finetuning/main.py", line 339, in main() File "xxx/DeepSpeedExamples/applications/DeepSpeed-Chat/training/step1_supervised_finetuning/main.py", line 284, in main model,...
示例代码 ``` >>> from transformers import AutoTokenizer, AutoModelForCausalLM, StoppingCriteriaList >>> from utils import StopWordsCriteria >>> tokenizer = AutoTokenizer.from_pretrained("fnlp/moss-moon-003-sft-plugin-int4", trust_remote_code=True) >>> stopping_criteria_list = StoppingCriteriaList([StopWordsCriteria(tokenizer.encode("", add_special_tokens=False))]) >>> model = AutoModelForCausalLM.from_pretrained("fnlp/moss-moon-003-sft-plugin-int4", trust_remote_code=True).half().cuda() >>>...
I'm not very familiar with the C. If I look at the code myself, it may take a long time. I'm more interested in theory than in implementing it. I...