Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/run_identity_chain_huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
from transformers import AutoModelForCausalLM, AutoTokenizer, set_seed

# Internal Modules
# INSTRUCTION_MODELS and FOUNDATION_MODELS record the model names supported by
# run_identity_chain_huggingface.py. If you want to adapt this script to other
# huggingface or local models, add the names to the corresponding list.
from identitychain import IdentityChain, INSTRUCTION_MODELS, FOUNDATION_MODELS
from identitychain.dialogue import (
DialogueTemplate,
Expand Down