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 huggingface_hub import login, whoami | |
| import os | |
| # Replace with your actual token from https://huggingface.co/settings/tokens | |
| HF_TOKEN = os.environ.get("HF_TOKEN") | |
| try: | |
| login(token=HF_TOKEN) | |
| user_info = whoami() | |
| print(f"\n[SUCCESS] Authenticated as: {user_info['name']}") | |
| except Exception as e: | |
| print(f"\n[LOGIC ERROR] Authentication Failed: {e}") |