Text Generation
Transformers.js
ONNX
English
lfm2
openmed
onnxruntime
android
on-device
quantized
int4
liquid
longevity
aging-biology
biomedical
conversational
Instructions to use OpenMed/LFM2-1.2B-Longevity-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OpenMed/LFM2-1.2B-Longevity-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'OpenMed/LFM2-1.2B-Longevity-ONNX');
Ctrl+K