Instructions to use privacy-tech-lab/CityModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use privacy-tech-lab/CityModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="privacy-tech-lab/CityModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("privacy-tech-lab/CityModel") model = AutoModelForSequenceClassification.from_pretrained("privacy-tech-lab/CityModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (a902c11bc889af5e39c19cd467be6af11bb0c5d5) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>439cfb2
-
Create README.md
33349d6
-
Update README.md
1aaa0a8 -
Create README.md
e40eb83 -
Upload 7 files
bc67f61 -
initial commit
6768c73