ShotaMatsumoto commited on
Commit
d6f87ec
·
verified ·
1 Parent(s): 941c3a6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -7
README.md CHANGED
@@ -18,14 +18,29 @@ language:
18
  - **Finetuned from model :** llm-jp/llm-jp-3-13b
19
 
20
  # データセットは以下を使いました
21
- - dataset_files = [
22
  - ichikara-instruction-003-001-1.json
23
- ichikara-instruction-003-001-2.1.json
24
- ichikara-instruction-003-001-2.2.json
25
- ichikara-instruction-003-001-5.1.json
26
- ichikara-instruction-003-001-5.2.json
27
- ichikara-instruction-003-003-1.json
28
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
31
 
 
18
  - **Finetuned from model :** llm-jp/llm-jp-3-13b
19
 
20
  # データセットは以下を使いました
 
21
  - ichikara-instruction-003-001-1.json
22
+ - ichikara-instruction-003-001-2.1.json
23
+ - ichikara-instruction-003-001-2.2.json
24
+ - ichikara-instruction-003-001-5.1.json
25
+ - ichikara-instruction-003-001-5.2.json
26
+ - ichikara-instruction-003-003-1.json
27
+ # jsonlファイルの出力方法は以下です
28
+ import json
29
+ from google.colab import files
30
+
31
+ file_name = "elyza-tasks-results.jsonl"
32
+
33
+ # JSON形式で保存 (改行コードをエスケープした状態)
34
+ with open(file_name, "w", encoding="utf-8") as f:
35
+ json.dump(results, f, ensure_ascii=False)
36
+
37
+ # 内容確認
38
+ with open(file_name, 'w', encoding='utf-8') as f:
39
+ for result in results:
40
+ json.dump(result, f, ensure_ascii=False)
41
+ f.write('\n')
42
+
43
+ files.download(file_name)
44
 
45
  This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
46