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

  • Log In
  • Sign Up

codefuse-ai
/
CodeFuse-CodeGeeX2-6B

Feature Extraction
Transformers
PyTorch
chatglm
custom_code
Model card Files Files and versions
xet
Community

Instructions to use codefuse-ai/CodeFuse-CodeGeeX2-6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use codefuse-ai/CodeFuse-CodeGeeX2-6B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="codefuse-ai/CodeFuse-CodeGeeX2-6B", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("codefuse-ai/CodeFuse-CodeGeeX2-6B", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
CodeFuse-CodeGeeX2-6B
12.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
codefuse-admin's picture
codefuse-admin
Update README.md
ee36b62 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • LICENSE
    0 Bytes
    initial commit almost 3 years ago
  • README.md
    10.9 kB
    Update README.md almost 3 years ago
  • config.json
    1.47 kB
    upload model from ant-group almost 3 years ago
  • configuration_chatglm.py
    2.25 kB
    upload model from ant-group almost 3 years ago
  • generation_config.json
    90 Bytes
    upload model from ant-group almost 3 years ago
  • modeling_chatglm.py
    51 kB
    upload model from ant-group almost 3 years ago
  • pytorch_model-00001-of-00002.bin
    9.99 GB
    xet
    upload model from ant-group almost 3 years ago
  • pytorch_model-00002-of-00002.bin
    2.5 GB
    xet
    upload model from ant-group almost 3 years ago
  • pytorch_model.bin.index.json
    20.4 kB
    upload model from ant-group almost 3 years ago
  • quantization.py
    14.7 kB
    upload model from ant-group almost 3 years ago
  • special_tokens_map.json
    3 Bytes
    upload model from ant-group almost 3 years ago
  • tokenization_chatglm.py
    10.6 kB
    upload model from ant-group almost 3 years ago
  • tokenizer.model
    1.02 MB
    xet
    upload model from ant-group almost 3 years ago
  • tokenizer_config.json
    344 Bytes
    upload model from ant-group almost 3 years ago