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

Herais
/
pred_genre

Text Classification
Transformers
PyTorch
Chinese
bert
classification
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use Herais/pred_genre with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Herais/pred_genre with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Herais/pred_genre")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Herais/pred_genre")
    model = AutoModelForSequenceClassification.from_pretrained("Herais/pred_genre")
  • Notebooks
  • Google Colab
  • Kaggle
pred_genre
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Herais's picture
Herais
Update README.md
ec5f031 about 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    2.42 kB
    Update README.md about 4 years ago
  • config.json
    1.63 kB
    add model over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    409 MB
    xet
    add model over 4 years ago
  • special_tokens_map.json
    112 Bytes
    add tokenizer over 4 years ago
  • tokenizer.json
    269 kB
    add tokenizer over 4 years ago
  • tokenizer_config.json
    561 Bytes
    add tokenizer over 4 years ago
  • vocab.txt
    110 kB
    add tokenizer over 4 years ago