"lib/vscode:/vscode.git/clone" did not exist on "6ba39b09326e0dcda6cf30453b2b5d05183d58d5"
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: ...@@ -652,7 +652,7 @@ class DataPipeline:
if (ext == ".pt"): if (ext == ".pt"):
# Load embedding file # Load embedding file
seqemb_data = torch.load(path) seqemb_data = torch.load(path)
seqemb_features["seq_embedding"] = seqemb_data seqemb_features["seq_embedding"] = seqemb_data["representations"][33]
return seqemb_features 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