0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UTMOSのインストール

Posted at

UTMOSのインストール

非公式実装ですが,pytorchで動かしやすそうなので...
https://github.com/fakerybakery/utmos

Fairseqをgithubから持ってくる

uv add git+https://github.com/facebookresearch/fairseq@v0.10.2

utmosをインストール

uv add utmos

Fairseqのライブラリをいじる

  • .venv/lib/pythonxx/fairseq/data/indexed_dataset.pyの101行目と306行目にあるnp.floatの部分をnp.float32に変更

  • .venv/lib/pythonxx/fairseq/checkpoint_utils.pyの225行目に"weights_only=True"を追加

で多分動く

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?