Instructions to use seongcho/GenerAd-AI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use seongcho/GenerAd-AI with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("seongcho/GenerAd-AI", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from seongcho/GenerAd-AI: direct link, hf CLI and curl.
- Browser
- Download file 990 Bytes
-
https://huggingface.co/seongcho/GenerAd-AI/resolve/main/config.json
- Command line
-
hf download hf://seongcho/GenerAd-AI/config.json
-
curl -L -o config.json https://huggingface.co/seongcho/GenerAd-AI/resolve/main/config.json
990 Bytes
| { | |
| "base_model_name_or_path": "bigscience/bloom-1b7", | |
| "apply_residual_connection_post_layernorm": false, | |
| "architectures": [ | |
| "BloomForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "attention_softmax_in_fp32": true, | |
| "bias_dropout_fusion": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "hidden_dropout": 0.0, | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "layer_norm_epsilon": 1e-05, | |
| "masked_softmax_fusion": true, | |
| "model_type": "bloom", | |
| "n_head": 16, | |
| "n_inner": null, | |
| "n_layer": 24, | |
| "offset_alibi": 100, | |
| "pad_token_id": 3, | |
| "pretraining_tp": 2, | |
| "quantization_config": { | |
| "llm_int8_enable_fp32_cpu_offload": false, | |
| "llm_int8_skip_modules": null, | |
| "llm_int8_threshold": 6.0, | |
| "load_in_8bit": true | |
| }, | |
| "seq_length": 4096, | |
| "skip_bias_add": true, | |
| "skip_bias_add_qkv": false, | |
| "slow_but_exact": false, | |
| "torch_dtype": "float16", | |
| "transformers_version": "4.29.0.dev0", | |
| "unk_token_id": 0, | |
| "use_cache": true, | |
| "vocab_size": 250880 | |
| } | |