Instructions to use InnovativeEngineers/Energy-Intelligence with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use InnovativeEngineers/Energy-Intelligence with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "InnovativeEngineers/Energy-Intelligence") - Notebooks
- Google Colab
- Kaggle
| from transformers import AutoModelForCausalLM | |
| try: | |
| model = AutoModelForCausalLM.from_pretrained('Qwen/Qwen2.5-7B-Instruct', local_files_only=True) | |
| print('Local model files:', list(model.state_dict().keys())[:5]) | |
| except Exception as e: | |
| print('Model not cached:', str(e)) | |