repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | from typing import Optional |
| #2 | from pydantic import Field |
| #3 | |
| #4 | from mem0.configs.rerankers.base import BaseRerankerConfig |
| #5 | |
| #6 | |
| #7 | class SentenceTransformerRerankerConfig(BaseRerankerConfig): |
| #8 | """ |
| #9 | Configuration class for Sentence Transformer reranker-specific parameters. |
| #10 | Inherits from BaseRerankerConfig and adds Sentence Transformer-specific settings. |
| #11 | """ |
| #12 | |
| #13 | model: Optional[str] = Field(default="cross-encoder/ms-marco-MiniLM-L-6-v2", description="The cross-encoder model name to use") |
| #14 | device: Optional[str] = Field(default=None, description="Device to run the model on ('cpu', 'cuda', etc.)") |
| #15 | batch_size: int = Field(default=32, description="Batch size for processing documents") |
| #16 | show_progress_bar: bool = Field(default=False, description="Whether to show progress bar during processing") |
| #17 |