Instructions to use hagara/test-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hagara/test-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hagara/test-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hagara/test-bert") model = AutoModelForSequenceClassification.from_pretrained("hagara/test-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from hagara/test-bert: direct link, hf CLI and curl.
- Browser
- Download file 711 kB
-
https://huggingface.co/hagara/test-bert/resolve/fd9afdbf4543f25f1da37c8bbdb517052d5a28b5/tokenizer.json
- Command line
-
hf download hf://hagara/test-bert@fd9afdbf4543f25f1da37c8bbdb517052d5a28b5/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/hagara/test-bert/resolve/fd9afdbf4543f25f1da37c8bbdb517052d5a28b5/tokenizer.json
711 kB
File too large to display, you can check the raw version instead.