Instructions to use will4381/inference_confidence_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use will4381/inference_confidence_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="will4381/inference_confidence_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("will4381/inference_confidence_model") model = AutoModelForSequenceClassification.from_pretrained("will4381/inference_confidence_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (3)
23 unmodified lines24252627282923 unmodified lines"num_hidden_layers": 12,"pad_token_id": 0,"position_embedding_type": "absolute","torch_dtype": "float32","transformers_version": "4.42.4","type_vocab_size": 2,23 unmodified lines2425262728293023 unmodified lines"num_hidden_layers": 12,"pad_token_id": 0,"position_embedding_type": "absolute","problem_type": "regression","torch_dtype": "float32","transformers_version": "4.42.4","type_vocab_size": 2,
123version https://git-lfs.github.com/spec/v1oid sha256:d1aeb9f0c261cee5c532aaefd9314beb2d341aad79572a752be3a383716811c6size 437955572123version https://git-lfs.github.com/spec/v1oid sha256:95b226ff79c0a5cccf2e3fcc88fc7ea206d60b31b4fbedfbeb6b1913ee0ad4c2size 437955572
123version https://git-lfs.github.com/spec/v1oid sha256:c6b43739b33a0fa454fbc4b1362eab68d05124b21bc8a7454723ec212046a20esize 438014894123version https://git-lfs.github.com/spec/v1oid sha256:738b2b1aaa29151685948e370dc5ed2339429afd169262689a22b52a08ac0cddsize 438014894
config.json+1
model.safetensors+1-1
pytorch_model.bin+1-1