full training process on US cities
This commit is contained in:
parent
282c0466d8
commit
f193018ac2
2
eval.py
2
eval.py
@ -66,7 +66,7 @@ if __name__ == "__main__":
|
|||||||
model_name = "sentence-transformers/all-MiniLM-L6-v2"
|
model_name = "sentence-transformers/all-MiniLM-L6-v2"
|
||||||
base_model = SentenceTransformer(model_name, device="cuda")
|
base_model = SentenceTransformer(model_name, device="cuda")
|
||||||
|
|
||||||
data = pd.read_csv("city_distances_sample.csv")
|
data = pd.read_csv("city_distances_full.csv")
|
||||||
# data_sample = data.sample(1_000)
|
# data_sample = data.sample(1_000)
|
||||||
checkpoint_dir = "checkpoints_absmax_split" # no slash
|
checkpoint_dir = "checkpoints_absmax_split" # no slash
|
||||||
for checkpoint in sorted(glob.glob(f"{checkpoint_dir}/*")):
|
for checkpoint in sorted(glob.glob(f"{checkpoint_dir}/*")):
|
||||||
|
Loading…
Reference in New Issue
Block a user