Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run ranjitharjun7/Food_Not_Food_Text_Classification_Bert on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ranjitharjun7/Food_Not_Food_Text_Classification_Bert. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ranjitharjun7/Food_Not_Food_Text_Classification_Bert on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ranjitharjun7/Food_Not_Food_Text_Classification_Bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ranjitharjun7/Food_Not_Food_Text_Classification_Bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ranjitharjun7/Food_Not_Food_Text_Classification_Bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ranjitharjun7/Food_Not_Food_Text_Classification_Bert") model = AutoModelForSequenceClassification.from_pretrained("ranjitharjun7/Food_Not_Food_Text_Classification_Bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Food Not food text classification
Browse filesFiles changed (3)
- README.md+11-11
- model.safetensors+1-1
- training_args.bin+1-1
17 unmodified lines1819202122232425 unmodified lines5051525354555657585960616263646517 unmodified linesThis model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.0002- Accuracy: 1.0## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.0005 | 1.0 | 7 | 0.0004 | 1.0 || 0.0004 | 2.0 | 14 | 0.0004 | 1.0 || 0.0004 | 3.0 | 21 | 0.0003 | 1.0 || 0.0003 | 4.0 | 28 | 0.0003 | 1.0 || 0.0003 | 5.0 | 35 | 0.0002 | 1.0 || 0.0003 | 6.0 | 42 | 0.0002 | 1.0 || 0.0002 | 7.0 | 49 | 0.0002 | 1.0 || 0.0002 | 8.0 | 56 | 0.0002 | 1.0 || 0.0002 | 9.0 | 63 | 0.0002 | 1.0 || 0.0002 | 10.0 | 70 | 0.0002 | 1.0 |### Framework versions17 unmodified lines1819202122232425 unmodified lines5051525354555657585960616263646517 unmodified linesThis model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.0005- Accuracy: 1.0## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.4521 | 1.0 | 7 | 0.1490 | 1.0 || 0.109 | 2.0 | 14 | 0.0132 | 1.0 || 0.0092 | 3.0 | 21 | 0.0029 | 1.0 || 0.0024 | 4.0 | 28 | 0.0013 | 1.0 || 0.0012 | 5.0 | 35 | 0.0008 | 1.0 || 0.0009 | 6.0 | 42 | 0.0007 | 1.0 || 0.0007 | 7.0 | 49 | 0.0006 | 1.0 || 0.0006 | 8.0 | 56 | 0.0005 | 1.0 || 0.0006 | 9.0 | 63 | 0.0005 | 1.0 || 0.0006 | 10.0 | 70 | 0.0005 | 1.0 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:97519bd3e31e5a9391bc3a98977e692bf40982d695f868703bd3e2eb47929201size 267832560123version https://git-lfs.github.com/spec/v1oid sha256:7576e6131004bfd6b19d85af1bbb3298e482408a58e6f85811a5dc67ca1a9fdfsize 267832560
123version https://git-lfs.github.com/spec/v1oid sha256:7b917dce50ae4d69d4ea9354950dc66df09a9b11c97a0bd120445fbf4776e61bsize 5240123version https://git-lfs.github.com/spec/v1oid sha256:bb6b4f046b9e2736a72aa55c7db77145c9143292aa46174f1c704ab0f168b903size 5240
README.md+11-11
model.safetensors+1-1
training_args.bin+1-1