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: 5 commits
danielhanchen's picture
danielhanchen
Upload tokenizer
85ef4a7 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.51 kB
    Add unsloth tag (#1) 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
  • config.json
    1.13 kB
    Upload LlamaForCausalLM over 2 years ago
  • generation_config.json
    188 Bytes
    Upload LlamaForCausalLM over 2 years ago
  • model.safetensors
    3.87 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • special_tokens_map.json
    552 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer over 2 years ago
  • tokenizer.model
    500 kB
    xet
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    894 Bytes
    Upload tokenizer over 2 years ago