Text Classification
Transformers
Safetensors
Laya
PyTorch
English
afm-d
afm-de
decision
system-1
modernbert
rlcd
Instructions to use ariacompute/afm-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ariacompute/afm-de with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ariacompute/afm-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ariacompute/afm-de", device_map="auto") - Laya
How to use ariacompute/afm-de 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
Add encoder model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- afm-d
|
| 5 |
+
- decision
|
| 6 |
+
- system-1
|
| 7 |
+
pipeline_tag: text-classification
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# AFM-D Encoder (`afm_de`)
|
| 11 |
+
|
| 12 |
+
Laya-layout ModernBERT + MASK option head, RLCD fine-tune from [`convaiinnovations/laya`](https://huggingface.co/convaiinnovations/laya).
|
| 13 |
+
|
| 14 |
+
Checkpoint files: `model.safetensors`, `rl_agent_config.json`, `tokenizer/`, `encoder/`.
|
| 15 |
+
|
| 16 |
+
Load with AFM-D: `python -m afm_d.de.eval --checkpoint <this-repo> --device cuda`.
|
| 17 |
+
|
| 18 |
+
See [AFM-D](https://github.com/ariacompute) / product docs. License follows the base Laya / ModernBERT stack.
|