Sentence Similarity
sentence-transformers
Safetensors
Chinese
English
xlm-roberta
pokemon
pokedex
rag
bge-m3
feature-extraction
bilingual
chinese
gaming
embedding
text-embeddings-inference
Run this model with HF Jobs
Run Absurbedpoetry/pokemon-bge-m3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Absurbedpoetry/pokemon-bge-m3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Absurbedpoetry/pokemon-bge-m3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Absurbedpoetry/pokemon-bge-m3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Absurbedpoetry/pokemon-bge-m3 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Absurbedpoetry/pokemon-bge-m3") sentences = [ "那是 個快樂的人", "那是 條快樂的狗", "那是 個非常幸福的人", "今天是晴天" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
⚡ Pokémon-BGE-M3 (pokemon-bge-m3)
First open-source bilingual (Simplified Chinese + English) domain-fine-tuned RAG embedding model for Pokémon (《宝可梦》Gen 1–9), aligned with official localization, Chinese community nicknames, and VGC/OU battle slang.
面向《宝可梦》(Pokémon,全世代 Gen 1–9 至 #1025 桃歹郎)的中英双语领域微调 RAG 向量检索模型,基于
BAAI/bge-m3在 2,866 篇结构化百科与玩家真实中文外号/对战黑话问答对上采用对比学习微调(FP16 无损轻量化权重仅 1.07 GB)。
✨ Highlights
- Official Localization + Chinese Battle Slang Alignment:全面覆盖 1,025 只全图鉴宝可梦、920 个主系列招式、314 个特性、569 个对战道具与 38 篇核心对战机制(含精确 18×18 属性相克表与 25 性格修正表),并深度对齐中文社区外号与对战黑话(如
地龙 → 烈咬陆鲨、老班 → 班基拉斯、草钢 → 坚果哑铃、宇宙第一虎 → 炽焰咆哮虎、肥大 → 快龙、气腰 → 气势披带、命玉 → 生命宝珠、围巾 → 讲究围巾、岩钉 → 隐形岩、UT → 急速折返等)。 - **Lossless FP16 Lightweight Weights (~1.07 GB)**:适配 4GB 显存显卡(如 GTX 1650)及普通 CPU 部署。
📊 Benchmark (434 Unseen Chinese Slang & Effect Queries / 2,866-Doc Corpus)
| Metric | Base BAAI/bge-m3 |
Fine-Tuned pokemon-bge-m3 |
FP16 Release (1.07 GB) |
Gain |
|---|---|---|---|---|
| Recall@1 | 45.62% | 81.34% | 81.34% | +35.72% |
| Recall@3 | 68.43% | 95.62% | 95.62% | +27.19% |
| Recall@5 | 73.73% | 98.16% | 98.16% | +24.43% |
| Recall@10 | 80.88% | 99.77% | 99.77% | +18.89% |
| MRR@10 | 58.18% | 88.85% | 88.85% | +30.67% |
Real Chinese Slang Retrieval Comparison
- Query:
地龙的种族值、属性和隐藏特性是什么- Before: Missed completely (
地鼠 / 龙头地鼠 / 土龙弟弟) - After:
烈咬陆鲨 Garchomp (0.634)#1
- Before: Missed completely (
- Query:
草钢是什么属性,四倍弱什么- Before: Missed completely (
草之誓约 / 草之毛皮 / 草之宝石) - After:
坚果哑铃 Ferrothorn (0.626)#1 (2nd place:0.419)
- Before: Missed completely (
- Query:
宇宙第一虎咆哮虎是什么属性,为什么双打这么强- After:
炽焰咆哮虎 Incineroar (0.667)#1 (2nd place:0.310)
- After:
- Query:
岩钉入场扣血机制怎么算- After:
隐形岩 (0.590)#1 +Stealth Rock (0.466)#2 +撒菱 (0.427)#3
- After:
🚀 Quickstart
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("Absurbedpoetry/pokemon-bge-m3")
queries = ["地龙的种族值和隐藏特性是什么?", "满血被一击必杀能留1点血的道具叫什么?"]
embeddings = model.encode(queries, normalize_embeddings=True)
print(embeddings.shape) # (2, 1024)
🔗 Related Resources
- Dataset:
Absurbedpoetry/pokemon-bilingual-rag - Code & Pipeline: https://github.com/Absurberpoetry/pokemon-rag
⚖️ License (Non-Commercial Only / 禁止直接商用)
- Code & Fine-Tuned Weights: Licensed under PolyForm Noncommercial License 1.0.0 (
PolyForm-Noncommercial-1.0.0, see NOTICE). Direct commercial use, paid hosting/SaaS, or commercial resale without prior written permission is strictly prohibited. - Training Data Attribution: Plain-text data aggregated from 52Poké Wiki (
CC BY-NC-SA 3.0), Pokémon Showdown (MIT), and PokéAPI (BSD-3-Clause), distributed under CC BY-NC-SA 3.0. Zero official artwork, sprites, or audio included.
- Downloads last month
- 29
Model tree for Absurbedpoetry/pokemon-bge-m3
Base model
BAAI/bge-m3