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

MrPotato
/
ReferenceSegmentationV2

Token Classification
Transformers
PyTorch
Safetensors
xlm-roberta
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use MrPotato/ReferenceSegmentationV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MrPotato/ReferenceSegmentationV2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="MrPotato/ReferenceSegmentationV2", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("MrPotato/ReferenceSegmentationV2", trust_remote_code=True)
    model = AutoModelForTokenClassification.from_pretrained("MrPotato/ReferenceSegmentationV2", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
ReferenceSegmentationV2
2.24 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
MrPotato's picture
MrPotato
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
1450a4d verified 11 months ago
  • .gitattributes
    1.53 kB
    commit files to HF hub over 3 years ago
  • config.json
    1.2 kB
    commit files to HF hub over 3 years ago
  • configuration_refseg.py
    6.49 kB
    commit files to HF hub over 3 years ago
  • model.safetensors
    1.11 GB
    xet
    Adding `safetensors` variant of this model (#1) 11 months ago
  • modeling_refseg.py
    3.6 kB
    commit files to HF hub over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.11 GB
    xet
    commit files to HF hub over 3 years ago
  • ref_seg.py
    11 kB
    commit files to HF hub over 3 years ago
  • special_tokens_map.json
    280 Bytes
    commit files to HF hub over 3 years ago
  • tokenizer.json
    17.1 MB
    xet
    commit files to HF hub over 3 years ago
  • tokenizer_config.json
    451 Bytes
    commit files to HF hub over 3 years ago