Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Ivaylo-Iv
/
ai_train_poc_food_text_classifier

Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Ivaylo-Iv/ai_train_poc_food_text_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Ivaylo-Iv/ai_train_poc_food_text_classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Ivaylo-Iv/ai_train_poc_food_text_classifier")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Ivaylo-Iv/ai_train_poc_food_text_classifier")
    model = AutoModelForSequenceClassification.from_pretrained("Ivaylo-Iv/ai_train_poc_food_text_classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ai_train_poc_food_text_classifier
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Ivaylo-Iv's picture
Ivaylo-Iv
Uploading food not food text classifier model
3cb7e3c verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    2.02 kB
    Uploading food not food text classifier model about 2 years ago
  • config.json
    738 Bytes
    Uploading food not food text classifier model about 2 years ago
  • model.safetensors
    268 MB
    xet
    Uploading food not food text classifier model about 2 years ago
  • special_tokens_map.json
    125 Bytes
    Uploading food not food text classifier model about 2 years ago
  • tokenizer.json
    712 kB
    Uploading food not food text classifier model about 2 years ago
  • tokenizer_config.json
    1.2 kB
    Uploading food not food text classifier model about 2 years ago
  • training_args.bin

    Detected Pickle imports (9)

    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "accelerate.state.PartialState",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments"

    How to fix it?

    5.18 kB
    xet
    Uploading food not food text classifier model about 2 years ago
  • vocab.txt
    232 kB
    Uploading food not food text classifier model about 2 years ago