|
--- |
|
license: apache-2.0 |
|
language: |
|
- ja |
|
tags: |
|
- gpt-2 |
|
--- |
|
# line-corporation/japanese-large-lm-1.7b-instruction-sft |
|
[line-corporationさんが公開しているjapanese-large-lm-1.7b-instruction-sft](https://huggingface.co/line-corporation/japanese-large-lm-1.7b-instruction-sft)のggml変換版です。 |
|
|
|
*本家ggmlのリポジトリはeosトークンが固定となっているので修正しました。こちらはブランチになります* |
|
*eosトークンは |
|
``` |
|
<|endoftext|> |
|
</s> |
|
[EOS] |
|
``` |
|
を検索して自動で設定します。また、--repeat-penalty を設定できます。* |
|
|
|
## Usage |
|
|
|
``` |
|
git clone --branch gpt2 https://github.com/mmnga/ggml.git |
|
cd ggml |
|
mkdir build && cd build |
|
cmake .. |
|
make -j |
|
./bin/gpt-2 -m 'line-corp-japanese-large-lm-1.7b-instruction-sft-ggml-q4_0.bin' -n 128 -t 8 -p 'ユーザー: 四国の県名を全て列挙してください。\nシステム: ' --top_p 0.9 --temp 0.7 --repeat-penalty 1.1 |
|
``` |