txtai.java
Tribuo
txtai.java | Tribuo | |
---|---|---|
12 | 15 | |
32 | 1,223 | |
- | 0.3% | |
4.8 | 4.8 | |
13 days ago | 29 days ago | |
Java | Java | |
Apache License 2.0 | Apache 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
txtai.java
-
# Run txtai in native code
txtai currently has two main methods of execution: Python or via a HTTP API. There are API bindings for JavaScript, Java, Rust and Go.
-
Build semantic search applications with txtai
In addition to running in Python, txtai can run as an API service and has bindings for JavaScript, Java, Go and Rust.
- txtai: AI-powered search engine for Java;
-
Transform tabular data with composable workflows
Next we'll execute the workflow. txtai has API bindings for JavaScript, Java, Rust and Golang. But to keep things simple, we'll just run the commands via cURL.
- txtai 3.4 released - Build AI-powered semantic search applications in Java
-
txtai 3.4 released - Build AI-powered semantic search applications
txtai has a full API service that supports Java - https://github.com/neuml/txtai.java
-
txtai - Semantic search backed by machine-learning powered workflows
🔗 API bindings for JavaScript, Java, Rust and Go
-
txtai 3.0 released - Machine-learning workflows, similarity search and Java support via API
Example in Java - https://github.com/neuml/txtai.java/tree/master/examples/src/main/java
- Show HN: Txtai: AI-powered search engine for Java
- txtai: AI-powered search engine for Java
Tribuo
- FLaNK Weekly 08 Jan 2024
-
Is deeplearning4j a good choice?
It seems to have been picked up by Eclipse and there is also Oracle Labs' Tribuo and Deep Java Library. All seem active, but I don't know much about any of them. I agree it's probably best to follow the community and use a more popular tool like PyTorch.
-
Stochastic gradient descent written in SQL
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 reproducibility system on top of it, but now it's pretty solid for all the algorithms we implement. Unfortunately some of the things we wrap (notably TensorFlow) aren't reproducible enough due to some unfixed bugs. There's an overview of the provenance system in this reprise of the JavaOne talk I gave here https://www.youtube.com/watch?v=GXOMjq2OS_c. The library is on GitHub - https://github.com/oracle/tribuo.
-
Just want to vent a bit
Although it may be a bit more work, you can do both machine learning and AI in Java. If you are doing deep learning, you can use DeepJavaLibrary (I do work on this one at Amazon). If you are looking for other ML algorithms, I have seen Smile, Tribuo, or some around Spark.
-
Anybody here using Java for machine learning?
We've been developing Tribuo on Github for two years now, MS are very actively developing ONNX Runtime (and the Java layer is fairly thin and wrapped over the same C API they use for node.js and C#), and things like XGBoost and LibSVM have been around for many years and the Java bits are developed in tree with the rest of the code so updated along with it. Amazon have a team of people working on DJL, though you'd have to ask them what their plans are.
-
Java engineer wants to be a researcher
FWIW, Oracle actually did release a Java ML library - https://github.com/oracle/tribuo.
-
txtai 3.4 released - Build AI-powered semantic search applications in Java
Tribuo (tribuo.org, github.com/oracle/tribuo). ONNX export support is there for 2 models at the moment in main, there's a PR for factorization machines which supports ONNX export, and we plan to add another couple of models and maybe ensembles before the upcoming release. Plus I need to write a tutorial on how it all works, but you can check the tests in the meantime.
-
Hottest topics for research for JAVA software engineers
You can do ML & data science in Java (full disclosure: I help run TensorFlow-Java, I maintain ONNX Runtime's Java interface, and I'm the lead developer on Oracle Labs' Java ML library Tribuo, so I'm pretty biased). It tends not to be as favoured in research, though I've published academic ML papers which used Java implementations. People do deploy ML models quite a bit in Java in industry.
-
John Snow Labs Spark-NLP 3.1.0: Over 2600+ new models and pipelines in 200+ languages, new DistilBERT, RoBERTa, and XLM-RoBERTa transformers, support for external Transformers, and lots more!
It might be worth having a look at the ONNX Runtime Java API in addition to TF-Java, it'll let you deploy the rest of the HuggingFace pytorch models that don't have TF equivalents. I built the Java API a few years ago, and it's now a supported part of the ONNX Runtime project. We use it in Tribuo to provide one of our text feature embedding classes (BERTFeatureExtractor).
-
If it gets better w age, will java become compatible for machine learning and data science?
The IJava notebook kernel works pretty well for data science on top of Java. We use it in Tribuo to write all our tutorials, and if you've got the jar file in the right folder everything is runnable. For example, this is our intro classification tutorial - https://github.com/oracle/tribuo/blob/main/tutorials/irises-tribuo-v4.ipynb.
What are some alternatives?
faiss - A library for efficient similarity search and clustering of dense vectors.
Deep Java Library (DJL) - An Engine-Agnostic Deep Learning Framework in Java
txtai - 💡 All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows
Deeplearning4j - Suite of tools for deploying and training deep learning models using the JVM. Highlights include model import for keras, tensorflow, and onnx/pytorch, a modular and tiny c++ library for running math code and a java based math library on top of the core c++ library. Also includes samediff: a pytorch/tensorflow like library for running deep learning using automatic differentiation.
AgePredictor - Age classification from text using PAN16, blogs, Fisher Callhome, and Cancer Forum
oj! Algorithms - oj! Algorithms
Java - All Algorithms implemented in Java
spark-nlp - State of the Art Natural Language Processing
nazca - A new way of creating GUI in the web
hnswlib - Header-only C++/python library for fast approximate nearest neighbors
grobid - A machine learning software for extracting information from scholarly documents