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

andreidima
/
lfm2-1.2B-relation-extraction-romanian

Transformers
Safetensors
English
text-generation-inference
unsloth
lfm2
Model card Files Files and versions
xet
Community

Instructions to use andreidima/lfm2-1.2B-relation-extraction-romanian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use andreidima/lfm2-1.2B-relation-extraction-romanian with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("andreidima/lfm2-1.2B-relation-extraction-romanian", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use andreidima/lfm2-1.2B-relation-extraction-romanian with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for andreidima/lfm2-1.2B-relation-extraction-romanian to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for andreidima/lfm2-1.2B-relation-extraction-romanian to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for andreidima/lfm2-1.2B-relation-extraction-romanian to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="andreidima/lfm2-1.2B-relation-extraction-romanian",
        max_seq_length=2048,
    )
lfm2-1.2B-relation-extraction-romanian
2.35 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
andreidima's picture
andreidima
(Trained with Unsloth)
02690da verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    559 Bytes
    Unsloth Model Card 5 months ago
  • chat_template.jinja
    398 Bytes
    (Trained with Unsloth) 5 months ago
  • config.json
    1.29 kB
    (Trained with Unsloth) 5 months ago
  • model.safetensors
    2.34 GB
    xet
    (Trained with Unsloth) 5 months ago
  • special_tokens_map.json
    92 Bytes
    (Trained with Unsloth) 5 months ago
  • tokenizer.json
    4.73 MB
    (Trained with Unsloth) 5 months ago
  • tokenizer_config.json
    91.8 kB
    (Trained with Unsloth) 5 months ago