Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ This llama model was trained 2x faster with [Unsloth](https://github.com/unsloth
|
|
24 |
|
25 |
# 以下は推論のコードです
|
26 |
|
27 |
-
|
28 |
### 必要なライブラリを読み込み
|
29 |
from unsloth import FastLanguageModel
|
30 |
from peft import PeftModel
|
@@ -98,3 +98,4 @@ with open(f"/content/{json_file_id}_output.jsonl", 'w', encoding='utf-8') as f:
|
|
98 |
result['output'] = result['output'].split('\n ')[-1]
|
99 |
json.dump(result, f, ensure_ascii=False)
|
100 |
f.write('\n')
|
|
|
|
24 |
|
25 |
# 以下は推論のコードです
|
26 |
|
27 |
+
```python
|
28 |
### 必要なライブラリを読み込み
|
29 |
from unsloth import FastLanguageModel
|
30 |
from peft import PeftModel
|
|
|
98 |
result['output'] = result['output'].split('\n ')[-1]
|
99 |
json.dump(result, f, ensure_ascii=False)
|
100 |
f.write('\n')
|
101 |
+
```python
|