Feature Extraction
Transformers
Safetensors
internlm2
llama-factory
full
Generated from Trainer
custom_code
Instructions to use anthonymeo/full-train with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anthonymeo/full-train with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="anthonymeo/full-train", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anthonymeo/full-train", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from anthonymeo/full-train: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/anthonymeo/full-train/resolve/main/config.json
- Command line
-
hf download hf://anthonymeo/full-train/config.json
-
curl -L -o config.json https://huggingface.co/anthonymeo/full-train/resolve/main/config.json
1.13 kB
| { | |
| "_name_or_path": "internlm/internlm2_5-1_8b-chat", | |
| "architectures": [ | |
| "InternLM2ForCausalLM" | |
| ], | |
| "attn_implementation": "eager", | |
| "auto_map": { | |
| "AutoConfig": "configuration_internlm2.InternLM2Config", | |
| "AutoModel": "modeling_internlm2.InternLM2ForCausalLM", | |
| "AutoModelForCausalLM": "internlm/internlm2_5-1_8b-chat--modeling_internlm2.InternLM2ForCausalLM", | |
| "AutoModelForSequenceClassification": "internlm/internlm2_5-1_8b-chat--modeling_internlm2.InternLM2ForSequenceClassification" | |
| }, | |
| "bias": false, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 8192, | |
| "max_position_embeddings": 32768, | |
| "model_type": "internlm2", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": 2, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 2.0, | |
| "type": "dynamic" | |
| }, | |
| "rope_theta": 1000000, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.44.2", | |
| "use_cache": false, | |
| "vocab_size": 92544 | |
| } | |