Duplicated from HuggingFaceTB/SmolLM2-1.7B-Instruct
How to use huggingworld/SmolLM2-1.7B-Instruct with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'huggingworld/SmolLM2-1.7B-Instruct');
The community tab is the place to discuss and collaborate with the HF community!