run_something.py 233 B

123456789
  1. import pickle
  2. import dagshub
  3. text = "hello world"
  4. print(text)
  5. with open("./models/model.pkl", 'wb') as f:
  6. pickle.dump(text, f)
  7. with dagshub.dagshub_logger(metrics_path = 'metric.csv') as logger:
  8. logger.log_metrics({'Over': 9000})
Tip!

Press p or to see the previous file or, n or to see the next file