Instructions to use ZhweCheng/cUTRGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZhweCheng/cUTRGen with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ZhweCheng/cUTRGen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download c5UTRGen-RL/config.json from ZhweCheng/cUTRGen: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/ZhweCheng/cUTRGen/resolve/main/c5UTRGen-RL/config.json
- Command line
-
hf download hf://ZhweCheng/cUTRGen/c5UTRGen-RL/config.json
-
curl -L -o config.json https://huggingface.co/ZhweCheng/cUTRGen/resolve/main/c5UTRGen-RL/config.json
494 Bytes
| { | |
| "architectures": [ | |
| "T5ForConditionalGeneration" | |
| ], | |
| "d_ff": 3072, | |
| "d_kv": 64, | |
| "d_model": 768, | |
| "eos_token_id": 2, | |
| "decoder_start_token_id": 0, | |
| "feed_forward_proj": "gated-gelu", | |
| "is_encoder_decoder": true, | |
| "layer_norm_epsilon": 1e-06, | |
| "model_type": "t5", | |
| "num_decoder_layers": 12, | |
| "num_heads": 12, | |
| "num_layers": 12, | |
| "pad_token_id": 0, | |
| "relative_attention_max_distance": 128, | |
| "relative_attention_num_buckets": 32, | |
| "vocab_size": 75, | |
| "use_cache": false | |
| } | |