Commit 5a8d2b78 authored by sachinkadyan7's avatar sachinkadyan7 Committed by Sachin Kadyan
Browse files

Properly reading the embedding file

parent 36d5708c
......@@ -652,7 +652,7 @@ class DataPipeline:
if (ext == ".pt"):
# Load embedding file
seqemb_data = torch.load(path)
seqemb_features["seq_embedding"] = seqemb_data
seqemb_features["seq_embedding"] = seqemb_data["representations"][33]
return seqemb_features
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment