Instructions to use Lumos/yahoo2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lumos/yahoo2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Lumos/yahoo2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Lumos/yahoo2") model = AutoModelForSequenceClassification.from_pretrained("Lumos/yahoo2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload vocab.txt
47ad88c -
Upload tokenizer_config.json
0ae9dd7 -
Upload tokenizer.json
9855016 -
Upload special_tokens_map.json
c935bbe -
Upload pytorch_model.bin with git-lfs
aca3542 -
Upload training_args.bin with git-lfs
5f4c5cf -
Upload config.json
4110daf -
initial commit
660fe56