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

UBC-NLP
/
InfoDCL-hashtag

Feature Extraction
Transformers
PyTorch
English
roberta
social media
contrastive learning
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use UBC-NLP/InfoDCL-hashtag with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use UBC-NLP/InfoDCL-hashtag with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="UBC-NLP/InfoDCL-hashtag")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("UBC-NLP/InfoDCL-hashtag")
    model = AutoModel.from_pretrained("UBC-NLP/InfoDCL-hashtag")
  • Notebooks
  • Google Colab
  • Kaggle
InfoDCL-hashtag
1.39 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
90dfc54 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.96 kB
    Update README.md about 2 years ago
  • config.json
    699 Bytes
    new almost 3 years ago
  • merges.txt
    456 kB
    new almost 3 years ago
  • model.safetensors
    694 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    694 MB
    xet
    new almost 3 years ago
  • special_tokens_map.json
    772 Bytes
    new almost 3 years ago
  • tokenizer.json
    1.36 MB
    new almost 3 years ago
  • tokenizer_config.json
    1.11 kB
    new almost 3 years ago
  • train_results.txt
    72 Bytes
    new almost 3 years ago
  • trainer_state.json
    14.8 kB
    new almost 3 years ago
  • training_args.bin

    Detected Pickle imports (4)

    • "torch.device",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.IntervalStrategy",
    • "__main__.OurTrainingArguments"

    How to fix it?

    2.48 kB
    xet
    new almost 3 years ago
  • vocab.json
    798 kB
    new almost 3 years ago