update
Browse files
README.md
CHANGED
@@ -21,9 +21,11 @@ This llama model was trained 2x faster with [Unsloth](https://github.com/unsloth
|
|
21 |
|
22 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
23 |
|
|
|
|
|
24 |
以下はelyza-tasks-100-TV_0.jsonlの回答のためのコードです.
|
25 |
|
26 |
-
|
27 |
from transformers import (
|
28 |
AutoModelForCausalLM,
|
29 |
AutoTokenizer,
|
@@ -99,4 +101,4 @@ with open(f"./{model_name}-outputs.jsonl", 'w', encoding='utf-8') as f:
|
|
99 |
for result in results:
|
100 |
json.dump(result, f, ensure_ascii=False) # ensure_ascii=False for handling non-ASCII characters
|
101 |
f.write('\n')
|
102 |
-
|
|
|
21 |
|
22 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
23 |
|
24 |
+
|
25 |
+
|
26 |
以下はelyza-tasks-100-TV_0.jsonlの回答のためのコードです.
|
27 |
|
28 |
+
```python
|
29 |
from transformers import (
|
30 |
AutoModelForCausalLM,
|
31 |
AutoTokenizer,
|
|
|
101 |
for result in results:
|
102 |
json.dump(result, f, ensure_ascii=False) # ensure_ascii=False for handling non-ASCII characters
|
103 |
f.write('\n')
|
104 |
+
```
|