Skip to content

Baichuan v2_13b run.py error #164

Closed
Closed

Description

@anxietymonger

build.py with --model_version v2_13b specified was finished successfully (float16), but when try to execute run.py, an error occurred:

AttributeError: 'BaichuanTokenizer' object has no attribute 'sp_model'

Sorry for lacking details, since my working environment doesn't allow me to copy logs out.

Activity

  1. byshiue commented on Oct 27, 2023

    @byshiue
    Collaborator

    It looks a bug of transformers, please try install transformers==4.33.1

  2. self-assigned this
    on Oct 27, 2023
  3. added
    triaged
    on Oct 27, 2023
  4. anxietymonger commented on Oct 30, 2023

    @anxietymonger
    Author

    Reinstalling transformers==4.33.1 (previously 4.34.1) fixed the problem. Closing the issue. Thank you very much for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions