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

owenarink
/
attentiontypes-commonsense

Text Classification
Transformers
Safetensors
PyTorch
English
attentiontypes
custom-code
commonsense-reasoning
course-project
experimental
custom_code
Model card Files Files and versions
xet
Community

Instructions to use owenarink/attentiontypes-commonsense with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use owenarink/attentiontypes-commonsense with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="owenarink/attentiontypes-commonsense", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForSequenceClassification
    model = AutoModelForSequenceClassification.from_pretrained("owenarink/attentiontypes-commonsense", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
attentiontypes-commonsense
34.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
owenarink's picture
owenarink
Upload custom AttentionTypes classifier
21034cf verified about 2 months ago
  • dataset
    Upload custom AttentionTypes classifier about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    5.45 kB
    Upload custom AttentionTypes classifier about 2 months ago
  • config.json
    937 Bytes
    Upload custom AttentionTypes classifier about 2 months ago
  • configuration_attentiontypes.py
    1.7 kB
    Upload custom AttentionTypes classifier about 2 months ago
  • model.safetensors
    31.2 MB
    xet
    Upload custom AttentionTypes classifier about 2 months ago
  • modeling_attentiontypes.py
    8.37 kB
    Upload custom AttentionTypes classifier about 2 months ago
  • tokenizer.json
    839 kB
    Upload custom AttentionTypes classifier about 2 months ago
  • tokenizer_config.json
    243 Bytes
    Upload custom AttentionTypes classifier about 2 months ago