Error when attempting to use model

#2
by CompRhys - opened
import numpy as np
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("bigscience/sgpt-bloom-7b1-msmarco")

# Our sentences we like to encode
sentences = [
    'The quick brown fox jumps over the lazy dog.',
    'Hello World!'
]

# Sentences are encoded by calling model.encode()
embeddings = model.encode(sentences, normalize_embeddings=True)
TypeError: Pooling.__init__() got an unexpected keyword argument 'pooling_mode_weightedmean_tokens'
BigScience Workshop org
christopher changed discussion status to closed

Sign up or log in to comment