Downloads · 30 days
13
4% of all-time downloads
trumancai/Revela-3b
Revela-3b is a machine learning model from trumancai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
Revela-3B is a self-supervised bi-encoder retrieval model, trained on raw text with an in-batch attention mechanism. This version, Revela-3b was trained on a corpus of 320K batches by chunking Wikipedia. See the paper…
Downloads · 30 days
13
4% of all-time downloads
All-time downloads
313
Public
Repo size
778 MB
Likes
1
Public
Click a slice to open those files.
.safetensors778 MB · 100%
From the Hugging Face model README
Revela-3B is a self-supervised bi-encoder retrieval model, trained on raw text with an in-batch attention mechanism. This version, Revela-3b was trained on a corpus of 320K batches by chunking Wikipedia. See the paper for more details.
| Binary | Description |
|---|---|
| trumancai/Revela-code-3b | 3 B-parameter code-retriever. |
| trumancai/Revela-code-1b | 1 B-parameter code-retriever. |
| trumancai/Revela-code-500M | 500 M-parameter code-retriever. |
| trumancai/Revela-3b | 3 B-parameter Wikipedia retriever. |
| trumancai/Revela-1b | 1 B-parameter Wikipedia retriever. |
| trumancai/Revela-500M | 500 M-parameter Wikipedia retriever. |
| trumancai/revela_code_training_corpus | Code training corpus. |
| trumancai/revela_training_corpus | Wikipedia training corpus. |
We can evaluate the trained models with customized mteb.
from mteb.model_meta import ModelMeta
from mteb.models.repllama_models import RepLLaMAWrapper, _loader
revela_llama_3b = ModelMeta(
loader=_loader(
RepLLaMAWrapper,
base_model_name_or_path="meta-llama/Llama-3.2-3B",
peft_model_name_or_path="trumancai/Revela-3b",
device_map="auto",
torch_dtype=torch.bfloat16,
),
name="trumancai/Revela-3b",
languages=["eng_Latn"],
open_source=True,
revision="2b31c92f23acc46762587ea37cb55032da788561", # base-peft revision
release_date="2025-04-13",
)
revela_llama_3b_model = revela_llama_3b.loader()
evaluation = mteb.MTEB(tasks=["SciFact", "NFCorpus"])
evaluation.run(model=revela_llama_3b_model, output_folder="results/Revela-3b")