Instructions to use Junfeng5/Liquid_V1_7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Junfeng5/Liquid_V1_7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Junfeng5/Liquid_V1_7B") model = AutoModelForCausalLM.from_pretrained("Junfeng5/Liquid_V1_7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Junfeng5/Liquid_V1_7B: direct link, hf CLI and curl.
- Browser
- Download file 694 Bytes
-
https://huggingface.co/Junfeng5/Liquid_V1_7B/resolve/main/config.json
- Command line
-
hf download hf://Junfeng5/Liquid_V1_7B/config.json
-
curl -L -o config.json https://huggingface.co/Junfeng5/Liquid_V1_7B/resolve/main/config.json
694 Bytes
| { | |
| "_name_or_path": "gemma7b_multimodal", | |
| "architectures": [ | |
| "GemmaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 2, | |
| "eos_token_id": 1, | |
| "head_dim": 256, | |
| "hidden_act": "gelu", | |
| "hidden_activation": null, | |
| "hidden_size": 3072, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 24576, | |
| "max_position_embeddings": 8192, | |
| "model_type": "gemma", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 28, | |
| "num_key_value_heads": 16, | |
| "pad_token_id": 0, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.39.2", | |
| "use_cache": true, | |
| "vocab_size": 264192 | |
| } | |