openai-java
transformers.js
openai-java | transformers.js | |
---|---|---|
10 | 27 | |
4,602 | 7,792 | |
- | - | |
7.4 | 9.4 | |
6 days ago | 7 days ago | |
Java | JavaScript | |
MIT License | Apache License 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.
openai-java
- FLaNK Stack Weekly 12 February 2024
-
How popular is Java, really
Take a look at https://github.com/TheoKanning/openai-java/blob/main/service/src/main/java/com/theokanning/openai/service/FunctionExecutor.java
-
Managing AI-powered Java App With API Management
First, we need to set up a new Spring Boot application. You can use Spring Initializr to generate a new Maven project with the necessary dependencies. For this tutorial, we will need the Spring Boot Starter Web dependency. To integrate the ChatGPT API, we will use the OpenAI Java client. There is an open-source community Java library. It provides service classes that create and calls the OpenAI's GPT APIs client in Java. Of course, you can write your own implementation in Spring that interacts with OpenAI APIs too. See other client libraries for different programming languages.
- How Do I Code Roles For GPT in Processing (Java)?
-
Commit-teller - Problems during the development
The openai-java has 3 modules that the developers can use, and I needed all of them to fulfil the requirements.
-
Need helping building jar
implementation 'com.theokanning.openai-gpt3-java:service:0.12.0' // https://github.com/TheoKanning/openai-java
- FLaNK Stack Weekly 3 April 2023
-
How to build an AI chatbot with Openfire and OpenAI Chat Completion
The Botz library adds to the already rich and extensible Openfire with the ability to create internal user bots. With the Botz library, programmers may choose to develop a virtual user or a chatbot as a plugin. Although Openfire does not really distinguish this virtual user from the real users, one could intercept messages to the chatBot from your users, and be able to respond per your needs. An example would be to integrate the Botz library with the relatively new OpenAI Java SDK to provide an AI chatBot or a ChatGPT experience for your Openfire users.
-
Anyone using OpenAI/GPT LLM in production in Java ?
I am thinking to do something with openai this is a java lib.i found in the docs https://github.com/TheoKanning/openai-java but i have no further experience.
transformers.js
-
Transformers.js: Machine Learning for the Web
We have some other WebGPU demos, including:
- WebGPU embedding benchmark: https://huggingface.co/spaces/Xenova/webgpu-embedding-benchm...
- Real-time object detection: https://huggingface.co/spaces/Xenova/webgpu-video-object-det...
- Real-time background removal: https://huggingface.co/spaces/Xenova/webgpu-video-background...
- WebGPU depth estimation: https://huggingface.co/spaces/Xenova/webgpu-depth-anything
- Image background removal: https://huggingface.co/spaces/Xenova/remove-background-webgp...
You can follow the progress for full WebGPU support in the v3 development branch (https://github.com/xenova/transformers.js/pull/545).
To answer your question, while there are certain ops missing, the main limitation at the moment is for models with decoders... which are not very fast (yet) due to inefficient buffer reuse and many redundant copies between CPU and GPU. We're working closely with the ORT team to fix these issues though!
-
Deep Learning in JavaScript
BTW: you might want to add support for typed arrays.
See: https://github.com/xenova/transformers.js/blob/8804c36591d11...
This is really old, but added as part of the shape of the vector as well: https://github.com/nicolaspanel/numjs/blob/master/src/dtypes...
-
Deja-Vu your AI✦ Bookmarking Tool
Made possible by Xenova and Supabase / gte-small
-
Extracting YouTube video data with OpenAI and LangChain
To build the application, you’ll use the youtube-transcript package to retrieve YouTube video transcripts. You will then use LangChain and the Transformers.js package to generate free Hugging Face embeddings for the given transcript and store them in a vector store instead of relying on potentially expensive OpenAI embeddings. Lastly, you will use LangChain and an OpenAI model to retrieve information stored in the vector store.
- Transformers.js releases Zero-shot audio classification support
-
How to Use AI/ML Models for Your Projects
Transformers.js: A groundbreaking library, Transformers.js brings transformer models like GPT-3, BERT, and Whisper straight to your browser. With the introduction of technologies like webGPU and LLM, Transformers.js has garnered significant attention. If you’d like to learn how to integrate a small model in the UI, check out their code and examples here.
-
Show HN: Tiny LLMs – Browser-based private AI models for a wide array of tasks
The announcement seems somewhat disingenuous. The PR[1] found from their release notes[2] seems to contain only boilerplate and no real support for Mistral models or their weights.
[1]: https://github.com/xenova/transformers.js/pull/379
- Transformers.js
- Transformers.js: Run Machine Learning models directly in the browser
- What is the most cost-efficient way to have an embedding generator endpoint that is using an open-source embedding model? [Q]
What are some alternatives?
Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
onnxruntime - ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
Quarkus - Quarkus: Supersonic Subatomic Java.
web-stable-diffusion - Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.
Sentinel - A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
web-ai - Run modern deep learning models in the browser.
quarkus-github-api - Quarkus extension for the Hub4j GitHub API
spark-nlp - State of the Art Natural Language Processing
kubernetes-client - Java client for Kubernetes & OpenShift
memory64 - Memory with 64-bit indexes
neofetch - 🖼️ A command-line system information tool written in bash 3.2+
vertex-ai-samples - Sample code and notebooks for Vertex AI, the end-to-end machine learning platform on Google Cloud