Instructions to use launch/POLITICS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use launch/POLITICS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="launch/POLITICS")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("launch/POLITICS") model = AutoModelForMaskedLM.from_pretrained("launch/POLITICS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature0354641
-
Update README.md
da188a7
-
Update README.md
fdbe921
-
Update README.md
5bac612
-
Update README.md
41b3da2
-
Create README.md
c367dbf
-
add tokenizer
Yujian Liu73e031c -
add model
Yujian Liu9281648 -
initial commit
Yujian Liu15e4106