Persian-Text-Embedding-Comparison-TFIDF-Word2Vec-Gemma

Linear Algebra project Comparison of TF-IDF, Word2Vec, and Gemma-2B embeddings for Persian text semantic similarity with SVD dimensionality reduction., implemented in Python

A new way for AI to search for data
View on GitHub
1GitHub stars
27commits on main
0forks

Python 100% · created 2026-06-30 · last push 2026-07-25

What XERJ indexed

Snapshot

5 files · 23.4 KB

The whole repository at commit eed4a45bcf. It is the newest commit on main.

Selected work

Arian
@ArianShayestehfard

Licence

The repository

NONE

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

NONE, with credit

The owner added it on hub.xerj.org after signing in with GitHub, on 2026-10-29. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

embeddingsgemma-2bpersian-languagepythonsvdtf-idfword2vec-embeddings

Example questions

The prompt

Paste it into your AI agent. It clones ArianShayestehfard/Persian-Text-Embedding-Comparison-TFIDF-Word2Vec-Gemma at the pinned commit and indexes it on your machine.

Search the GitHub repository ArianShayestehfard/Persian-Text-Embedding-Comparison-TFIDF-Word2Vec-Gemma with XERJ (https://hub.xerj.org/corpus/arianshayestehfard--persian-text-embedding-comparison-tfidf-word2vec-gemma).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/ArianShayestehfard/Persian-Text-Embedding-Comparison-TFIDF-Word2Vec-Gemma Persian-Text-Embedding-Comparison-TFIDF-Word2Vec-Gemma && git -C Persian-Text-Embedding-Comparison-TFIDF-Word2Vec-Gemma checkout eed4a45bcf0350e514164c209b9b2638599fc682
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./Persian-Text-Embedding-Comparison-TFIDF-Word2Vec-Gemma --url http://127.0.0.1:9200 --prefix persian-text-embedding-c --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: check the LICENSE file. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.