Image-Text-to-Text
Transformers.js
ONNX
English
llava
text-generation
multimodal
qwen
conversational
custom_code
Instructions to use Xenova/nanoLLaVA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/nanoLLaVA with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'Xenova/nanoLLaVA');
Add/update the quantized ONNX model files and README.md for Transformers.js v3
#4
by whitphx - opened
README.md
CHANGED
|
@@ -13,7 +13,6 @@ tags:
|
|
| 13 |
|
| 14 |
https://huggingface.co/qnguyen3/nanoLLaVA with ONNX weights to be compatible with Transformers.js.
|
| 15 |
|
| 16 |
-
|
| 17 |
## Usage (Transformers.js)
|
| 18 |
|
| 19 |
If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:
|
|
|
|
| 13 |
|
| 14 |
https://huggingface.co/qnguyen3/nanoLLaVA with ONNX weights to be compatible with Transformers.js.
|
| 15 |
|
|
|
|
| 16 |
## Usage (Transformers.js)
|
| 17 |
|
| 18 |
If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:
|