Instructions to use 1231czx/delete_data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 1231czx/delete_data with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="1231czx/delete_data")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("1231czx/delete_data") model = AutoModelForSequenceClassification.from_pretrained("1231czx/delete_data", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from 1231czx/delete_data: direct link, hf CLI and curl.
- Browser
- Download file 903 Bytes
-
https://huggingface.co/1231czx/delete_data/resolve/main/config.json
- Command line
-
hf download hf://1231czx/delete_data/config.json
-
curl -L -o config.json https://huggingface.co/1231czx/delete_data/resolve/main/config.json
903 Bytes
| { | |
| "_name_or_path": "/home/wexiong_google_com/RLHF-Reward-Modeling/bt_models/unbiased_debias_exp/last_checkpoint", | |
| "architectures": [ | |
| "LlamaForSequenceClassification" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128009, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "id2label": { | |
| "0": "LABEL_0" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "label2id": { | |
| "LABEL_0": 0 | |
| }, | |
| "max_position_embeddings": 8192, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": 128256, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": null, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.44.1", | |
| "use_cache": false, | |
| "vocab_size": 128257 | |
| } | |