Instructions to use mmine/testwfh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mmine/testwfh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mmine/testwfh")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mmine/testwfh") model = AutoModelForSequenceClassification.from_pretrained("mmine/testwfh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.b911d30
-
Fix reference error
Verified signatureused = instead of adding a dictionary elementd440f91 -
Add additional instructions for max_lenght
Verified signatureStill generates error 513, so added an explicit max length to the tokenizerb3339f5
-
Added truncation
Verified signatureI added truncation as batch transformation breaks for very rare postings that miss spaces9b16b01
-
Delete inference.py
Verified signatureb0fe237 -
Update inference.py
Verified signature22217ce -
Update inference.py
Verified signature76ffb47 -
Update inference.py
Verified signature6a2c769 -
Upload inference.py
Verified signaturebadb51c -
Delete inference.py
Verified signature660438f -
Upload inference.py
Verified signatureeddf2a7
-
Update README.md
Verified signaturea866d6f -
Edited the tokenizer file
Verified signature739fdd2 -
Upload 9 files
Verified signature0c5daf2 -
initial commit
Verified signature2ea8a3c