Skylion007/openwebtext
Viewer โข Updated โข 8.01M โข 43.1k โข 552
How to use sddfgdffhjht/ideamodel with Transformers.js:
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
// Allocate pipeline
const pipe = await pipeline('text-generation', 'sddfgdffhjht/ideamodel');Base model
openai-community/gpt2
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'sddfgdffhjht/ideamodel');