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

Mantis-VL
/
mantis-8b-idefics2-classification-example_4096_regression

Text Classification
Transformers
Safetensors
idefics2
Generated from Trainer
Model card Files Files and versions
xet
Community

Instructions to use Mantis-VL/mantis-8b-idefics2-classification-example_4096_regression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Mantis-VL/mantis-8b-idefics2-classification-example_4096_regression with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Mantis-VL/mantis-8b-idefics2-classification-example_4096_regression")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoProcessor, AutoModelForSequenceClassification
    
    processor = AutoProcessor.from_pretrained("Mantis-VL/mantis-8b-idefics2-classification-example_4096_regression")
    model = AutoModelForSequenceClassification.from_pretrained("Mantis-VL/mantis-8b-idefics2-classification-example_4096_regression", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mantis-8b-idefics2-classification-example_4096_regression
16.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
DongfuJiang's picture
DongfuJiang
Model save
cdfbb58 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.34 kB
    Model save over 2 years ago
  • added_tokens.json
    92 Bytes
    Model save over 2 years ago
  • config.json
    6.53 kB
    Model save over 2 years ago
  • generation_config.json
    228 Bytes
    Model save over 2 years ago
  • model-00001-of-00004.safetensors
    4.97 GB
    xet
    Model save over 2 years ago
  • model-00002-of-00004.safetensors
    4.92 GB
    xet
    Model save over 2 years ago
  • model-00003-of-00004.safetensors
    5 GB
    xet
    Model save over 2 years ago
  • model-00004-of-00004.safetensors
    1.66 GB
    xet
    Model save over 2 years ago
  • model.safetensors.index.json
    74.4 kB
    Model save over 2 years ago
  • preprocessor_config.json
    461 Bytes
    Model save over 2 years ago
  • processor_config.json
    68 Bytes
    Model save over 2 years ago
  • special_tokens_map.json
    1.04 kB
    Model save over 2 years ago
  • tokenizer.json
    1.8 MB
    Model save over 2 years ago
  • tokenizer.model
    493 kB
    xet
    Model save over 2 years ago
  • tokenizer_config.json
    1.67 kB
    Model save over 2 years ago
  • training_args.bin
    6.52 kB
    xet
    Model save over 2 years ago