Instructions to use pythainlp/onnx_lst20ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pythainlp/onnx_lst20ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="pythainlp/onnx_lst20ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("pythainlp/onnx_lst20ner") model = AutoModelForTokenClassification.from_pretrained("pythainlp/onnx_lst20ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload model.onnx
e6c1a95 -
Delete lst20-ner-model.onnx
6f5a01b -
Upload lst20-ner-model.onnx
219d5fb -
Upload config.json
4bb51b4 -
Upload sentencepiece.bpe.model
e2b4f65 -
Upload sentencepiece.bpe.vocab
73479cf -
Upload tokenizer_config.json
465868c -
initial commit
7b8ac9c