aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xget_embeddings.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_embeddings.sh b/get_embeddings.sh
index b53d493..66af5af 100755
--- a/get_embeddings.sh
+++ b/get_embeddings.sh
@@ -48,6 +48,6 @@ rm -f "${EMBS}/crawl-300d-2M.vec.zip"
48 48
49# truncate to top 500k tokens for efficiency 49# truncate to top 500k tokens for efficiency
50for lang_code in bg en el it ro sl sq; do 50for lang_code in bg en el it ro sl sq; do
51 sed -in '1,500001!d' "${EMBS}/${lang_code}.vec" 51 sed -i '1,500001!d' "${EMBS}/${lang_code}.vec"
52 sed -i '1 s/^.*$/500000 300/' "${EMBS}/${lang_code}.vec" 52 sed -i '1 s/^.*$/500000 300/' "${EMBS}/${lang_code}.vec"
53done 53done