Question Answering
sentence-transformers
Safetensors
GGUF
English
retrieval
cross-encoder
verification
citations
edge
cpu
offline
Eval Results (legacy)
Instructions to use RysoAI/tinyqa-1-moss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use RysoAI/tinyqa-1-moss with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("RysoAI/tinyqa-1-moss") query = "Which planet is known as the Red Planet?" passages = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", "Saturn, famous for its rings, is sometimes mistaken for the Red Planet." ] scores = model.predict([(query, passage) for passage in passages]) print(scores) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RysoAI/tinyqa-1-moss with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf RysoAI/tinyqa-1-moss:Q8_0 # Run inference directly in the terminal: llama cli -hf RysoAI/tinyqa-1-moss:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RysoAI/tinyqa-1-moss:Q8_0 # Run inference directly in the terminal: llama cli -hf RysoAI/tinyqa-1-moss:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf RysoAI/tinyqa-1-moss:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf RysoAI/tinyqa-1-moss:Q8_0
Use Docker
docker model run hf.co/RysoAI/tinyqa-1-moss:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use RysoAI/tinyqa-1-moss with Ollama:
ollama run hf.co/RysoAI/tinyqa-1-moss:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use RysoAI/tinyqa-1-moss with Docker Model Runner:
docker model run hf.co/RysoAI/tinyqa-1-moss:Q8_0
- Lemonade
How to use RysoAI/tinyqa-1-moss with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RysoAI/tinyqa-1-moss:Q8_0
Run and chat with the model
lemonade run user.tinyqa-1-moss-Q8_0
List all available models
lemonade list
- Atomic Chat
Do not block any websites outside the benchmark runs
Browse files- README.md +1 -1
- SHA256SUMS +2 -2
- moss.sh +1 -0
README.md
CHANGED
|
@@ -120,7 +120,7 @@ scratch on public educational web text and then fine-tuned. Training data was dr
|
|
| 120 |
synthetically generated, then filtered and deduplicated.
|
| 121 |
|
| 122 |
No benchmark questions were used in training. The verifier's training questions also exclude every subject that appears
|
| 123 |
-
in the benchmarks, and websites that host the benchmarks are excluded as sources
|
| 124 |
|
| 125 |
## 5. Evaluations
|
| 126 |
|
|
|
|
| 120 |
synthetically generated, then filtered and deduplicated.
|
| 121 |
|
| 122 |
No benchmark questions were used in training. The verifier's training questions also exclude every subject that appears
|
| 123 |
+
in the benchmarks, and websites that host the benchmarks are excluded as sources in the benchmark runs.
|
| 124 |
|
| 125 |
## 5. Evaluations
|
| 126 |
|
SHA256SUMS
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 ./LICENSE
|
| 2 |
d1f106ed157597e0420995633b499c9c60211a3769491cff3a7802c8b9b8e036 ./NOTICE.md
|
| 3 |
-
|
| 4 |
24803f77e64d9450d9fb9908e93b729a4e0b3846271c7b3b0a003eb14ad20663 ./code/gse_mini/__init__.py
|
| 5 |
fa7fd1f30076205c9ed9d6cc959a6e0b661d1bd8f8f85876663d027fa78cb6c5 ./code/gse_mini/answer.py
|
| 6 |
3acb6af87f7357c6d606cbcefeca6d84f125270e274aa994ccbb22eeaee2342f ./code/gse_mini/dense.py
|
|
@@ -38,7 +38,7 @@ e4288df3d671124dd6d41ee93e147b4fb268cdd2b72df1a6e369239488edd2ec ./models/gse-v
|
|
| 38 |
7b082b48a08a0b5c5939d99472e33addce3d96202155e33f7928cecd171186a0 ./models/gse-verifier-v4-33m/tokenizer_config.json
|
| 39 |
060042f8f498f6039fc05a5771607a91d9d959dc7874f1a37cec806fb4ea21be ./models/gse-verifier-v4-33m/verifier_meta.json
|
| 40 |
07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3 ./models/gse-verifier-v4-33m/vocab.txt
|
| 41 |
-
|
| 42 |
d02efcc9918800b351ab5a719ebe0d045688c24e5ffa2ff2731c8ce8f1ab63ce ./requirements.txt
|
| 43 |
16095ae79e1a75787c2e673a9c4f39a76a77aba0eb7af9faad3252a7aefb8f8f ./results/freshqa_600_serper_summary.json
|
| 44 |
74a4fefd1e361e24f32c84e1f47e9ba429b18248b42402fa39e6f16647655ba7 ./results/popqa_1000_serper_summary.json
|
|
|
|
| 1 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 ./LICENSE
|
| 2 |
d1f106ed157597e0420995633b499c9c60211a3769491cff3a7802c8b9b8e036 ./NOTICE.md
|
| 3 |
+
10952257d29078b82f64ea50a971207459d647d4c586e75fb5fabd93a14e6ff3 ./README.md
|
| 4 |
24803f77e64d9450d9fb9908e93b729a4e0b3846271c7b3b0a003eb14ad20663 ./code/gse_mini/__init__.py
|
| 5 |
fa7fd1f30076205c9ed9d6cc959a6e0b661d1bd8f8f85876663d027fa78cb6c5 ./code/gse_mini/answer.py
|
| 6 |
3acb6af87f7357c6d606cbcefeca6d84f125270e274aa994ccbb22eeaee2342f ./code/gse_mini/dense.py
|
|
|
|
| 38 |
7b082b48a08a0b5c5939d99472e33addce3d96202155e33f7928cecd171186a0 ./models/gse-verifier-v4-33m/tokenizer_config.json
|
| 39 |
060042f8f498f6039fc05a5771607a91d9d959dc7874f1a37cec806fb4ea21be ./models/gse-verifier-v4-33m/verifier_meta.json
|
| 40 |
07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3 ./models/gse-verifier-v4-33m/vocab.txt
|
| 41 |
+
eba0eff6c79652da6623e50c7422b6f05b4d73e58b4d561ae1787936d8fec5e7 ./moss.sh
|
| 42 |
d02efcc9918800b351ab5a719ebe0d045688c24e5ffa2ff2731c8ce8f1ab63ce ./requirements.txt
|
| 43 |
16095ae79e1a75787c2e673a9c4f39a76a77aba0eb7af9faad3252a7aefb8f8f ./results/freshqa_600_serper_summary.json
|
| 44 |
74a4fefd1e361e24f32c84e1f47e9ba429b18248b42402fa39e6f16647655ba7 ./results/popqa_1000_serper_summary.json
|
moss.sh
CHANGED
|
@@ -24,6 +24,7 @@ case "${1:-start}" in
|
|
| 24 |
[ -f "$ROOT/.env" ] && set -a && . "$ROOT/.env" && set +a
|
| 25 |
export GSE_BACKUP="$ROOT" GSE_VERIFIER="$ROOT/models/gse-verifier-v4-33m" GSE_RANKER="$ROOT/models/gse-ranker" GSE_TAU_V=1.5
|
| 26 |
export GSE_SOURCE_PENALTY=1 GSE_QUOTABLE=1 GSE_SEARCH=ddgs
|
|
|
|
| 27 |
# retries for uncertified answers go to Google; DuckDuckGo retries take 10-40 s, so without a Serper key they stay off
|
| 28 |
if [ -n "${SERPER_API_KEY:-}" ]; then export GSE_FALLBACK=1 GSE_PLANNER_RETRY=1 GSE_SIEVE_RETRY=1; else export GSE_FALLBACK=0 GSE_PLANNER_RETRY=0 GSE_SIEVE_RETRY=0; fi
|
| 29 |
if command -v llama-server >/dev/null; then
|
|
|
|
| 24 |
[ -f "$ROOT/.env" ] && set -a && . "$ROOT/.env" && set +a
|
| 25 |
export GSE_BACKUP="$ROOT" GSE_VERIFIER="$ROOT/models/gse-verifier-v4-33m" GSE_RANKER="$ROOT/models/gse-ranker" GSE_TAU_V=1.5
|
| 26 |
export GSE_SOURCE_PENALTY=1 GSE_QUOTABLE=1 GSE_SEARCH=ddgs
|
| 27 |
+
export GSE_BLOCK_DOMAINS="${GSE_BLOCK_DOMAINS:-}" # no sites blocked; the benchmark scripts keep their own list of benchmark-hosting sites
|
| 28 |
# retries for uncertified answers go to Google; DuckDuckGo retries take 10-40 s, so without a Serper key they stay off
|
| 29 |
if [ -n "${SERPER_API_KEY:-}" ]; then export GSE_FALLBACK=1 GSE_PLANNER_RETRY=1 GSE_SIEVE_RETRY=1; else export GSE_FALLBACK=0 GSE_PLANNER_RETRY=0 GSE_SIEVE_RETRY=0; fi
|
| 30 |
if command -v llama-server >/dev/null; then
|