Upload PokeeAI_pokee_research_7b_0.py with huggingface_hub
Browse files
PokeeAI_pokee_research_7b_0.py
CHANGED
|
@@ -32,8 +32,7 @@ except Exception as e:
|
|
| 32 |
|
| 33 |
with open('PokeeAI_pokee_research_7b_0.txt', 'a', encoding='utf-8') as f:
|
| 34 |
import traceback
|
| 35 |
-
f.write('''
|
| 36 |
-
```CODE:
|
| 37 |
# Use a pipeline as a high-level helper
|
| 38 |
from transformers import pipeline
|
| 39 |
|
|
@@ -43,6 +42,7 @@ messages = [
|
|
| 43 |
]
|
| 44 |
pipe(messages)
|
| 45 |
```
|
|
|
|
| 46 |
ERROR:
|
| 47 |
''')
|
| 48 |
traceback.print_exc(file=f)
|
|
|
|
| 32 |
|
| 33 |
with open('PokeeAI_pokee_research_7b_0.txt', 'a', encoding='utf-8') as f:
|
| 34 |
import traceback
|
| 35 |
+
f.write('''```CODE:
|
|
|
|
| 36 |
# Use a pipeline as a high-level helper
|
| 37 |
from transformers import pipeline
|
| 38 |
|
|
|
|
| 42 |
]
|
| 43 |
pipe(messages)
|
| 44 |
```
|
| 45 |
+
|
| 46 |
ERROR:
|
| 47 |
''')
|
| 48 |
traceback.print_exc(file=f)
|