Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

xusenlin
/
uie-base

Feature Extraction
Transformers
PyTorch
Chinese
ernie
infomation extraction
uie
custom_code
Model card Files Files and versions
xet
Community
2

Instructions to use xusenlin/uie-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use xusenlin/uie-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="xusenlin/uie-base", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("xusenlin/uie-base", trust_remote_code=True)
    model = AutoModel.from_pretrained("xusenlin/uie-base", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
uie-base
473 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
xusenlin's picture
xusenlin
Delete model.safetensors
e3d345b verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    3.28 kB
    Update README.md about 2 years ago
  • added_tokens.json
    24 Bytes
    Upload 9 files over 1 year ago
  • config.json
    767 Bytes
    Upload 9 files over 1 year ago
  • decode_utils.py
    26.9 kB
    Upload 9 files over 1 year ago
  • modeling_uie.py
    8.77 kB
    Upload 9 files over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    472 MB
    xet
    Upload 9 files over 1 year ago
  • special_tokens_map.json
    132 Bytes
    Upload 9 files over 1 year ago
  • tokenizer.json
    818 kB
    Upload 9 files over 1 year ago
  • tokenizer_config.json
    1.32 kB
    Upload 9 files over 1 year ago
  • vocab.txt
    187 kB
    Upload 9 files about 2 years ago