Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

danielhanchen
/
test

PEFT
Safetensors
llama
unsloth
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community
1

Instructions to use danielhanchen/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use danielhanchen/test with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-2-7b")
    model = PeftModel.from_pretrained(base_model, "danielhanchen/test")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use danielhanchen/test 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 danielhanchen/test 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 danielhanchen/test to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for danielhanchen/test to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="danielhanchen/test",
        max_seq_length=2048,
    )
test
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
osanseviero's picture
osanseviero
Update README.md
2096843 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.51 kB
    Update README.md over 2 years ago
  • adapter_config.json
    560 Bytes
    Upload model over 2 years ago
  • adapter_model.safetensors
    160 MB
    xet
    Upload model over 2 years ago