Instructions to use yali98/imdb_baseline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yali98/imdb_baseline with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("yali98/imdb_baseline") model = AutoModel.from_pretrained("yali98/imdb_baseline", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from yali98/imdb_baseline: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/yali98/imdb_baseline/resolve/main/config.json
- Command line
-
hf download hf://yali98/imdb_baseline/config.json
-
curl -L -o config.json https://huggingface.co/yali98/imdb_baseline/resolve/main/config.json
605 Bytes
| { | |
| "_name_or_path": "distilbert-base-uncased", | |
| "activation": "gelu", | |
| "architectures": [ | |
| "Model" | |
| ], | |
| "attention_dropout": 0.1, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "fourier": false, | |
| "hidden_dim": 3072, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "problem_type": "single_label_classification", | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.32.1", | |
| "vocab_size": 30522 | |
| } | |