Instructions to use Fei-Wang/temp-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Fei-Wang/temp-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Fei-Wang/temp-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Fei-Wang/temp-model") model = AutoModelForTokenClassification.from_pretrained("Fei-Wang/temp-model", 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.c4bb501
-
Create README.md
0eb2408 -
afasdf
5113c0d -
Update config.json
1071927 -
Update config.json
019b579 -
Upload pytorch_model.bin
75221f2 -
Upload 5 files
05a7891 -
Delete app.py
b7986b3 -
Delete README.md
70e32d1 -
Delete vocab.txt
ba39dcc -
Delete tokenizer_config.json
3166c9b -
Delete special_tokens_map.json
6d8b5b9 -
Delete config.json
fa88e68 -
Delete checkpoint.pth.tar
3c5e4ab
-
Upload checkpoint.pth.tar
307b35c -
Create README.md
b8d87f2 -
asdf
cc3af4b
-
Create app.py (#1)
- Create app.py (7ecd475639312508d1b3533dd0f5a5502537d931)b0b6f9a -
initial commit
da82479