qgallouedec HF Staff commited on
Commit
ea5bc93
·
1 Parent(s): 95df002

print whoami

Browse files
Files changed (1) hide show
  1. sft.py +3 -0
sft.py CHANGED
@@ -2,6 +2,9 @@
2
  import argparse
3
  import subprocess
4
 
 
 
 
5
  parser = argparse.ArgumentParser(description="Demo script for the model.")
6
 
7
  parser.add_argument("--model", type=str)
 
2
  import argparse
3
  import subprocess
4
 
5
+ # print whoami
6
+ print("Running as user:", subprocess.check_output(["whoami"]).decode().strip())
7
+
8
  parser = argparse.ArgumentParser(description="Demo script for the model.")
9
 
10
  parser.add_argument("--model", type=str)