Live data from Hacker News

Viewing profile — craigacp

craigacp

HN member
Joined
Wed, Aug 28, 2019, 12:23 AM UTC
HN karma
44
Public activity
30 items

About craigacp

ML Researcher at Oracle Labs - https://github.com/craigacp

Recent public activity

  1. comment
    Comment #45522569

    SIMT - Single Instruction, Multiple Threads

  2. comment
    Comment #44069355

    The same operations in the same order is a tough constraint in an environment where core count is increasing and clock speeds/IPC are not. It's hard to rewrite some of these algori…

  3. comment
    Comment #43135415

    Some of the gradients are present in the TF C API (and thus the C++ API), but it's hit & miss which are in C and which are in Python. There was an attempt years ago to port more gr…

  4. comment
    Comment #42467782

    The encoder's embedding is contextual, it depends on all the tokens. If you pull out the embedding layer from a decoder only model then that is a fixed embedding where each token's…

  5. comment
    Comment #40841793

    There are a bunch of these things in a word2vec space. I had a blog post years ago on my group's blog which trained word2vec on a bunch of wikias so we could find out who is the Ha…

  6. comment
    Comment #39761997

    Java has had the ability to run a single code file directly by running `java ` since Java 11 - https://openjdk.org/jeps/330 . And it's had a Java REPL since Java 9.

  7. comment
    Comment #39437351

    There's usually a two or three step training procedure, first training to predict the next word on a huge corpus of text (billions or trillions of words), then possibly some instru…

  8. comment
    Comment #38833394

    I did. It depends what you want, for an overview of how ONNX Runtime works then Microsoft have a bunch of things on https://onnxruntime.ai , but the Java content is a bit lacking o…

  9. comment
    Comment #38833038

    Both GPU support and SIMD CPU support are being worked on in OpenJDK projects, there are talks on them from last year's JVM language summit - https://youtube.com/playlist?list=PLX8…

  10. comment
    Comment #38832916

    ONNX Runtime needed a good demo application in Java and this was fun to do (I maintain the Java API for ONNX Runtime and wrote this SD implementation). I've added SDv2 and SDXL sup…

  11. comment
    Comment #37427683

    There's a correction to that tweet, larger vocab means fewer tokens for any given sequence (usually, assuming it's not to add other languages or character sets).

  12. comment
    Comment #36871527

    As ONNX models are protobufs you can edit them at a Python or Java REPL (or other language but I've personally used those two). Dumping them out as text seems like a lot more work,…

  13. comment
    Comment #35064339

    We built model & data provenance into our open source ML library, though it's admittedly not the W3C PROV standard. There were a few gaps in it until we built an automated reproduc…

  14. comment
    Comment #34748592

    A conventional neural network, i.e. one using a stack of dense layers, can't unroll across a sequence in the way the transformer does. So while it could compute the relative import…

  15. comment
    Comment #33186010

    Exactly so, there are a bunch of Java interfaces to native ML libraries that have some messy bit hacking to convert between fp16 and Java floats. This API along with the intrinsifi…

  16. comment
    Comment #28963358

    Probabilistic programming can be done via MCMC approaches, but you can also infer the necessary quantities by using variational inference (which approximates the distribution descr…

  17. comment
    Comment #26665476

    There is extensive discussion of that topic in the valhalla-dev and valhalla-spec-experts mailing lists, but I think the details are still being worked out.

  18. comment
    Comment #26663980

    There are JEPs out for parts of it now - Primitive Objects (which is the new name for value types) https://openjdk.java.net/jeps/401 and Unify the basic primitives with objects htt…

  19. comment
    Comment #26509391

    XGBoost also has a binary file format which is neither pickle nor json. It's shared across their Python, Java and R frontends and parsed by the C++ library.

  20. comment
    Comment #25534147

    The reviews for published NeurIPS papers for at least the past 5 years are available from each paper's page on http://papers.neurips.cc .

  21. comment
    Comment #25534014

    It's weird to me that people build libraries on top of the ML stack to track provenance, when it's really the ML library's job to do that for its inputs. However it is a right pain…

  22. comment
    Comment #24545855

    You can with some hoop jumping in the current release (e.g. using 1.14 you need to define the model and optimizer in Python - https://github.com/oracle/tribuo/blob/main/Interop/Ten…

  23. comment
    Comment #24537888

    The Tensorflow Java project is alive and well. The next version of the API based on TF 2 is coming out soon. (Full disclosure, I'm a member of the SIG that's building it). I'm a fi…

  24. comment
    Comment #24536160

    Actually my group in Oracle Labs launched a Java ML library last week - https://tribuo.org .

  25. comment
    Comment #24486592

    We're implementing the extra trees algorithm at the moment, an isolation forest is only a small amount of code from there.