Skip to content

Cache error in script #116

@ancheveleva

Description

@ancheveleva

При запуске probing_experiment.py выдает: AttributeError: 'TransformersLoader' object has no attribute 'cache'

experiment.transformer_model.cache.clear() # clear cache for optimal work before a new language

Вижу, что потому что в новой версии пробинга действительно нет такого атрибута, а появился класс Caching. Можно тогда попросить в скрипте эксперимента тоже исправить?

self.Caching = Cacher(tokenizer=self.tokenizer, cache={})

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions