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

causal-narrative
/
roberta-causal-span-extractor

Token Classification
Transformers
Safetensors
English
roberta
causal-narrative
cause-effect-extraction
span-extraction
ner
Model card Files Files and versions
xet
Community

Instructions to use causal-narrative/roberta-causal-span-extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use causal-narrative/roberta-causal-span-extractor with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="causal-narrative/roberta-causal-span-extractor")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("causal-narrative/roberta-causal-span-extractor")
    model = AutoModelForTokenClassification.from_pretrained("causal-narrative/roberta-causal-span-extractor")
  • Notebooks
  • Google Colab
  • Kaggle
roberta-causal-span-extractor
501 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
causal-narrative's picture
causal-narrative
Upload README.md with huggingface_hub
f793749 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    1.93 kB
    Upload README.md with huggingface_hub 3 months ago
  • config.json
    870 Bytes
    Upload RoBERTa causal span extractor model 3 months ago
  • merges.txt
    456 kB
    Upload tokenizer 3 months ago
  • model.safetensors
    496 MB
    xet
    Upload RoBERTa causal span extractor model 3 months ago
  • special_tokens_map.json
    280 Bytes
    Upload tokenizer 3 months ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer 3 months ago
  • tokenizer_config.json
    1.25 kB
    Upload tokenizer 3 months ago
  • vocab.json
    798 kB
    Upload tokenizer 3 months ago