Download config.json from yumiao-dev/ym-translation: direct link, hf CLI and curl.
- Browser
- Download file 980 Bytes
-
https://huggingface.co/yumiao-dev/ym-translation/resolve/main/config.json
- Command line
-
hf download hf://yumiao-dev/ym-translation/config.json
-
curl -L -o config.json https://huggingface.co/yumiao-dev/ym-translation/resolve/main/config.json
980 Bytes
| { | |
| "model_type": "ym_translation", | |
| "architectures": [ | |
| "YMTranslate" | |
| ], | |
| "hidden_size": 512, | |
| "num_hidden_layers": 10, | |
| "num_attention_heads": 8, | |
| "num_key_value_heads": 2, | |
| "head_dim": 64, | |
| "intermediate_size": 2048, | |
| "vocab_size": 32000, | |
| "max_position_embeddings": 4096, | |
| "rope_base": 500000.0, | |
| "rms_norm_eps": 1e-06, | |
| "tie_word_embeddings": true, | |
| "hidden_act": "silu", | |
| "torch_dtype": "float32", | |
| "position_embedding_type": "rope", | |
| "attention_type": "gqa", | |
| "ffn_type": "swiglu", | |
| "qk_norm": true, | |
| "normalization": "rmsnorm", | |
| "num_parameters": 54406912, | |
| "stage": "stage3", | |
| "language_pair": [ | |
| "zho_Hans", | |
| "eng_Latn" | |
| ], | |
| "special_tokens": { | |
| "bos": 2, | |
| "eos": 3, | |
| "zh": 4, | |
| "en": 5 | |
| }, | |
| "prompt_format": "<|zh|> {source} <|en|>", | |
| "training": { | |
| "tokens": 8299479040, | |
| "tokens_human": "8.299B", | |
| "step": 15830, | |
| "context_length": 4096, | |
| "precision": "bfloat16", | |
| "export_precision": "float32" | |
| } | |
| } |