mono repo structure

This commit is contained in:
Richard Guo
2023-05-01 15:45:23 -04:00
parent b00d338c1e
commit 02d1bdb0be
53 changed files with 20 additions and 254 deletions

10
gpt4all-training/read.py Normal file
View File

@@ -0,0 +1,10 @@
import yaml
def read_config(path):
# read yaml and return contents
with open(path, 'r') as file:
try:
return yaml.safe_load(file)
except yaml.YAMLError as exc:
print(exc)