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

jonny9f
/
food_reranker2

Text Classification
Transformers
Safetensors
English
distilbert
food
reranking
sequence-classification
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use jonny9f/food_reranker2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="jonny9f/food_reranker2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("jonny9f/food_reranker2")
    model = AutoModelForSequenceClassification.from_pretrained("jonny9f/food_reranker2")
  • Notebooks
  • Google Colab
  • Kaggle
food_reranker2
1.07 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
jonny9f's picture
jonny9f
Upload folder using huggingface_hub
ebf2a8b verified about 1 year ago
  • checkpoint-1692
    Upload folder using huggingface_hub about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    2 kB
    Upload folder using huggingface_hub about 1 year ago
  • config.json
    615 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors
    268 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    1.23 kB
    Upload folder using huggingface_hub about 1 year ago
  • training_args.bin
    5.37 kB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub about 1 year ago