Downloads · 30 days
71
20% of all-time downloads
Remidesbois/f2llm-v2-160m-one-piece-retrieval
f2llm-v2-160m-one-piece-retrieval is a sentence similarity model from Remidesbois. Use it when you need a score for how close two texts are. It is set up for sentence-transformers.
Fine-tuned text embedding model for page retrieval in the One Piece Indexer project.
Downloads · 30 days
71
20% of all-time downloads
All-time downloads
362
Public
Parameters
159M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.onnx637 MB · 50%
From the Hugging Face model README
Fine-tuned text embedding model for page retrieval in the One Piece Indexer project.
This model starts from codefuse-ai/F2LLM-v2-160M and was fine-tuned on page descriptions, metadata, OCR bubble text, search logs, and explicit feedback from the project database. It is intended for French semantic search over manga page descriptions and related OCR text.
The repository includes:
model.safetensors: PyTorch/Sentence Transformers checkpoint.onnx/model.onnx: ONNX export for Transformers.js browser inference and local Node inference.training_manifest.json: local training configuration snapshot.Use the model as a dense retrieval encoder:
Instruct: Given a question, retrieve passages that can help answer the question.\nQuery: Evaluation was run on page-level held-out splits, so generated queries for the same page do not leak across train/eval/test.
| Split | Queries | Hit@1 | Hit@5 | Hit@10 | MRR@10 | NDCG@10 | Known bad@10 |
|---|---|---|---|---|---|---|---|
| eval | 518 | 0.670 | 0.894 | 0.959 | 0.761 | 0.803 | 0.000 |
| test | 485 | 0.654 | 0.891 | 0.944 | 0.755 | 0.798 | 0.002 |
Baseline on the same splits with the original local F2LLM-v2-160M package:
| Split | Queries | Hit@1 | Hit@5 | Hit@10 | MRR@10 | NDCG@10 | Known bad@10 |
|---|---|---|---|---|---|---|---|
| eval | 518 | 0.552 | 0.728 | 0.820 | 0.632 | 0.673 | 0.000 |
| test | 485 | 0.520 | 0.713 | 0.800 | 0.610 | 0.653 | 0.002 |
Historical production-context benchmark rows from earlier real feedback labels are useful context only because they are not the same split:
| Variant | Queries | Hit@10 | MRR@10 | NDCG@10 |
|---|---|---|---|---|
| F2LLM 160M text document | 75 | 0.813 | 0.533 | 0.584 |
| current Voyage DB | 73 | 0.932 | 0.650 | 0.693 |
| current Gemini DB | 75 | 0.200 | 0.115 | 0.121 |
| current dual DB | 75 | 0.747 | 0.413 | 0.478 |
Data source mix:
The ONNX model was exported with Optimum as a feature-extraction graph at sequence length 512. Export verification completed with a maximum absolute PyTorch-vs-ONNX output difference of 0.000141.
This model is specialized for the project dataset and is not a general-purpose embedding benchmark result. Real replacement quality should keep being monitored with fresh search_feedback and search_logs labels after deployment.