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

  • Log In
  • Sign Up

ethanyt
/
guwen-sent

Text Classification
Transformers
PyTorch
Chinese
roberta
chinese
classical chinese
literary chinese
ancient chinese
bert
sentiment classificatio
Model card Files Files and versions
xet
Community
1

Instructions to use ethanyt/guwen-sent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ethanyt/guwen-sent with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ethanyt/guwen-sent")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ethanyt/guwen-sent")
    model = AutoModelForSequenceClassification.from_pretrained("ethanyt/guwen-sent")
  • Notebooks
  • Google Colab
  • Kaggle
guwen-sent
416 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ethanyt's picture
ethanyt
ADD: examples
2bd35fb almost 5 years ago
  • .gitattributes
    690 Bytes
    initial commit almost 5 years ago
  • README.md
    1.48 kB
    ADD: examples almost 5 years ago
  • config.json
    966 Bytes
    init almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    416 MB
    xet
    init almost 5 years ago
  • special_tokens_map.json
    112 Bytes
    init almost 5 years ago
  • tokenizer_config.json
    379 Bytes
    init almost 5 years ago
  • vocab.txt
    93.5 kB
    init almost 5 years ago