Skip to content

'FalconControlLM' object has no attribute 'system_prompt' #2

@Vikramank

Description

@Vikramank

Hi,
I'm trying to use Falcon-7B model, but it is returning some error.
I changed the code as following:

from ControlLM.falcon import get_model
model, tokenizer = get_model(model_name='tiiuae/falcon-7b')
Python 3.10.10
Torch == 2.2.1+cu121
Model used: tiiuae/falcon-7b

What other modifications should I used when I use Falcon models?
I'm getting the following error:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions