Skip to content

Commit

Permalink
chore: style
Browse files Browse the repository at this point in the history
  • Loading branch information
guenthermi committed Sep 20, 2024
1 parent 99d9380 commit c5e7ee8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions chunked_pooling/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import torch.nn as nn
from transformers import AutoModel


class JinaEmbeddingsV3Wrapper(nn.Module):
def __init__(
self, model_name, tasks=['retrieval.query', 'retrieval.passage'], **model_kwargs
Expand Down
2 changes: 0 additions & 2 deletions run_chunked_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from chunked_pooling.chunked_eval_tasks import *
from chunked_pooling.wrappers import load_model

from chunked_pooling.wrappers import load_model

DEFAULT_CHUNKING_STRATEGY = 'fixed'
DEFAULT_CHUNK_SIZE = 256
DEFAULT_N_SENTENCES = 5
Expand Down

0 comments on commit c5e7ee8

Please sign in to comment.