Instructions to use CogComp/ZeroShotWiki with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CogComp/ZeroShotWiki with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CogComp/ZeroShotWiki")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CogComp/ZeroShotWiki") model = AutoModelForSequenceClassification.from_pretrained("CogComp/ZeroShotWiki", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
0b85bb8 -
Add tokenizer
bef0342 -
Add tokenizer
4623300 -
Add tokenizer
e871336 -
Update README.md
82c804e
-
Update README.md
44bc19d -
Upload config.json
e29e56e -
Upload pytorch_model.bin with git-lfs
bf9fb4b -
initial commit
d84f828