Instructions to use dusersad12/SweepBestModel-Repo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dusersad12/SweepBestModel-Repo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dusersad12/SweepBestModel-Repo")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dusersad12/SweepBestModel-Repo") model = AutoModelForSequenceClassification.from_pretrained("dusersad12/SweepBestModel-Repo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from dusersad12/SweepBestModel-Repo: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/dusersad12/SweepBestModel-Repo/resolve/main/config.json
- Command line
-
hf download hf://dusersad12/SweepBestModel-Repo/config.json
-
curl -L -o config.json https://huggingface.co/dusersad12/SweepBestModel-Repo/resolve/main/config.json
174 Bytes
| { | |
| "model_type": "roberta", | |
| "architectures": ["RobertaForSequenceClassification"], | |
| "hidden_size": 768, | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12 | |
| } |