Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

onnx-community
/
LFM2-1.2B-ONNX

Text Generation
Transformers.js
ONNX
lfm2
liquid
edge
conversational
Model card Files Files and versions
xet
Community
6

Instructions to use onnx-community/LFM2-1.2B-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers.js

    How to use onnx-community/LFM2-1.2B-ONNX with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('text-generation', 'onnx-community/LFM2-1.2B-ONNX');
LFM2-1.2B-ONNX
11.4 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
Xenova's picture
Xenova HF Staff
Update README.md
10c3181 verified 6 months ago
  • onnx
    Transformers.js v4 improvements (#6) 6 months ago
  • .gitattributes
    2.13 kB
    Transformers.js v4 improvements (#6) 6 months ago
  • LICENSE
    10.6 kB
    Create LICENSE about 1 year ago
  • README.md
    10.2 kB
    Update README.md 6 months ago
  • chat_template.jinja
    1.35 kB
    Update config files (#2) about 1 year ago
  • config.json
    1.53 kB
    Transformers.js v4 improvements (#6) 6 months ago
  • generation_config.json
    136 Bytes
    Update config files (#2) about 1 year ago
  • special_tokens_map.json
    434 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    3.3 MB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    93 kB
    Update config files (#2) about 1 year ago