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
Download label_encoder/label_encoder.pkl from SIRIS-Lab/Toscana-TechDomain-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/SIRIS-Lab/Toscana-TechDomain-classifier/resolve/main/label_encoder/label_encoder.pkl
- Command line
-
hf download hf://SIRIS-Lab/Toscana-TechDomain-classifier/label_encoder/label_encoder.pkl
-
curl -L -o label_encoder.pkl https://huggingface.co/SIRIS-Lab/Toscana-TechDomain-classifier/resolve/main/label_encoder/label_encoder.pkl
1.32 kB
- Xet hash:
- 2b377f9d40294b91f77ce808f279ce9a8eb5eb979de9ba9a8837d3d105be36e1
- Size of remote file:
- 1.32 kB
- SHA256:
- 1100bae44c4fe638bb647321eea10bdbf826c1f16acf2ab54b5144ecd634722a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.