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

Rodeszones
/
CogVLM-grounding-generalist-hf-quant4

Object Detection
Transformers
Safetensors
text-generation
custom_code
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community
2

Instructions to use Rodeszones/CogVLM-grounding-generalist-hf-quant4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Rodeszones/CogVLM-grounding-generalist-hf-quant4 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("object-detection", model="Rodeszones/CogVLM-grounding-generalist-hf-quant4", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("Rodeszones/CogVLM-grounding-generalist-hf-quant4", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

I have the error RuntimeError: Only Tensors of floating point and complex dtype can require gradients

#2 opened over 2 years ago by
changsu12

If you get this error : KeyError: 'inv_freq'

#1 opened over 2 years ago by
Rodeszones
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs