Cao Jun

Results 28 comments of Cao Jun

> import torch > import json > import argparse > > parser= argparse.ArgumentParser(); > parser.add_argument("--model",help="Model path") > > if __name__ == '__main__': > args= parser.parse_args() > checkpoint= torch.load(args.model) > par_dict=...

> I encapsulate alignment calculation into a separate method using simple harmonic mean of aligned tokens rate on both sides. Comments are welcome for the implementation. @mzeidhassan https://github.com/juncaofish/awesome-align/blob/master/awesome_align/aligner.py#L125

I set the config with: ``` storage.backend=cassandrathrift ``` The log for importing indicates data have been imported: [node]389[map]52[edge]272 .......... .......... .......... .......... .......... 5% .......... .......... .......... .......... .......... 10%...

we use cassandra 3.11 and janusgraph 0.3.0. Is it consistent?

> https://gist.github.com/mdouze/7331e6fc1da2334f30706b9b9962068b Thanks! Will give you feedback after a try.

The script works like a charm. Thanks a lot. How could I get more details of python api? Should I go through the cpp source code or the paper to...

> > @guoday Thanks for the details above. It was quite helpful. One follow up question. > > Do you take care of cycles that may appear in the dependency...

Hey, is this project still going on