mmnga commited on
Commit
6ac88ba
·
1 Parent(s): 6406494

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -0
README.md CHANGED
@@ -1,3 +1,22 @@
1
  ---
2
  license: apache-2.0
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ language:
4
+ - ja
5
  ---
6
+ # line-corporation/japanese-large-lm-1.7b-instruction-sft
7
+ [line-corporationさんが公開しているjapanese-large-lm-1.7b-instruction-sft](https://huggingface.co/line-corporation/japanese-large-lm-1.7b-instruction-sft)のggml変換版です。
8
+
9
+ *本家リポジトリはeosトークンが固定となっているので、修正しました。こちらはブランチになります*
10
+ *eosトークンは<|endoftext|>、</s>、[EOS]を検索して自動で設定します。*
11
+ *--repeat-penalty を設定できます。*
12
+
13
+ ## Usage
14
+
15
+ ```
16
+ git clone --branch gpt2 https://github.com/mmnga/ggml.git
17
+ cd ggml
18
+ mkdir build && cd build
19
+ cmake ..
20
+ make -j
21
+ ./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 --top_k 0.1 --temp 0.7 --repeat-penalty 1.1
22
+ ```