Instructions to use Artef/results with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Artef/results with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Artef/results") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Artef/results") model = AutoModelForImageClassification.from_pretrained("Artef/results", device_map="auto") - Notebooks
- Google Colab
- Kaggle
X-ray-ai-detection_v2
Browse filesFiles changed (4)
- README.md+13-14
- config.json+1-1
- model.safetensors+1-1
- training_args.bin+2-2
12347 unmodified lines12131415161718192021222324252627282930313219 unmodified lines525354555657---base_model: umm-maybe/AI-image-detectortags:- generated_from_trainer7 unmodified lines# resultsThis model is a fine-tuned version of [umm-maybe/AI-image-detector](https://huggingface.co/umm-maybe/AI-image-detector)on synthetic-pggan-chest-xrays dataset for AI-generated data, chest-xray-pneumonia for real data.It achieves the following results on the evaluation set:- eval_loss: 0.0554- eval_accuracy: 0.9842- eval_runtime: 88.2511- eval_samples_per_second: 25.065- eval_steps_per_second: 3.139- epoch: 0.09- step: 100## Model descriptionA model is a practical part of my master's thesis.The model is solving the problem of detection AI-generated images (CT, MRI, X-ray scans in medical domain)## Intended uses & limitations19 unmodified lines### Framework versions- Transformers 4.35.2- Pytorch 2.1.0+cu118- Tokenizers 0.15.0123457 unmodified lines1314151617181920212223242526272829303119 unmodified lines515253545556---license: cc-by-4.0base_model: umm-maybe/AI-image-detectortags:- generated_from_trainer7 unmodified lines# resultsThis model is a fine-tuned version of [umm-maybe/AI-image-detector](https://huggingface.co/umm-maybe/AI-image-detector) on an unknown dataset.It achieves the following results on the evaluation set:- eval_loss: 0.1365- eval_accuracy: 0.9612- eval_runtime: 35.5742- eval_samples_per_second: 16.669- eval_steps_per_second: 2.108- epoch: 1.86- step: 550## Model descriptionMore information needed## Intended uses & limitations19 unmodified lines### Framework versions- Transformers 4.37.2- Pytorch 2.1.0+cu121- Tokenizers 0.15.2
56 unmodified lines5758596061626356 unmodified lines"stage4"],"torch_dtype": "float32","transformers_version": "4.35.2","use_absolute_embeddings": false,"window_size": 7}56 unmodified lines5758596061626356 unmodified lines"stage4"],"torch_dtype": "float32","transformers_version": "4.37.2","use_absolute_embeddings": false,"window_size": 7}
123version https://git-lfs.github.com/spec/v1oid sha256:309765249ddaf9a0be789c5d4f0124b026fa3a767608890595ba403ffa796956size 347498816123version https://git-lfs.github.com/spec/v1oid sha256:a95c39b87e8143adce646d3318a20dec81aeb4218f24d70fcc2302e0f0cb3c3dsize 347498816
123version https://git-lfs.github.com/spec/v1oid sha256:49424b10287be137405df23bf4458f99754543aa611f8d41259833b619e43964size 4536123version https://git-lfs.github.com/spec/v1oid sha256:b2e18d112bea1dd86f58cc9314cfeea5bf4bfc436fb7f99fe9c69d90179e4420size 4664
README.md+13-14
config.json+1-1
model.safetensors+1-1
training_args.bin+2-2