ariG23498 HF Staff commited on
Commit
195b6ff
·
verified ·
1 Parent(s): 25a6fcf

Upload DeepSeek-TNG-R1T2-Chimera_0.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. DeepSeek-TNG-R1T2-Chimera_0.py +5 -5
DeepSeek-TNG-R1T2-Chimera_0.py CHANGED
@@ -15,17 +15,17 @@ try:
15
  {"role": "user", "content": "Who are you?"},
16
  ]
17
  pipe(messages)
18
- with open('tngtech_DeepSeek-TNG-R1T2-Chimera_0.txt', 'w') as f:
19
- f.write('Everything was good in tngtech_DeepSeek-TNG-R1T2-Chimera_0')
20
  except Exception as e:
21
- with open('tngtech_DeepSeek-TNG-R1T2-Chimera_0.txt', 'w') as f:
22
  import traceback
23
  traceback.print_exc(file=f)
24
  finally:
25
  from huggingface_hub import upload_file
26
  upload_file(
27
- path_or_fileobj='tngtech_DeepSeek-TNG-R1T2-Chimera_0.txt',
28
  repo_id='model-metadata/custom_code_execution_files',
29
- path_in_repo='tngtech_DeepSeek-TNG-R1T2-Chimera_0.txt',
30
  repo_type='dataset',
31
  )
 
15
  {"role": "user", "content": "Who are you?"},
16
  ]
17
  pipe(messages)
18
+ with open('DeepSeek-TNG-R1T2-Chimera_0.txt', 'w') as f:
19
+ f.write('Everything was good in DeepSeek-TNG-R1T2-Chimera_0')
20
  except Exception as e:
21
+ with open('DeepSeek-TNG-R1T2-Chimera_0.txt', 'w') as f:
22
  import traceback
23
  traceback.print_exc(file=f)
24
  finally:
25
  from huggingface_hub import upload_file
26
  upload_file(
27
+ path_or_fileobj='DeepSeek-TNG-R1T2-Chimera_0.txt',
28
  repo_id='model-metadata/custom_code_execution_files',
29
+ path_in_repo='DeepSeek-TNG-R1T2-Chimera_0.txt',
30
  repo_type='dataset',
31
  )