Text Classification
Transformers
PyTorch
Safetensors
English
bert
finance
topic-classification
text-embeddings-inference
Instructions to use hakonmh/topic-xdistil-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hakonmh/topic-xdistil-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hakonmh/topic-xdistil-uncased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hakonmh/topic-xdistil-uncased") model = AutoModelForSequenceClassification.from_pretrained("hakonmh/topic-xdistil-uncased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
f9d911f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7c0731def01df5dbc162ae9c11bb2507ebfd992d213c465ec8096bc5e6c53c50
size 133513077
|