You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when I try to run the bootstrapping code shown in the example that uses google/flan-t5-small
<function register_backend_type at 0x7f14529c7130> is still in the BETA phase and subject to change!
Exception ignored in: <function TextGeneration.__del__ at 0x7f12f291b880>
Traceback (most recent call last):
File "/home/pramod/projects/embeddings_server/wrapped_sentence_transformer/PR/caikit-nlp/caikit_nlp/modules/text_generation/text_generation_local.py", line 120, in __del__
TypeError: 'NoneType' object is not callable
Interpreter version: Python 3.10.14
Library version: caikit-nlp-0.4.9.dev2+gc12cb82
Code snippet used:
import os
# The env var ALLOW_DOWNLOADS has to be set to allow model downloads before importing caikit_nlp
os.environ['ALLOW_DOWNLOADS'] = "1"
import caikit_nlp
model_name = "google/flan-t5-small"
model = caikit_nlp.text_generation.TextGeneration.bootstrap(model_name)
model.save(f"{model_name}-caikit") # optionally save the model
The text was updated successfully, but these errors were encountered:
I get the following error when I try to run the bootstrapping code shown in the example that uses google/flan-t5-small
Code snippet used:
The text was updated successfully, but these errors were encountered: