Jake Kalstad 3 éve
szülő
commit
9e294b57e5
1 módosított fájl, 10 hozzáadás és 0 törlés
  1. 10 0
      readme.md

+ 10 - 0
readme.md

@@ -43,3 +43,13 @@ filter by measure id/heading substring/authors
 ## generate html for each measure
 
 convert json files into static html files for es/en
+
+## gotchas
+
+Translation is currently using a local build of rust-bert
+
+To get it to work I updated openssl to 3.0 via the experimental ubuntu repo
+downloaded from pytorch.com `libtorch-cxx11-abi-shared-with-deps-1.11.0+cu113.zip` and extracted it locally, pointed LIBTORCH at it (following instructions via rust-bert)
+cloned rust-bert and built it via `cargo build` and pointed my translate cargo.toml to the extracted directory
+
+It's currently running on CPU for the translation, my GPU is small otherwise it would be better to run it off GPU.