ariG23498 HF Staff commited on
Commit
6803d40
·
verified ·
1 Parent(s): 8f0125a

Upload mistralai_Mistral-7B-Instruct-v0.3_0.py with huggingface_hub

Browse files
mistralai_Mistral-7B-Instruct-v0.3_0.py CHANGED
@@ -7,13 +7,8 @@
7
  # ///
8
 
9
  try:
10
- # integration status unknown.
11
-
12
- # Please clone model and use locally.
13
-
14
- # Also feel free to open a Pull request
15
- # for integration of the huggingface model hub
16
- # into the corresponding library =)
17
  with open('mistralai_Mistral-7B-Instruct-v0.3_0.txt', 'w') as f:
18
  f.write('Everything was good in mistralai_Mistral-7B-Instruct-v0.3_0.txt')
19
  except Exception as e:
 
7
  # ///
8
 
9
  try:
10
+ from huggingface_hub import login
11
+ login(new_session=False)
 
 
 
 
 
12
  with open('mistralai_Mistral-7B-Instruct-v0.3_0.txt', 'w') as f:
13
  f.write('Everything was good in mistralai_Mistral-7B-Instruct-v0.3_0.txt')
14
  except Exception as e: