Text Classification
Transformers
GGUF
Laya
unknown
system-one
calibrated-decisions
rlcd
classification
routing
scoring
guardrails
moderation
reinforcement-learning
commercial-use
falconsai
model-surgeon
attested-lineage
Instructions to use Falconsai/laya-v796 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/laya-v796 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Falconsai/laya-v796")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Falconsai/laya-v796", device_map="auto") - Laya
How to use Falconsai/laya-v796 with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,8 +8,6 @@ base_model: convaiinnovations/laya
|
|
| 8 |
|
| 9 |
> Source model card: `Falconsai/laya-v795` @ `main`, carried verbatim below. Its licence is the repository's. The Model Surgeon record follows it.
|
| 10 |
|
| 11 |
-
> Source model card: `convaiinnovations/laya` @ `main`, carried verbatim below. Its licence is the repository's. The Model Surgeon record follows it.
|
| 12 |
-
|
| 13 |
# Laya
|
| 14 |
|
| 15 |
**Multilingual, non-autoregressive System 1 decision model.** Give it a **state** (text, email, ticket, or JSON) and **typed questions**; it returns typed answers with mathematically calibrated probabilities in a single forward pass (~33 ms) across 100+ languages. Trained with reinforcement learning against strictly proper scoring rules (**RLCD**), so reporting honest probabilities is the only way to maximise reward. It never generates text, so there is nothing to parse and nothing to hallucinate.
|
|
@@ -22,7 +20,7 @@ base_model: convaiinnovations/laya
|
|
| 22 |
|
| 23 |
| Checkpoint | Backbone Encoder | Params | Context | Best at |
|
| 24 |
|---|---|---|---|---|
|
| 25 |
-
| **`Falconsai/laya-
|
| 26 |
|
| 27 |
## What's new in laya 0.3.11
|
| 28 |
|
|
@@ -109,7 +107,7 @@ Every result carries full routing metadata explaining why the choice was made:
|
|
| 109 |
res_hi["routing"]
|
| 110 |
# {
|
| 111 |
# 'model': 'multilingual',
|
| 112 |
-
# 'repo': 'Falconsai/laya-
|
| 113 |
# 'reason': 'non-Latin script (devanagari, 100% of letters); the English checkpoint cannot read it'
|
| 114 |
# }
|
| 115 |
```
|
|
@@ -181,9 +179,9 @@ If you only need a single checkpoint for a dedicated pipeline:
|
|
| 181 |
import laya
|
| 182 |
|
| 183 |
# 1. Load from the repo root or subfolders (downloads only the requested weights)
|
| 184 |
-
agent = laya.load("Falconsai/laya-
|
| 185 |
-
agent_ml = laya.load("Falconsai/laya-
|
| 186 |
-
agent_td = laya.load("Falconsai/laya-
|
| 187 |
|
| 188 |
# 2. Run all questions in ONE single forward pass (~35 ms on GPU)
|
| 189 |
result = agent.predict(state, questions)
|
|
@@ -327,7 +325,7 @@ Apache 2.0 · Convai Innovations
|
|
| 327 |
|
| 328 |
---
|
| 329 |
|
| 330 |
-
# Model Card — Falconsai/laya-
|
| 331 |
|
| 332 |
**[View in Model Surgeon](https://surgeon.falcons.ai/?hub=Falconsai/laya-v796)**
|
| 333 |
|
|
@@ -340,7 +338,7 @@ the Surgeon's public verifier or with the bundled `verify_attestation.py`).
|
|
| 340 |
- Source format: `safetensors` · Intended task: not declared
|
| 341 |
- `config.json`: synthesized from the anatomy (no source config.json)
|
| 342 |
- Source license: apache-2.0
|
| 343 |
-
- Lineage chain: 1 surgery (no prior attestation reachable) · Falconsai/laya-
|
| 344 |
- Post-surgery totals: 421,293,830 parameters ·
|
| 345 |
206 tensors
|
| 346 |
- Compute estimate: 46.507164 GFLOPs (comparison
|
|
@@ -353,7 +351,7 @@ the Surgeon's public verifier or with the bundled `verify_attestation.py`).
|
|
| 353 |
- Quantized tensors (F32→F16): 0
|
| 354 |
|
| 355 |
## Surgery Log (ordered)
|
| 356 |
-
1. **load** — hub:Falconsai/laya-
|
| 357 |
|
| 358 |
## Validation
|
| 359 |
- Tissue imaging: not run
|
|
@@ -372,9 +370,9 @@ This is evidence, not legal advice.
|
|
| 372 |
|
| 373 |
---
|
| 374 |
|
| 375 |
-
# Model Card — Falconsai/laya-
|
| 376 |
|
| 377 |
-
**[View in Model Surgeon](https://surgeon.falcons.ai/?hub=Falconsai/laya-
|
| 378 |
|
| 379 |
This card is generated from the surgical record itself; the package's
|
| 380 |
`lineage.intoto.jsonl` is the signed source of truth (verify it free at
|
|
@@ -385,20 +383,20 @@ the Surgeon's public verifier or with the bundled `verify_attestation.py`).
|
|
| 385 |
- Source format: `safetensors` · Intended task: not declared
|
| 386 |
- `config.json`: the repo's config.json, edited
|
| 387 |
- Source license: apache-2.0
|
| 388 |
-
- Lineage chain: 2 surgeries — prior signed by `ed25519:b2eeebe30a12` (FALCONS.AI Model Surgeon V7.95; 1 earlier operation(s) carried) · Falconsai/laya-
|
| 389 |
- Post-surgery totals: 421,293,938 parameters ·
|
| 390 |
207 tensors
|
| 391 |
- Compute estimate: 46.507164 GFLOPs (comparison
|
| 392 |
metric, not a measurement)
|
| 393 |
|
| 394 |
## Provenance & operations
|
| 395 |
-
- Parents: Falconsai/laya-
|
| 396 |
- Operations performed: load×1
|
| 397 |
- Weight merges recorded: 0
|
| 398 |
- Quantized tensors (F32→F16): 0
|
| 399 |
|
| 400 |
## Surgery Log (ordered)
|
| 401 |
-
1. **load** — hub:Falconsai/laya-
|
| 402 |
|
| 403 |
## Validation
|
| 404 |
- Tissue imaging: not run
|
|
|
|
| 8 |
|
| 9 |
> Source model card: `Falconsai/laya-v795` @ `main`, carried verbatim below. Its licence is the repository's. The Model Surgeon record follows it.
|
| 10 |
|
|
|
|
|
|
|
| 11 |
# Laya
|
| 12 |
|
| 13 |
**Multilingual, non-autoregressive System 1 decision model.** Give it a **state** (text, email, ticket, or JSON) and **typed questions**; it returns typed answers with mathematically calibrated probabilities in a single forward pass (~33 ms) across 100+ languages. Trained with reinforcement learning against strictly proper scoring rules (**RLCD**), so reporting honest probabilities is the only way to maximise reward. It never generates text, so there is nothing to parse and nothing to hallucinate.
|
|
|
|
| 20 |
|
| 21 |
| Checkpoint | Backbone Encoder | Params | Context | Best at |
|
| 22 |
|---|---|---|---|---|
|
| 23 |
+
| **`Falconsai/laya-v796`** (this repo root) | ModernBERT-large | 421M | 512 | English text, guardrails, email triage |
|
| 24 |
|
| 25 |
## What's new in laya 0.3.11
|
| 26 |
|
|
|
|
| 107 |
res_hi["routing"]
|
| 108 |
# {
|
| 109 |
# 'model': 'multilingual',
|
| 110 |
+
# 'repo': 'Falconsai/laya-v796/multilingual',
|
| 111 |
# 'reason': 'non-Latin script (devanagari, 100% of letters); the English checkpoint cannot read it'
|
| 112 |
# }
|
| 113 |
```
|
|
|
|
| 179 |
import laya
|
| 180 |
|
| 181 |
# 1. Load from the repo root or subfolders (downloads only the requested weights)
|
| 182 |
+
agent = laya.load("Falconsai/laya-v796") # English root (~808 MB)
|
| 183 |
+
agent_ml = laya.load("Falconsai/laya-v796", subfolder="multilingual") # 100+ languages (~647 MB)
|
| 184 |
+
agent_td = laya.load("Falconsai/laya-v796", subfolder="typed-decisions")
|
| 185 |
|
| 186 |
# 2. Run all questions in ONE single forward pass (~35 ms on GPU)
|
| 187 |
result = agent.predict(state, questions)
|
|
|
|
| 325 |
|
| 326 |
---
|
| 327 |
|
| 328 |
+
# Model Card — Falconsai/laya-v796/
|
| 329 |
|
| 330 |
**[View in Model Surgeon](https://surgeon.falcons.ai/?hub=Falconsai/laya-v796)**
|
| 331 |
|
|
|
|
| 338 |
- Source format: `safetensors` · Intended task: not declared
|
| 339 |
- `config.json`: synthesized from the anatomy (no source config.json)
|
| 340 |
- Source license: apache-2.0
|
| 341 |
+
- Lineage chain: 1 surgery (no prior attestation reachable) · Falconsai/laya-v796
|
| 342 |
- Post-surgery totals: 421,293,830 parameters ·
|
| 343 |
206 tensors
|
| 344 |
- Compute estimate: 46.507164 GFLOPs (comparison
|
|
|
|
| 351 |
- Quantized tensors (F32→F16): 0
|
| 352 |
|
| 353 |
## Surgery Log (ordered)
|
| 354 |
+
1. **load** — hub:Falconsai/laya-v796/model.safetensors (842.6 MB, safetensors)
|
| 355 |
|
| 356 |
## Validation
|
| 357 |
- Tissue imaging: not run
|
|
|
|
| 370 |
|
| 371 |
---
|
| 372 |
|
| 373 |
+
# Model Card — Falconsai/laya-v796/
|
| 374 |
|
| 375 |
+
**[View in Model Surgeon](https://surgeon.falcons.ai/?hub=Falconsai/laya-v796)**
|
| 376 |
|
| 377 |
This card is generated from the surgical record itself; the package's
|
| 378 |
`lineage.intoto.jsonl` is the signed source of truth (verify it free at
|
|
|
|
| 383 |
- Source format: `safetensors` · Intended task: not declared
|
| 384 |
- `config.json`: the repo's config.json, edited
|
| 385 |
- Source license: apache-2.0
|
| 386 |
+
- Lineage chain: 2 surgeries — prior signed by `ed25519:b2eeebe30a12` (FALCONS.AI Model Surgeon V7.95; 1 earlier operation(s) carried) · Falconsai/laya-v796
|
| 387 |
- Post-surgery totals: 421,293,938 parameters ·
|
| 388 |
207 tensors
|
| 389 |
- Compute estimate: 46.507164 GFLOPs (comparison
|
| 390 |
metric, not a measurement)
|
| 391 |
|
| 392 |
## Provenance & operations
|
| 393 |
+
- Parents: Falconsai/laya-v796/model_edited.safetensors
|
| 394 |
- Operations performed: load×1
|
| 395 |
- Weight merges recorded: 0
|
| 396 |
- Quantized tensors (F32→F16): 0
|
| 397 |
|
| 398 |
## Surgery Log (ordered)
|
| 399 |
+
1. **load** — hub:Falconsai/laya-v796/model_edited.safetensors (842.6 MB, safetensors)
|
| 400 |
|
| 401 |
## Validation
|
| 402 |
- Tissue imaging: not run
|