Downloads · 30 days
155
3% of all-time downloads
pokutuna/llm2024-competition
llm2024-competition is a machine learning model from pokutuna. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
東京大学松尾・岩澤研究室(松尾研)大規模言語モデル Deep Learning 応用講座 2024 におけるコンペティション提出物を配置するリポジトリです。 elyza/ELYZA-tasks-100 風の独自の問題に対する出力を競います。
Downloads · 30 days
155
3% of all-time downloads
All-time downloads
4.6K
Public
Repo size
86.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf71 GB · 100%
From the Hugging Face model README
東京大学松尾・岩澤研究室(松尾研)大規模言語モデル Deep Learning 応用講座 2024 におけるコンペティション提出物を配置するリポジトリです。
elyza/ELYZA-tasks-100 風の独自の問題に対する出力を競います。
このリポジトリには複数のモデルが含まれています。
ファイル名の prefix に応じてベースモデル・ライセンス・トレーニングデータセットが異なります。
gemma2-9b-*
llm-jp-3-13b-*
# lshw のインストール (ollama インストール時に GPU を検出するのに必要)
$ apt update && apt install -y lshw
# ollama (https://ollama.com/) のインストール & 起動
$ curl -fsSL https://ollama.com/install.sh | sh
$ ollama serve
# -- 以降は ollama サーバーが起動した状態で別ターミナルプロセスから実行 --
# モデルのダウンロード (2つ必要です)
$ ollama pull hf.co/pokutuna/llm2024-competition:gemma2-9b-v11.gguf
$ ollama pull hf.co/pokutuna/llm2024-competition:llm-jp-3-13b-v2-Q6_K.gguf
#
# Note.
# 各モデルのダウンロード後、success と出力されるのを確認して下さい。
# 演習環境で動作を確認済みですがネットワーク状況等により、
# timeout (context deadline exceeded) が発生することがあります。
# 何度か実行すれば走り切ります。
# 回答生成コードの pull
$ git clone https://github.com/pokutuna/llm2024-competition-runner.git
# 依存ライブラリのインストール
$ pip install -r llm2024-competition-runner/requirements.txt
jsonl 形式のタスクファイルをコマンドライン引数に渡してください
$ python ./llm2024-competition-runner/generate.py \
--tasks=./tasks.jsonl \
--outfile=./output-pokutuna.jsonl
--tasks=<path>
input フィールドを持つ JSONL ファイルへのパス
(elyza-tasks-100-TV_0.jsonl と同じ構造を想定)--outfile=<path>
output キーを出力結果として追加したもの演習環境でおよそ 25~35 分程度かかります
ステップ毎に outfile に書き出します、最後まで走りきらなくても提出物は生成されます