Instructions to use hadihssn/VehicleGPT_Chatbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hadihssn/VehicleGPT_Chatbot with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("typeof/phi-1_5") model = PeftModel.from_pretrained(base_model, "hadihssn/VehicleGPT_Chatbot") - Notebooks
- Google Colab
- Kaggle
Download config.json from hadihssn/VehicleGPT_Chatbot: direct link, hf CLI and curl.
- Browser
- Download file 936 Bytes
-
https://huggingface.co/hadihssn/VehicleGPT_Chatbot/resolve/main/config.json
- Command line
-
hf download hf://hadihssn/VehicleGPT_Chatbot/config.json
-
curl -L -o config.json https://huggingface.co/hadihssn/VehicleGPT_Chatbot/resolve/main/config.json
936 Bytes
| { | |
| "_name_or_path": "typeof/phi-1_5", | |
| "activation_function": "gelu_new", | |
| "architecture": { | |
| "block_cls": "parallel", | |
| "mixer": {}, | |
| "mlp": { | |
| "mlp_cls": "mlp" | |
| } | |
| }, | |
| "architectures": [ | |
| "MixFormerSequentialForCausalLM" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "typeof/phi-1_5--configuration_mixformer_sequential.MixFormerSequentialConfig", | |
| "AutoModelForCausalLM": "typeof/phi-1_5--modeling_mixformer_sequential.MixFormerSequentialForCausalLM" | |
| }, | |
| "embd_layer": "default", | |
| "embd_pdrop": 0.0, | |
| "initializer_range": 0.02, | |
| "layer_norm_epsilon": 1e-05, | |
| "model_type": "mixformer-sequential", | |
| "n_embd": 2048, | |
| "n_head": 32, | |
| "n_inner": null, | |
| "n_layer": 24, | |
| "n_positions": 2048, | |
| "phyagi_version": "0.0.4.dev", | |
| "resid_pdrop": 0.0, | |
| "rotary_dim": 32, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.30.0", | |
| "use_cache": false, | |
| "vocab_size": 51200 | |
| } | |