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

alichte
/
TG-Relation-Model

Token Classification
Transformers
PyTorch
bert
Model card Files Files and versions
xet
Community
1

Instructions to use alichte/TG-Relation-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alichte/TG-Relation-Model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="alichte/TG-Relation-Model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("alichte/TG-Relation-Model")
    model = AutoModelForTokenClassification.from_pretrained("alichte/TG-Relation-Model")
  • Notebooks
  • Google Colab
  • Kaggle
TG-Relation-Model
867 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 17 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
bd0c818 over 2 years ago
  • .gitattributes
    1.27 kB
    Adding `safetensors` variant of this model over 2 years ago
  • README.md
    28 Bytes
    Update README.md about 4 years ago
  • config.json
    1.51 kB
    Upload config.json about 4 years ago
  • model.safetensors
    433 MB
    xet
    Adding `safetensors` variant of this model over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    433 MB
    xet
    Upload pytorch_model.bin with git-lfs about 4 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json about 4 years ago
  • tokenizer.json
    669 kB
    Upload tokenizer.json about 4 years ago
  • tokenizer_config.json
    590 Bytes
    Upload tokenizer_config.json about 4 years ago
  • vocab.txt
    213 kB
    Upload vocab.txt about 4 years ago