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

wangrongsheng
/
ChatGLM2-sft-lora

PEFT
Model card Files Files and versions
xet
Community

Instructions to use wangrongsheng/ChatGLM2-sft-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use wangrongsheng/ChatGLM2-sft-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("chatglm2-6b")
    model = PeftModel.from_pretrained(base_model, "wangrongsheng/ChatGLM2-sft-lora")
  • Notebooks
  • Google Colab
  • Kaggle
ChatGLM2-sft-lora / checkpoint-2000
23.6 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
wangrongsheng
commit from root
952d4b3 almost 3 years ago
  • README.md
    27 Bytes
    commit from root almost 3 years ago
  • adapter_config.json
    405 Bytes
    commit from root almost 3 years ago
  • adapter_model.bin
    7.82 MB
    xet
    commit from root almost 3 years ago
  • finetuning_args.json
    254 Bytes
    commit from root almost 3 years ago
  • optimizer.pt
    15.6 MB
    xet
    commit from root almost 3 years ago
  • rng_state_0.pth
    18.7 kB
    xet
    commit from root almost 3 years ago
  • rng_state_1.pth
    18.7 kB
    xet
    commit from root almost 3 years ago
  • rng_state_2.pth
    18.7 kB
    xet
    commit from root almost 3 years ago
  • rng_state_3.pth
    18.7 kB
    xet
    commit from root almost 3 years ago
  • scheduler.pt
    627 Bytes
    xet
    commit from root almost 3 years ago
  • trainer_state.json
    24.4 kB
    commit from root almost 3 years ago
  • training_args.bin
    3.29 kB
    xet
    commit from root almost 3 years ago