我正在跟进这指南。当我必须运行这个时trainer
:
trainer = Seq2SeqTrainer(
model,
args,
train_dataset=tokenized_datasets,
eval_dataset=tokenized_eval,
data_collator=data_collator,
tokenizer=tokenizer,
compute_metrics=compute_metrics,
)
我得到:
OSError: Looks like you do not have git-lfs installed, please install. You can install from https://git-lfs.github.com/. Then run `git lfs install` (you only have to do this once).
我已经从网页成功安装了它,但是当我运行时git lfs install
我得到(松散地翻译):
git: «lfs» is not a git command. See «git --help».
The most similar command is
log
我在使用 OpenSUSE Leap 15.3。
我也在curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
我的终端中运行本指南,这似乎是成功了,因为最后一行说The repository is setup! You can now install packages.
,但是当我运行时sudo yum install git-lfs
它说sudo: yum: command not found
。
向上!