Sentence Similarity
Transformers
Safetensors
English
llama
feature-extraction
text-embedding
embeddings
information-retrieval
beir
text-classification
language-model
text-clustering
text-semantic-similarity
text-evaluation
text-reranking
Sentence Similarity
natural_questions
ms_marco
fever
hotpot_qa
mteb
custom_code
text-generation-inference
Update modeling_llama_encoder.py
Browse files
modeling_llama_encoder.py
CHANGED
|
@@ -46,7 +46,7 @@ class ModifiedLlamaDecoderLayer(LlamaDecoderLayer):
|
|
| 46 |
)
|
| 47 |
|
| 48 |
|
| 49 |
-
class
|
| 50 |
def __init__(self, config):
|
| 51 |
if not is_transformers_attn_greater_or_equal_4_56_2():
|
| 52 |
raise ValueError(
|
|
|
|
| 46 |
)
|
| 47 |
|
| 48 |
|
| 49 |
+
class LlamaEncoderModel(LlamaModel):
|
| 50 |
def __init__(self, config):
|
| 51 |
if not is_transformers_attn_greater_or_equal_4_56_2():
|
| 52 |
raise ValueError(
|