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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

lwef
/
finetuning-2

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

Instructions to use lwef/finetuning-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lwef/finetuning-2 with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("lwef/finetuning-2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use lwef/finetuning-2 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 lwef/finetuning-2 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 lwef/finetuning-2 to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for lwef/finetuning-2 to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="lwef/finetuning-2",
        max_seq_length=2048,
    )
finetuning-2
4.37 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
lwef's picture
lwef
Update README.md
65ad244 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    570 Bytes
    Update README.md almost 2 years ago
  • adapter_config.json
    764 Bytes
    Initial commit (Trained with Unsloth) almost 2 years ago
  • adapter_model.safetensors
    4.37 GB
    xet
    Initial commit (Trained with Unsloth) almost 2 years ago