Instructions to use SIRIS-Lab/Toscana-TechDomain-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SIRIS-Lab/Toscana-TechDomain-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SIRIS-Lab/Toscana-TechDomain-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SIRIS-Lab/Toscana-TechDomain-classifier") model = AutoModelForSequenceClassification.from_pretrained("SIRIS-Lab/Toscana-TechDomain-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
ddc6be6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1100bae44c4fe638bb647321eea10bdbf826c1f16acf2ab54b5144ecd634722a
size 1318
|