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

shibing624
/
chatglm-6b-belle-zh-lora

Text Generation
PEFT
PyTorch
Chinese
chatglm
Text-Generation
Model card Files Files and versions
xet
Community

Instructions to use shibing624/chatglm-6b-belle-zh-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use shibing624/chatglm-6b-belle-zh-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("/home/flemingxu/disk/models/chatglm_6b_new")
    model = PeftModel.from_pretrained(base_model, "shibing624/chatglm-6b-belle-zh-lora")
  • Notebooks
  • Google Colab
  • Kaggle
chatglm-6b-belle-zh-lora
14.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
shibing624's picture
shibing624
Update README.md
61e998f verified over 2 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    4.21 kB
    Update README.md over 2 years ago
  • adapter_config.json
    358 Bytes
    Upload 2 files about 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    14.7 MB
    xet
    Upload 2 files about 3 years ago