Downloads · 30 days
12
44% of all-time downloads
lei-ucsd/mamba-retriever-do_not_open-regular_chunk
mamba-retriever-do_not_open-regular_chunk is a machine learning model from lei-ucsd. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is a fine-tuned version of state-spaces/mamba2-130m for information retrieval tasks.
Downloads · 30 days
12
44% of all-time downloads
All-time downloads
27
Public
Repo size
1 GB
Likes
0
Public
Click a slice to open those files.
.bin516 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of state-spaces/mamba2-130m for information retrieval tasks.
from transformers import AutoTokenizer, AutoModel
import torch
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("lei-ucsd/mamba-retriever-do_not_open-regular_chunk")
model = AutoModel.from_pretrained("lei-ucsd/mamba-retriever-do_not_open-regular_chunk")
# Example usage for information retrieval
text = "Your query text here"
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True)
with torch.no_grad():
outputs = model(**inputs)
# Use binary_logits for relevance scoring
binary_logits = outputs.binary_logits
The model extends the base Mamba architecture with a binary classification head for passage relevance scoring.
This model was trained on the lei-ucsd/do_not_open dataset with regular_chunk chunking strategy.
This model is designed specifically for information retrieval tasks and may not perform well on other text classification tasks.
If you use this model, please cite the original Mamba paper and the dataset used for training.